Export Literate Org-Mode Documents to Other R-Project Formats

After switching between Emacs/Org-Mode and RStudio one hundred times you start to wonder if you ought to export your Literate Org-Mode documents to RMarkdown and try it out for a while. ox-ravel lets you export Literate Org-Mode documents to RMarkdown, and more.

@dyalogapl Now Free for Non-Commercial Use

The announcement is here.

  • Great way to start the summer
    • Better for developers, too :)
  • Free for non-commercial use
    • Paid for it before as it was worth it
    • Hope better pricing attracts more users
  • Performance speedups
    • Hashed array type speeds things up
  • More cross-platform tools including functions and IDE
    • RIDE will go open-source
    • More/easier Emacs integration?
  • Workspace can reference Unicode files
    • Changes are stored back in the file

GNU APL mode for Emacs

APL might pique your interest, but not enough for you take final step forward to start hacking with it. GNU APL is there, waiting for you. Still not enough?

Set up GNU APL mode for Emacs using use-package

(use-package gnu-apl-mode
  :ensure t)

or download it, extract it, and load it with a

(add-to-list 'load-path "~/path-to/gnu-apl-mode")
(require 'gnu-apl-mode)

Do you have any more reasons not to start hacking with GNU APL and Emacs?!

Never having studied a package like this before, it is educational. It is also revealing how much love and labor went into this delightful package.

Thanks you Elias MÃ¥rtenson; hear, hear!

Prettifying Org-Mode Code Blocks for Presentations

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.

(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: <2016-06-08 Wed 08:22>

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))))