From: Carsten Dominik <carsten.dominik@gmail.com>
To: Daniel Clemente <n142857@gmail.com>
Cc: org-mode list <emacs-orgmode@gnu.org>
Subject: Re: Faces bug in org-indent-mode
Date: Wed, 26 Aug 2009 14:26:43 +0200 [thread overview]
Message-ID: <6C6F26CF-59F1-4193-B33F-73D94AA29DA2@gmail.com> (raw)
In-Reply-To: <87k50qby3r.fsf@CPU107.opentrends.net>
On Aug 26, 2009, at 1:42 PM, Daniel Clemente wrote:
> 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.
All we would really need are positive and negative look-ahead
and look-behind assertions as the Perl regular expression allows them.
- Carsten
next prev parent reply other threads:[~2009-08-26 12:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-20 13:07 Faces bug in org-indent-mode Jason F. McBrayer
2009-08-20 13:34 ` Daniel Clemente
2009-08-20 19:57 ` Carsten Dominik
2009-08-21 11:03 ` Daniel Clemente
2009-08-25 7:56 ` Carsten Dominik
2009-08-26 11:42 ` Daniel Clemente
2009-08-26 12:26 ` Carsten Dominik [this message]
2009-08-20 19:54 ` Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6C6F26CF-59F1-4193-B33F-73D94AA29DA2@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=n142857@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).