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.
Tag: Emacs
GNU Hackers' Meeting 2016 in Brittany, France
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.
(Screencast) The Best Emacs Modifier Key Setup for OS X
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))))
(Screencast) Three Ways to Quote in your Notes with Org-Mode
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.
Emacs Keyboard Design 37: Possible
- Small changes to a 104 key ANSI skyrocket the price
- Stay close to the standard to make it affordable
If You Like LISP Then You'll Love APL
Notes on Transcription of a talk given by Professor Perlis at the APL’78 Conference held at Foothill College, Los Altos, CA. on 1978-03-29 revealed these gems:
- Contains all of the best attributes of written language
- Contains all of the best attributes of LISP… just more so
- Is a lyrical language
Notes follow…
Emacs Keyboard Design 36: Mainstream 90 Key Emacs Keyboard Layout
- Start with layout 35
- There are only 10 layers total
- Use Fn as a one-shot
- Perfect for F keys
- Use Layer as a toggle
- Choose layer with number keys
- Double-tap to return to base layer
- Remove layer row
90
key layout
Continue reading “Emacs Keyboard Design 36: Mainstream 90 Key Emacs Keyboard Layout”
Emacs Keyboard Design 35: Mainstream 96 Key Emacs Keyboard Layout
- Going too far from the mainstream pushes the cost up too high
- Let key do things that Emacs knows how to do well to leverage keyboard firmware
Continue reading “Emacs Keyboard Design 35: Mainstream 96 Key Emacs Keyboard Layout”
Emacs Keyboard Design 34: Grid Layout Revisited
The latest iteration places space and return well and the modifiers are all present and easily reached. How would it look in a grid layout?
Continue reading “Emacs Keyboard Design 34: Grid Layout Revisited”
Emacs Keyboard Design 33: What If Emacs Pinky Isn't Real
Emacs Pinky might be real.
What does a good Emacs keyboard look like if it isn’t, though?
Continue reading “Emacs Keyboard Design 33: What If Emacs Pinky Isn't Real”