[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] verbatim and apostrophes
From: |
Alan Schmitt |
Subject: |
Re: [O] verbatim and apostrophes |
Date: |
Tue, 04 Mar 2014 12:07:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) |
Hi Bastien,
Bastien <address@hidden> writes:
> Hi Alan,
>
> Well, preventing users from shooting them in the foot is part of why
> `org-emphasis-regexp-components' is not a custom variable (it used to
> be, but that led to lots of confusion.)
>
> I hope we can get rid of this variable one day or another.
I don't see how to do it cleanly without some form of escaping (to allow
anything to be quoted), which goes against the "verbatim" idea.
A suggestion could be to allow any text inside the markers, except for
the marker itself which would need to be escaped. Escaping could take
the form of doubling the marker:
~"foo bar"~ --> "foo bar"
~"foo ~~ bar"~ --> "foo ~ bar"
As I've not thought this through, I'm pretty sure someone will find a
huge flaw in this suggestion.
Best,
Alan