> On Feb 17, 2024, at 5:33 AM, Ihor Radchenko wrote:
>
> WDYT?
+1
I use the curly braces since I often use underscores for other reasons. There
would be no impact to me and this is the first I ever heard that parentheses
would work.
+1
Tom
> On Feb 17, 2024, at 9:38 AM, William Denton wrote:
>
> On Saturday, February 17th, 2024 at 07:07, Ihor Radchenko
> wrote:
>
>> I tentatively propose to remove the x^(2-i) example from the docstring
>> and mark the ^(...) syntax deprecated.
>>
>> WDYT?
>
> I think it's very sensib
On Saturday, February 17th, 2024 at 07:07, Ihor Radchenko
wrote:
> I tentatively propose to remove the x^(2-i) example from the docstring
> and mark the ^(...) syntax deprecated.
>
> WDYT?
I think it's very sensible. It's surprising ^(...) works like this, and if
anyone was using it (perhaps
Ihor Radchenko writes:
> "Tom Alexander" writes:
>
>> Some additional things I'm noticing:
>>
>> - when using parenthesis, :use-brackets-p is nil, so they're not equivalent
>> to curly braces.
>
> `org-element-subscript-parser' uses `org-match-substring-regexp', which
> indeed allows foo_(...).
> Not true. I tried
>
> b^(*asd*) and bold inside superscript does get parsed.
Ah thanks for double-checking! You're right, that is getting parsed. Not sure
what test document I was using to make me think objects didn't work inside the
parenthesis.
--
Tom Alexander
pgp: https://fizz.buzz/pgp.as
"Tom Alexander" writes:
> Some additional things I'm noticing:
>
> - when using parenthesis, :use-brackets-p is nil, so they're not equivalent
> to curly braces.
`org-element-subscript-parser' uses `org-match-substring-regexp', which
indeed allows foo_(...). This is not documented in org-syntax
Some additional things I'm noticing:
- when using parenthesis, :use-brackets-p is nil, so they're not equivalent to
curly braces.
- it does not support objects inside the parenthesis, just plain text, which
again means they're not equivalent to braces.
- it, however, seems to require that the pa
The org-mode documentation[1] states that the SCRIPT portion of the
subscript/superscript is either an asterisk, the standard set of objects
wrapped in balanced curly braces, or an optional sign followed by "Either the
empty string, or a string consisting of any number of alphanumeric characters