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

_______________________________________________
gnu-emacs-sources mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to