Skip to content

Instantly share code, notes, and snippets.

View carwin's full-sized avatar
🍔
cheeseburger

Carwin Young carwin

🍔
cheeseburger
  • Missouri
View GitHub Profile

Emacs as an Org capture server

The Concept

The general idea is to run an Emacs server as a daemon which clients can quickly connect to via a bash script. The client executes org-capture and the frame closes upon finalizing or aborting the capture.

Running a server daemon

The first step is to get an Emacs daemon running as a server with your name of choice. For this example, I’m going to use “capture” as the server name.

@carwin
carwin / Article-Node-Content.html
Created December 4, 2012 01:31 — forked from jponch-zz/Article-Node-Content.html
Sample markup for article node content
<header class="article-heading">
<div class="meta">
<span class="author">by <a href="" class="name" rel="author">Jeff Eaton</a></span><span class="date">on June 20, 2012</span> <a href="" class="short-url">Short URL</a>
</div><!-- /.meta -->
<hgroup>
<h1>Module Monday: Custom Permissions</h1>
<h2 class="subtitle">Fancy subtitle shows right here just like this when there is one.</h2>
</hgroup>
<ul class="social">
<li><a href="" class="comments">3 Comments</a></li>