From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Clemente Subject: Re: Exclamation mark not a postmatch ? Date: Mon, 23 Mar 2009 12:36:53 +0100 Message-ID: <87eiwolbca.fsf@CPU107.opentrends.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LliSl-0005Av-07 for emacs-orgmode@gnu.org; Mon, 23 Mar 2009 07:37:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LliSf-0005Ai-K8 for emacs-orgmode@gnu.org; Mon, 23 Mar 2009 07:37:01 -0400 Received: from [199.232.76.173] (port=49441 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LliSf-0005Af-Eb for emacs-orgmode@gnu.org; Mon, 23 Mar 2009 07:36:57 -0400 Received: from mail-fx0-f166.google.com ([209.85.220.166]:45956) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LliSe-00021x-VO for emacs-orgmode@gnu.org; Mon, 23 Mar 2009 07:36:57 -0400 Received: by fxm10 with SMTP id 10so1611467fxm.42 for ; Mon, 23 Mar 2009 04:36:54 -0700 (PDT) In-Reply-To: (Baoqiu Cui's message of "Mon, 23 Mar 2009 00:24:56 -0700") 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: Baoqiu Cui Cc: emacs-orgmode@gnu.org 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/e= macs-orgmode@gnu.org/msg04267.html I think there are regular expressions in Emacs for =E2=80=9Einitial quota= tion sign=E2=80=9C and =E2=80=9Efinal quotation sign=E2=80=9C which are gen= eric and work for all possible signs. Since Unicode characters are classifi= ed and described, this generic detection should be possible without having = to list all possible characters explicitly. There are many, for instance: = =C2=AB =E2=80=9E =E3=80=8C =E2=80=98 =E2=80=9C =C2=BF =C2=A1 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 =E2=80=9EMastering regular expressions=E2=80=9C at w= hich level are =E2=80=9EUnicode properties=E2=80=9C implemented in Emacs, a= nd how to access them. -- Daniel