|Subject:||[O] Escape mechanism in code and verbatim blocks|
|Date:||Sat, 19 Sep 2015 09:37:16 -0400|
I am with you on not using non-ascii characters to escape stuff.
I like your proposal about escaping in code and verbatim blocks.
Kaushal Modi <address@hidden> writes:
> My most common uses are escaping double quotes (") and equals (=) within
> org verbatim blocks (=VERBATIM=)
> 1. =var=[ZWS]val=
> 2. =[ZWS]"something"[ZWS]=
> Here [ZWS] is the 0x200b zero width space unicode char.
> I found [ZWS] useful as a generic escape char for org mode. There are few
> other cases where this has been useful, but I can't recall right now.
> In any case, what would be the recommended way to escape " and = in the
> above 2 examples?
As I said, entities can only escape most Org syntax. Verbatim and code
objects are an exception. Here I think we should introduce an escape
mechanism, much like the one used in macro arguments in order to escape
For example, in a verbatim object, one only needs to escape "=", using
common "\". Obviously, "\=" constructs can be escaped with "\\=" and so
on. Likewise, in code objects, only "~" needs to be escaped.
In any case, I don't think Org syntax should rely on non-ASCII
|[Prev in Thread]||Current Thread||[Next in Thread]|