Skip to content

Tag Archives: Programming Language

emacs-refactor: A Generic Refactoring Tool for Emacs

Emacs Refactor (EMR) provides language-specific refactoring support for Emacs. It has a simple declarative interface for easy extension.

Easily check src block correctness in org-mode

Thank you Nicolas Goaziou, for the beginnings of an org-lint. The goal here was to: Report an error if there is a source block without a language specified Report an error if there is a source block with a language specified that is not present in `org-babel-load-languages’ And, it does. (defun gcr/src-block-check () (interactive) (org-element-map […]

Notes on ALEC

Last week I blogged about pushing ALEC out to GitHub. My focus there was 100% philosophical, and I barely said a thing about the details. This post is to share some of the details. ALEC is my 5th attempt and configuring Emacs for myself. After spending nearly a year practicing Org-Mode, this version feels much […]

ALEC’s a Language for Expressing Creativity

ALEC is the new configuration of my Emacs/Organization-Mode system. Just wanted to share some thoughts on the experience. The code says a lot, and the text, too, but I’m more interested in the experience. For context, this is the next step of TC3F. If nothing else, just know that the tangle time went down from […]

Don’t run mode hooks during org exports

binchen has a nice post about how to disable org mode hook execution during exports. It can be a surprise when you run in batch mode and your export breaks because of dependency failures. Oh yea, the major mode hooks run during export even though you personally are not opening a buffer, Emacs is doing […]

How to debug expanded elisp macros

This video reveals just how amazingly it easy it is to expand and debug macros in elisp using the macrostep package. Via irreal.

Org-Mode Details To Accompany Questions

The details that are likely to help questions to be answered on the org mailing list. #+begin_src emacs-lisp (print emacs-version) #+end_src #+begin_src emacs-lisp (print org-version) #+end_src #+begin_src emacs-lisp (print (pp-to-string org-babel-default-header-args)) #+end_src #+begin_src emacs-lisp (print (pp-to-string org-babel-default-header-args:R)) #+end_src Eg: “24.3.1” “8.2.10” “((:eval . \”always\”) (:padline . \”yes\”) (:noweb . \”no-export\”) (:exports . \”both\”) (:results . […]

Set image width in org-mode

Make org and export use the same image width via this post: #+attr_latex: :width 4in :placement [H] #+attr_org: :width 400 [[./images/batch-multiple.png]]

A must-see of advanced babel usage in org with R

This post is a must-see of advanced babel usage in org with R

Perl regex builder in emacs

Perl regex builder in emacs Read the wiki and there are 2 options Best is this Roughly confirmed that is the best and newest Set up an el-get for it tonight Played around for while can’t get el-get to load it I can’t even load it myself Probably my fault Posted ticket on github page […]