There are over 7000 of them.
Tag: Programming Language
orgpapers.org
Simple in-document generation with org-mode
org-mode’s literate programming (Babel) functionality is amazing. The limitation in my case is me, not the tool. The power and abstraction just aren’t something that you think about it for a document. While I suppose that is the whole point of LP, it does just take time for it to sink in, and experience. That said, this example is nice.
Clearly generating a headline is something you may do once, and probably not very often, so would perhaps be more likely just use a macro definition. When I see how simple this is though, the idea of using macros really goes out the window because this is far easier and simpler and much more powerful. Here is a simple example:
This:
* Code
#+name: hname
#+header: :exports none
#+begin_src emacs-lisp
"Hello, world."
#+end_src
* call_hname()[:results raw]
Produces this:
1 Code
══════
2 Hello, world.
═══════════════
The difference between org-ref and org-bibtex
In case you were wondering, here is an answer:
Some features could be merged, but there is an important difference in that org-ref uses bibtex as the backend database, and reftex for searching, and org-bibtex uses org-mode headings as the backend database, and tag/property searches (I think). It is like the difference between org-contacts and bbdb. They both serve similar needs, but with different data sources, and different ways to think about it.
Both approaches are quite nice. Sometimes it seems easier to be able to share the original, not exported, database with folks even though technically it makes no difference what is the system or origin for that data!
BiBTeX support with org-mode
Thanks to Jon’s org-ref package post, now there is a video demonstrating org’s built in BiBTeX management solution.
My goodness, that 8 minute video sums up what was not obvious to many even after wantingly browsing the documentation on it. Very cool Eric!
org-ref for delightful LaTeX citation management in org-mode
3 articles on Dired that every Emacs user must read
This post will send you to these 3 other posts. Cherish the experience of reading these exquisite expositions of the power of Dired mode. Simply reading them will immediately illuminate the part of your mind that used to say things like “What is the big deal about Dired? I’ll just use Finder/Explorer instead… it is the same thing”. It isn’t. It is better. It is so, so powerful and you will love it after reading those 3 articles.
One way to work with org documents as data containers
Nice post to get you think about org-mode as a data vehicle.
Nice post on using Emacs for Go
Here it is.
Line snippet helper for posting code
On the org list there are a few ways that people post code indicate the start and end of that code. This is my version that might work in any mode:
(defun gcr/insert-noticeable-snip-comment-line ()
"Insert a noticeable snip comment line (NSCL)."
(interactive)
(if (not (bolp))
(message "I may only insert a NSCL at the beginning of a line.")
(let ((ncl (make-string 70 ?✂)))
(newline)
(previous-line)
(insert ncl)
(comment-or-uncomment-region (line-beginning-position) (line-end-position)))))
ADDENDUM: 2014-06-22T10:18:59-0500: Added newline first