gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

linked-buffer.el 0.1


From: Phillip Lord
Subject: linked-buffer.el 0.1
Date: Thu, 13 Feb 2014 21:48:54 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)


This is the first (pre)-release of linked-buffer.el. Create two buffers
with the same (or nearly the same) content but which are otherwise
independent; different modes, different files are all possible. As well
as supporting buffers with identical content, it also supports buffers
with a bi-directional transformation between them.

I've written this to enable literate commenting of Clojure code with
latex. So one buffer looks like this:

\begin{document}

Here is the documentation
\begin{code}
(println "And here is the code")
\end{code}

\end{document}

while the other looks like this:

;; \begin{document}

;; Here is the documentation
;; \begin{code}
(println "And here is the code")
;; \end{code}

;; \end{document}

Comments welcome.

Attachment: linked-buffer.el
Description: application/emacs-lisp


reply via email to

[Prev in Thread] Current Thread [Next in Thread]