Here is how I learned to move functionality from my .emacs.el into a minor-mode.
Here is how I learned to move functionality from my .emacs.el into a minor-mode.
Project. Demo and Demo Source Code.
Hear, hear! Org-Mode 8.3.5 Is Released!
Easily compose music and visual art with Emacs via ReneFroger.
Org-Mode code blocks are verbose and lovable for literate programming. Rasmus wants to use the raw literate document for a presentation though, so that verbosity won’t do. He explains here how to prettify code blocks. The value-add here is that he doesn’t have to weave (export) the document for it to look great in the presentation; it already does directly in the Emacs buffer.
Via here:
The ninth GNU Hackers’ Meeting will take place in Rennes (Brittany, France) from August 18-20
Talk about fine taste!
Sounds like a delightful trip.
Here is an easy way to use both Emacs and OS X modifier keys when you are inside Emacs:
Toggle the right-option and function key to switch between using them inside Emacs and using them for OS X.
Addendum:
I used Karabiner to make ENTER
send LEFT CONTROL
when chorded. I used OS X to make CAPS LOCK
be CONTROL
. I didn’t change OPTION
and COMMAND
. I made this change because Emacs couldn’t ignore the key-event when it was coming from Karabiner.
Here is the code:
(help/on-osx (setq mac-control-modifier 'control) (setq mac-right-control-modifier 'left) (setq mac-command-modifier 'meta) (setq mac-right-command-modifier 'left) (setq mac-option-modifier 'super) (setq mac-right-option-modifier 'left) (setq mac-function-modifier 'hyper) (defun help/toggle-mac-right-option-modifier () "Toggle between passing option modifier either to Emacs or OS X." (interactive) (let ((old-ropt mac-right-option-modifier)) (setq mac-right-option-modifier (if (eq mac-right-option-modifier 'left) 'none 'left)) (message "Toggled `mac-right-option-modifier' from %s to %s." old-ropt mac-right-option-modifier))) (defun help/toggle-mac-function-modifier () "Toggle between passing function modifier either to Emacs or OS X." (interactive) (let ((old-func mac-function-modifier)) (setq mac-function-modifier (if (eq mac-function-modifier 'hyper) 'none 'hyper)) (message "Toggled `mac-function-modifier' from %s to %s." old-func mac-function-modifier))))
Here are three ways that I might want to quote content in my personal notes with Org-Mode:
My friends really might want to know how.
auto-fill-mode
is named by auto-fill-function
via magnars.
Diminish auto-fill-function
instead.
Enable speed keys if you haven’t already; they provide single-key headline navigation in exactly the ways that you would expect. For example, n
and p
take you to the next and previous headline.