[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-element-at-point fails in programming-modes
From: |
Nicolas Goaziou |
Subject: |
Re: [O] org-element-at-point fails in programming-modes |
Date: |
Thu, 21 Aug 2014 10:58:26 +0200 |
Hello,
Thorsten Jolitz <address@hidden> writes:
> Ok, thanks, that sounds promising. OTOH, is the use of "\\S-" really
> mandatory,
No, it isn't.
> couldn't a more robust construct be used, either something
> like this (untested) regexp:
>
> ,----
> | "[^[:space:]\\n]+"
> `----
AFAIK, [:space:] is not compatible with XEmacs. It could be "[^
\r\t\n]+", but even this could be too broad (e.g., "#+BEGIN_..."). We
could also limit block names to alphanumeric characters and a bunch of
symbols.
Regards,
--
Nicolas Goaziou
- [O] Article Mode eats newlines between src-blocks (was Re: org-element-at-point fails in programming-modes), (continued)
Re: [O] org-element-at-point fails in programming-modes, Nicolas Richard, 2014/08/20