emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] impossible to have footnote touching verbatim


From: Nicolas Goaziou
Subject: Re: [O] impossible to have footnote touching verbatim
Date: Mon, 23 Jun 2014 23:01:39 +0200

Eric Schulte <address@hidden> writes:

> Should this be done personally or in master?

I can't think of a case where it could lead to confusion, so I'd say it
can go in master, at least until someone complains, if ever.

BTW, as a reminder, I'm all for thinking again how emphasis/verbatim
markup is defined in Org but I doubt changing it by small touches will
do any good. IMO, it needs to be discussed as a whole.

I think a good markup should
  - not need to be customizable,
  - allow any number of (non-consecutive) newline characters,
  - allow escaping markup in verbatim objects.

For example, much like radio links, bold object could be defined as

  1. anything but an alphanumeric character (including nothing),
  2. / character,
  3. an alphanumeric character,
  4. anything excepted 2 or more consecutive newline characters
     (non-greedy),
  5. an alphanumeric character,
  6. / character,
  7. anything but an alphanumeric character (including nothing).

For simplicity, I ignore the special case /a/ for the moment.

The verbatim would be the same, with a slight change in 4th element:

  4. the same, with \= treated as =


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]