Emacs Tuesday again, for . This time, let's do something fun. List 3 emacs mode. It can be major mode, minor mode, can be builtin or 3rd party. You can select your favorite, or ones you can't live without, or most appreciated mode, or something you feel should be more widely known, however you want to chose. But 3 only. ☺
You can call describe-mode to see a list of currently active modes. Also goto 〔~/.emacs.d/elpa〕 to see what modes you have installed via packages. And don't forget the many builtin language modes.
A new version of emacs/elisp tutorial is available. Do you enjoy my tutorial? Buy for $5. At: Buy Xah Emacs Tutorial. Thank you. If you've bought it before, please do email to email@example.com with subject “emacs tutorial upgrade”.
Tuesday again. Ask Emacs Tuesday! Ask any emacs question, and i'll try my best to find the answer for you.
Here's the type of questions i'm best at answering: anything involving emacs usage, tricks, or how emacs lisp works. How to use emacs help, keys, commands, buffers. I've used emacs for over a decade, read most of the emacs and elisp manual. So, if you haven't used emacs for long, these questions i can easily help 70% off the bat!
am also able to answer questions about common practice, such as whether something you need is or isn't done in emacs, workarounds. Or i can redirect you to proper online resources or people for questions i can't answer.
Question that i may not answer well are specialized modes that's not part of emacs, or some symptoms on your machine.
also love to discuss emacs history, convention, culture, and my particular take on some issues (sometimes it's controversy!).
if you are experienced, i'd very much appreciate your help in answering, recommendations, tips, or see your emacs init files! Richard Stallman would be fond of us sharing emacs init files.
Questions can be posted to g+, facebook, twitter, sina weibo. See links here: Ask Emacs Tuesday. Past questions also archived there.
;; This package exports the follow functions:
;; xah-find-text → grep
;; xah-find-text-regex → regex grep
;; xah-find-count → grep count
;; xah-find-replace-text → sed
;; xah-find-replace-text-regex → sed
The advantages are: ① written in elisp (no need to install unix utils if on Windows) ② uses emacs regex. ② find string can span multiple lines. ③ separate commands for regex and literal text, and find report (like grep) ④ nice output report on changed text.
I wrote it and have been using it daily for about half a year. It works fine, but isn't polished. ⁖ the documentation isn't very good. Your comment welcome.
If you are on Linux, then this will probably not be useful to you, because emacs integration with Linux is very good, and there's lots built-in emacs commands that call Linux grep and friends.