[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Exclamation mark not a postmatch ?
From: |
Baoqiu Cui |
Subject: |
[Orgmode] Re: Exclamation mark not a postmatch ? |
Date: |
Mon, 23 Mar 2009 10:59:11 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) |
Daniel Clemente <address@hidden> writes:
> El dl, mar 23 2009, Baoqiu Cui va escriure:
>
>> Am I missing anything (or do I have to customize variable
>> org-emphasis-regexp-components to support this)? I tried to search the
>> mailing list archive about this, but could not find anything.
>>
> I asked a similar thing but for quotations:
> http://www.mail-archive.com/address@hidden/msg04267.html
Yes, I read about that thread. The problem you reported has something
to do with Unicode support in Org mode, and Carsten was trying to limit
Org-mode in plain ASCII characters to avoid things becoming messier.
The current way of explicitly including the supported characters is
safer and cleaner, at least before Org-mode is enhanced to cover more
international languages.
Baoqiu
> I think there are regular expressions in Emacs for „initial
> quotation sign“ and „final quotation sign“ which are generic and
> work for all possible signs. Since Unicode characters are classified
> and described, this generic detection should be possible without
> having to list all possible characters explicitly. There are many,
> for instance: « „ 「 ‘ “ ¿ ¡ etc.
>
> \s. in a regular expression already detects some punctuation
> characters (but not all). This or a better regexp could be part of
> org-emphasis-regexp-components
>
> I should in the book „Mastering regular expressions“ at which level
> are „Unicode properties“ implemented in Emacs, and how to access
> them.
>
>
> -- Daniel