Each time you mark with C-<SPC>, Emacs saves the mark in the mark ring. You can step back through your mark ring with C-u C-<SPC>. You can swap point and mark with C-x C-x.
Emacs-lisp mode indents comments based on the number of semi-colons prefixing them. One semi-colon indents to column 40. Two semi-colons indent to the same level as the block you are in. Three semi-colons indent to wherever you place it and don’t move if you press <TAB> ;;; column: ;;;34567890123456789012345678901234567890123456789 ; one semi-colon (when (some case)… Continue reading Indenting of comments in emacs-lisp mode
It came upon me to re-read the emacs tutorial. Last time I read it was probably about 17 years ago. Things might have changed since then. I picked up two things: C-/ is undo and is equivalent to C-_ C-h c gives you brief help on a keyboard shortcut. I was using C-h k but… Continue reading Re-reading the emacs tutorial
<TAB> to swap the contents of the last two registers in calc.
If you haven’t explored the power of keyboard macros in emacs, you should. You only need to remember a few keys to get going: <F3> Start recording a macro <F4> End recording a macro C-x e to repeat the macro Give it a go!
Sune Vuorela wrote a post asking people to make sure their private hacks become public. That inspired me to publish Expadirk. Expadirk is my solution to my accounting software provider requiring me to purchase yet more proprietary software in order to send statements, purchase orders and invoices by email. The accounting package has a way of outputting print… Continue reading Expadirk: a hack to split PDFs and email based on instructions within