Keyboard macros in Emacs are ephemeral, but if you use them often, it makes sense to collect them. Here’s how.
Continue reading “Emacs: Collect keyboard macros”Emacs Hemingway mode
Well, there is no Hemingway mode. That is, there is no way to write like a novelist on a typewriter. On a typewriter the current line is always at the same place.
Continue reading “Emacs Hemingway mode”Emacs: A bufferp exercise
Inside Emacs at (info "(eintr)Buffer Exercises")
there is the following exercise:
Unwanted numbering of headings, Unwanted TOC, and Wanton Listifying when exporting Emacs Org with Pandoc
Pandoc handles most text format conversions effortlessly, but there are some major glitches when the source is Emacs Org.
Continue reading “Unwanted numbering of headings, Unwanted TOC, and Wanton Listifying when exporting Emacs Org with Pandoc”Emacs: A better version to automatically rename buffer with region plus asterisks
The previous post shows the following command to automatically take the selected region, add asterisks around it and rename the buffer accordingly:
Continue reading “Emacs: A better version to automatically rename buffer with region plus asterisks”Emacs: Automatically rename buffer with region
For some workflows that include keeping an eye on many open buffers, it is sometimes useful to rename buffers. This is where inbuilt function rename-buffer
comes in, by default bound to C-x x r.
Continue reading “Emacs: Automatically rename buffer with region”
Emacs: Open a Bookmarked File and Save to a Bookmarked File
In Emacs, it is possible to bookmark a file at a certain location, or bookmark locations in any other Emacs’ buffers, such as in dired (Emacs’ file manager). Bookmarking is a quick way of finding and opening files that you need often.
Continue reading “Emacs: Open a Bookmarked File and Save to a Bookmarked File”
Select a line in Emacs
Emacs has out of the box selection for word, sentence, paragraph, and whole buffer, but apparently not for line. Let’s fix this.
Continue reading “Select a line in Emacs”Emacs as Word Processor: Org mode
Org mode is a markup language built with minimal resources around plain text, so it is as easy to adopt as markdown. In fact, Org mode is even easier because it does not have different implementations (flavours) that require a specific text editor where that particular flavour is fully implemented, as is the case with markdown. There is just one full-featured Org mode fully implemented in its single editor – Emacs.
Continue reading “Emacs as Word Processor: Org mode”Emacs as Word Processor: Selection
Before copying or cutting, the normal thing to do is to select a region for it. Here are some of the relevant commands and configuration options.
Continue reading “Emacs as Word Processor: Selection”