From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Bastien <bzg@gnu.org>
Cc: Nick Dokos <ndokos@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: verbatim and apostrophes
Date: Tue, 04 Mar 2014 12:07:17 +0100 [thread overview]
Message-ID: <m2txbei5ne.fsf@polytechnique.org> (raw)
In-Reply-To: <87fvmy44wt.fsf@bzg.ath.cx> (Bastien's message of "Tue, 04 Mar 2014 10:53:35 +0100")
Hi Bastien,
Bastien <bzg@gnu.org> 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
next prev parent reply other threads:[~2014-03-04 11:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-12 13:24 verbatim and apostrophes Alan Schmitt
2014-02-12 21:11 ` Samuel Wales
2014-02-13 7:05 ` Alan Schmitt
2014-02-13 12:27 ` Nick Dokos
2014-02-13 12:40 ` Nick Dokos
2014-02-14 8:21 ` Alan Schmitt
2014-03-04 9:53 ` Bastien
2014-03-04 11:07 ` Alan Schmitt [this message]
2014-03-19 11:23 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2txbei5ne.fsf@polytechnique.org \
--to=alan.schmitt@polytechnique.org \
--cc=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).