emacs-orgmode
[Top][All Lists]
Advanced

[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: Nicolas Goaziou
Subject: Re: [O] words starting with call_ confuse C-c C-c and export
Date: Tue, 11 Mar 2014 15:11:17 +0100

Hello,

Eric Schulte <address@hidden> writes:

> Is "/" allowed in macro names?

No. Macro names use the following regexp:

  [a-zA-Z][-a-zA-Z0-9_]*

> I think the biggest benefit here is
> unification between macro and function names.  Is there a macro name
> regexp which could be used directly (to ensure that these two stay
> unified)?  I don't see one, so I expect we'll want to add an
> org-babel-function-name regexp along the lines of "[a-zA-Z0-9\-\/]+".
> This would then be used in the following variables.
> - org-babel-src-block-regexp
> - org-babel-src-name-w-name-regexp
>
> And the following functions should be updated to ensure that the name
> only includes the allowed characters.
> - org-babel-named-data-regexp-for-name
> - org-babel-named-src-block-regexp-for-name
>
> Does this sound about right?

Note there is no limitation on the contents of NAME keywords. Unless the
same limitation propagates to those (but should it?), Babel calls will
be ignored if forbidden characters are used.


Regards,

-- 
Nicolas Goaziou



reply via email to

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