Today on my box I upgraded ImageMagick and now I can’t compile Org-Mode but I can run Emacs. Here is what I did to make Org-Mode build again on my box.
Author: grant
How Come I Don't Pray Before Every Bite?
Today I prepare a snack: biscuits with strawberry jam and whipped. They were great however they don’t go with chai. Before I ate I didn’t say a prayer. After I ate I wondered “Why don’t I say a prayer before every snack, too? They are all pretty special. Life is special it is amazing and astounding.” Well, thank goodness for the food that helps make it either heaven or hell.
Inviting Non Programmers To Emacs: (A) Super Text Editor
When my friends look at my computer screen I want to invite them to use Emacs. But the name “Emacs”, like Honda or Maserati tells them nothing. Honda and Maserati have advertising everywhere though! So I set a frame title that tells them something about this program! Well, they probably have to like text editors already. And if they do, then they might be interested in a Super text editor.
BTW: I am totally serious about this. I want to invite my friends to use this. Programmers or not, Emacs is still Free Software and that matters for everyone. And I find Emacs to be super. It is super. You and I know that it’s power comes from Lisp and buffers but “Super Text Editor” also works for me.
(setq frame-title-format '("" "%b - Super Text Editor "))
Two Ways To Share Static Key Pair Values Across Different Tangled Source Files With Org-Mode Literate Programming
This post asks about how you can share static key pair values across different tangled source files. The following are my two tries.
The Narmada River: From East To West
Via Wikipedia:
The Narmada, also called the Rewa, is a river in central India and the fifth longest river in the Indian subcontinent. It is the third longest river that flows entirely within India, after the Godavari, and the Krishna. It is also known as “Life Line of Madhya Pradesh” for its huge contribution to the state of Madhya Pradesh in many ways. It forms the traditional boundary between North India and South India and flows westwards over a length of 1,312 km (815.2 mi) before draining through the Gulf of Khambhat into the Arabian Sea, 30 km (18.6 mi) west of Bharuch city of Gujarat.[3]
It is one of only three major rivers in peninsular India that run from east to west (longest west flowing river), along with the Tapti River and the Mahi River. It is one of the rivers in India that flows in a rift valley, flowing west between the Satpura and Vindhya ranges.
Hatha Yoga Is Easier With Long Pants
Today it dawned on me that Hatha yoga is easier with long pants.
Thank you for letting me join all of you who knew this already.
Your Starting Point? There Is Nothing Wrong With You
Your starting point? There is nothing wrong with you.
Breathing And Relaxation Pro Tip: Wake Up Early
If you want to do your breathing and relaxation practices when it is quiet, then wake up early before other people start their day.
Remove Every Source Block Results
Sometimes you accidentally evaluate your entire Org-Mode document resulting in result blocks everywhere. Maybe you can’t easily revert the change so you are stuck with a ton of code you don’t need. Here is a function to remove all of your result blocks. It is pretty good for documents that you probably never wanted to evaluate in the first place:
(defconst help/org-special-pre "^\s*#[+]") (defun help/org-2every-src-block (fn) "Visit every Source-Block and evaluate `FN'." (interactive) (save-excursion (goto-char (point-min)) (let ((case-fold-search t)) (while (re-search-forward (concat help/org-special-pre "BEGIN_SRC") nil t) (let ((element (org-element-at-point))) (when (eq (org-element-type element) 'src-block) (funcall fn element))))) (save-buffer))) (define-key org-mode-map (kbd "s-]") (lambda () (interactive) (help/org-2every-src-block 'org-babel-remove-result)))
(Screencast) Building A Little UI To Manage Buffers
(use-package eyebrowse :ensure t :config (setq eyebrowse-wrap-around t) (eyebrowse-mode t) (defhydra help/hydra-left-side/eyebrowse (:color blue :hint nil) " current eyebrowse slot: %(eyebrowse--get 'current-slot) _j_ previous _k_ last _l_ next _u_ close _i_ choose _o_ rename _q_ quit _a_ 00 _s_ 01 _d_ 02 _f_ 03 _g_ 04 _z_ 05 _x_ 06 _c_ 07 _v_ 08 _b_ 09" ("j" #'eyebrowse-prev-window-config :exit nil) ("k" #'eyebrowse-last-window-config) ("l" #'eyebrowse-next-window-config :exit nil) ("u" #'eyebrowse-close-window-config :exit nil) ("i" #'eyebrowse-switch-to-window-config) ("o" #'eyebrowse-rename-window-config :exit nil) ("q" nil) ("a" #'eyebrowse-switch-to-window-config-0) ("s" #'eyebrowse-switch-to-window-config-1) ("d" #'eyebrowse-switch-to-window-config-2) ("f" #'eyebrowse-switch-to-window-config-3) ("g" #'eyebrowse-switch-to-window-config-4) ("z" #'eyebrowse-switch-to-window-config-5) ("x" #'eyebrowse-switch-to-window-config-6) ("c" #'eyebrowse-switch-to-window-config-7) ("v" #'eyebrowse-switch-to-window-config-8) ("b" #'eyebrowse-switch-to-window-config-9)) (global-set-key (kbd "C-M-e") #'help/hydra-left-side/eyebrowse/body))