emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Baoqiu Cui <cbaoqiu@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Re: Exclamation mark not a postmatch ?
Date: Mon, 23 Mar 2009 10:59:11 -0700	[thread overview]
Message-ID: <byceiwot91s.fsf@muchbodyking-lm.gateway.2wire.net> (raw)
In-Reply-To: 87eiwolbca.fsf@CPU107.opentrends.net

Daniel Clemente <n142857@gmail.com> 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

  reply	other threads:[~2009-03-23 17:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-23  7:24 Exclamation mark not a postmatch ? Baoqiu Cui
2009-03-23 11:36 ` Daniel Clemente
2009-03-23 17:59   ` Baoqiu Cui [this message]
2009-03-23 19:50     ` Carsten Dominik
2009-03-23 13:47 ` Carsten Dominik
2009-03-23 17:59   ` Baoqiu Cui

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=byceiwot91s.fsf@muchbodyking-lm.gateway.2wire.net \
    --to=cbaoqiu@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    /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).