[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] words starting with call_ confuse C-c C-c and export
From: |
Eric Schulte |
Subject: |
Re: [O] words starting with call_ confuse C-c C-c and export |
Date: |
Sun, 15 Dec 2013 14:37:06 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Eric Schulte <address@hidden> writes:
>
>> Nicolas Goaziou <address@hidden> writes:
>
>>> Just to be clear, I thought about making parens mandatory in inline
>>> Babel call syntax. Underscore is overloaded already: underline,
>>> subscript...
>>>
>>
>> I'm open to this change.
>
> In fact, they are already mandatory. The problem is different. Current
> regexp is:
>
>
> "\\([^\n]*?\\)call_\\([^()\n]+?\\)\\(\\[\\(.*?\\)\\]\\|\\(\\)\\)(\\([^\n]*?\\))\\(\\[\\(.*?\\)\\]\\)?"
>
> In particular, name is \\([^()\n]+?\\), and can include whitespace
> characters. Therefore "call_name (args)" is valid. Isn't it too much
> permissive in the context of an Org (i.e. textual) document?
>
> Also, couldn't we limit names to alphanumeric characters and, maybe,
> some puctuation (e.g. hypen)?
>
Why don't we exclude whitespace from names. Do you think that would be
sufficient?
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
- [O] words starting with call_ confuse C-c C-c and export, Daniel Clemente, 2013/12/03
- Re: [O] words starting with call_ confuse C-c C-c and export, Nicolas Goaziou, 2013/12/03
- Re: [O] words starting with call_ confuse C-c C-c and export, Eric Schulte, 2013/12/06
- Re: [O] words starting with call_ confuse C-c C-c and export, Nicolas Goaziou, 2013/12/06
- Re: [O] words starting with call_ confuse C-c C-c and export, Eric Schulte, 2013/12/06
- Re: [O] words starting with call_ confuse C-c C-c and export, Nicolas Goaziou, 2013/12/14
- Re: [O] words starting with call_ confuse C-c C-c and export,
Eric Schulte <=
- Re: [O] words starting with call_ confuse C-c C-c and export, Nicolas Goaziou, 2013/12/15
- Re: [O] words starting with call_ confuse C-c C-c and export, Eric Schulte, 2013/12/16
- Re: [O] words starting with call_ confuse C-c C-c and export, Nicolas Goaziou, 2013/12/16