Maybe The Four Most Important Key-Bindings For High-Speed Org-Mode Literate Programming

Ever watched an Org-Mode Literate Programming program at all? How about progam quickly? I have. I mean I have done both, myself. Can you believe that you can navigate the document, all of its source blocks and fly between editing the source buffer and returning to the host buffer just as fast as a working within a normal code file? You should. Some day I’ll make a screencast proving it. Until then try out these bindings and you will see how quickly you can do Literate Programming fast while having fun:

(define-key org-mode-map (kbd "s-j") #'org-babel-next-src-block)
(define-key org-mode-map (kbd "s-k") #'org-babel-previous-src-block)
(define-key org-mode-map (kbd "s-l") #'org-edit-src-code)
(define-key org-src-mode-map (kbd "s-l") #'org-edit-src-exit)

Auto-Loading Org2Blog Mode

Org2Blog enables you to blog from an Org-Mode document straight into a WordPress post or page. My blog has an individual file for every post or page for example. You can also keep them all in a single file if you like. Everybody uses Org2Blog differently.

Some people like to use org2blog/wp-mode when they are working on their posts. The trouble is that they have got to start the mode manually every time. That is because Org2Blog files are plain old Org-Mode files. So there is no obvious way to automatically enable org2blog/wp-mode. There are a lot of ideas on how to automatically enable it and this is the one that got implemented. Here is how it works:

  • Add org2blog/wp-org-mode-hook-fn to org-mode-hook
  • So that org2blog/wp-mode is automatically enabled when #+ORG2BLOG: is present
  • Add code like this somewhere after you load Org-Mode and org2blog

    (add-hook 'org-mode-hook #'org2blog/wp-org-mode-hook-fn)
    
  • Add #+ORG2BLOG: to your file
    • When you create a new entry it is automatically created

For Sale: 2005 Kawasaki ZG1000-A20 Concours 11,992m Whitefish Bay, WI – PREFARKLED

Get an amazing deal here on an amazing 2005 Kawasaki ZG1000-A20 Concours 11,992m Whitefish Bay, WI – PREFARKLED you will be truly amazed have a look:





What I want to sell this bike for is one billion US dollars. Anyone who tells you they want less for their bike probably doesn’t think very much of it. Well, I do.

She is in near perfect condition with barely any miles. Please know that to get a garage queen like this with virtually every farkle in existence is a pretty sweet if that is what you are looking for. And if you are reading this then you are interested. That said one billion US dollars doesn’t really reflect the market demand hahaha! (if you can’t laugh then you need to ride more)

The market demands a more realistic price so I am listing it for $3467 and that price is open to negotiation. Rest assured that I live here and love Milwaukee,WI and that I want to see you out riding safe and having fun with this bike NOW (after you pick it up here). Summer has just begun so it is time for you to be out riding NOW!

Depending on where your read this please contact me by whatever is easiest for you for example Facebook, Twitter, Google Plus, LinkedIn, Craiglist or plain old email (gcr@wisdomandwonder.com).

P.S.:

Here is a pre-thank you for everyone who shares their opinion on this bike and it’s listing price. I will take it all under immediate consideration.

Emacs' Buffer: The Ultimate Idea

Do you ever struggle to explain Emacs’ astounding power to other non-Emacsers?

Usually I do, but in this post is the first time that I ever felt that I did it some justice. But that is just a feeling and I want to know your take on it.

It is raw and unrefined, but, if you can read it just from one Emacser to another Emacser then want to hear your take on it, too. Your time is precious and this is something near and dear to my heart so I appreciate you spending your time to share your feedback and ideas.

Here is my response to the question What are the pros and cons of Emacs’ everything is a buffer approach and how does Atom compare in this regard?

Continue reading “Emacs' Buffer: The Ultimate Idea”

Keybinding To The Same Letter Both Lowercase And Uppercase

This post explains how to keybind to the same letter both lowercase and uppercase by using vector format. Key detail:

You must use the same syntax for both keybindings!

This always works correctly.

(global-set-key [(control meta ?p)] #'help/insert-datestamp)
(global-set-key [(control meta shift ?p)] #'help/insert-timestamp*-no-colons)

This only sometimes works correctly which is the worst kind of working: don’t do it!

(global-set-key (kbd "C-M-p") #'help/insert-datestamp)
(global-set-key [(control meta shift ?p)] #'help/insert-timestamp*-no-colons)