From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baoqiu Cui Subject: Re: Exclamation mark not a postmatch ? Date: Mon, 23 Mar 2009 10:59:11 -0700 Message-ID: References: <87eiwolbca.fsf@CPU107.opentrends.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LloQu-0003n6-Nd for emacs-orgmode@gnu.org; Mon, 23 Mar 2009 13:59:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LloQp-0003mu-Nv for emacs-orgmode@gnu.org; Mon, 23 Mar 2009 13:59:31 -0400 Received: from [199.232.76.173] (port=37227 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LloQp-0003mr-KN for emacs-orgmode@gnu.org; Mon, 23 Mar 2009 13:59:27 -0400 Received: from main.gmane.org ([80.91.229.2]:39814 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LloQp-0004Re-4n for emacs-orgmode@gnu.org; Mon, 23 Mar 2009 13:59:27 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LloQl-0007ew-KQ for emacs-orgmode@gnu.org; Mon, 23 Mar 2009 17:59:23 +0000 Received: from nat-dip4.cfw-a-gci.corp.yahoo.com ([209.131.62.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Mar 2009 17:59:23 +0000 Received: from cbaoqiu by nat-dip4.cfw-a-gci.corp.yahoo.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Mar 2009 17:59:23 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Daniel Clemente 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/emacs-orgmode@gnu.org/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