[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: inconsistent escaping of coderef regexp
From: |
Timothy |
Subject: |
Re: Bug: inconsistent escaping of coderef regexp |
Date: |
Fri, 02 Apr 2021 00:09:06 +0800 |
User-agent: |
mu4e 1.4.15; emacs 28.0.50 |
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Switches predate Babel and its header arguments. Also, they are
> orthogonal to Babel. I don't know what a sound design would be here,
> tho.
Breaking backwards comparability is a tough call, but somehow I feel
that it would be appropriate here. A number of reasons why they should
go come to mind:
- Rarely used. Searching github I found 146k results for "#+begin_src"
but as soon as I added a switch (I tried -n and +n) that dropped to 0
results
- Easily replaced by a more consistent syntax, which has multiple benefits IMO
+ Simplify parsing a bit
+ Less forms for a new user to learn
+ Better consistency
Perhaps a less sudden approach would to be mark them as depreciated,
implement equivalents with the standard syntax, update manual to use the
new/standard syntax, then remove at some point in the future? In that
case I think it would also be acceptable for new things built for Org
(e.g. a grammar) to ignore them.
Thoughts?
--
Timothy
- Re: Bug: inconsistent escaping of coderef regexp, Nicolas Goaziou, 2021/04/01
- Re: Bug: inconsistent escaping of coderef regexp,
Timothy <=
- Re: Bug: inconsistent escaping of coderef regexp, Tom Gillespie, 2021/04/04
- Re: Bug: inconsistent escaping of coderef regexp, Nicolas Goaziou, 2021/04/04
- Re: Bug: inconsistent escaping of coderef regexp, Tom Gillespie, 2021/04/05
- Re: Bug: inconsistent escaping of coderef regexp, Tom Gillespie, 2021/04/05
- Re: Bug: inconsistent escaping of coderef regexp, Nicolas Goaziou, 2021/04/07
- Re: Bug: inconsistent escaping of coderef regexp, Tom Gillespie, 2021/04/07
- Re: Bug: inconsistent escaping of coderef regexp, Nicolas Goaziou, 2021/04/09