emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Faces bug in org-indent-mode


From: Daniel Clemente
Subject: Re: [Orgmode] Faces bug in org-indent-mode
Date: Wed, 26 Aug 2009 13:42:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

El dt, ago 25 2009 a les 09:56, Carsten Dominik va escriure:

> thing will break.  The real solution for this would be to
> switch to a programmed solution instead of a regular
> expression search.
>
  Or many regular expressions, one for each context: table, heading, comment, 
text, …
  Based on the context, you choose one or another. To know the context, there 
may be some text property set at each point.
  If Emacs had a way to check for a text property (or even a face) inside a 
regexp, this could be easier. You could still use a single expression which 
would direct to the context-specific part, like in:  
\p{heading}REGEXP_ONLY_FOR_HEADINGS\|\p{table}REGEXP_FOR_TABLES\|…   where 
\p{property} is the proposed addition to Emacs regexps.


  This was a minor issue, but making Emacs regexps more powerful would be nice.

-- Daniel

  




reply via email to

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