[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] ascii-export vs. "<<" and ">>" patch
From: |
Bryan Fink |
Subject: |
[Orgmode] ascii-export vs. "<<" and ">>" patch |
Date: |
Thu, 7 Jan 2010 12:30:57 -0500 |
Hi. I'm using org-mode to write some documentation about Erlang
modules. Erlang's "binary" data type has a syntax like:
<<"this is binary data">>
Org-mode's ascii-exporter in version 6.33f blindly strips all <<>>
pairs from the file, leaving the text as
"this is binary data"
which, unfortunately, is still valid Erlang syntax, but has a different meaning.
So, to help me and others write Erlang documentation in org-mode, I
submit the patch attached to this email, which changes org-ascii.el
such that it checks the org-protected text property before stripping
<<>> characters, so examples marked as verbatim text should go
untouched.
-Bryan
0001-do-not-strip-and-from-protected-sections-during-asci.patch
Description: Binary data
- [Orgmode] ascii-export vs. "<<" and ">>" patch,
Bryan Fink <=