unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: schwab@suse.de, eliz@gnu.org, emacs-devel@gnu.org, miles@gnu.org
Subject: Re: Word syntax question
Date: Wed, 22 Oct 2008 21:23:14 +0900	[thread overview]
Message-ID: <E1Ksck6-0001Pv-UH@etlken.m17n.org> (raw)
In-Reply-To: <87bpxdtjc7.fsf@xemacs.org> (stephen@xemacs.org)

In article <87bpxdtjc7.fsf@xemacs.org>, "Stephen J. Turnbull" <stephen@xemacs.org> writes:

> AFAIK Unicode has solved this problem, but I forget where I saw it.
> If my memory is correct, that supports Miles's opinion.

It's "Unicode Standard Annex #29" (http://www.unicode.org/reports/tr29/).
It shows an algorithm to determine if there's a word
boundary between character C1 C2 by categorizing characterers
by "Word_Break" property and giving a set of rules checking
that property.

Emacs already has a similar mechanism by using two variables
word-separating-categories and word-combining-categories.
Please read the docstring of the latter variable.

---
Kenichi Handa
handa@ni.aist.go.jp




  parent reply	other threads:[~2008-10-22 12:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 15:20 Word syntax question Miles Bader
2008-10-21 15:52 ` Andreas Schwab
2008-10-21 16:35   ` Miles Bader
2008-10-21 17:21     ` Eli Zaretskii
2008-10-22  0:58       ` Miles Bader
2008-10-22  3:11         ` Stephen J. Turnbull
2008-10-22 11:52           ` Kenichi Handa
2008-10-22 12:23           ` Kenichi Handa [this message]
2008-10-22  4:29         ` Eli Zaretskii
2008-10-22  5:16           ` Miles Bader
2008-10-22 19:36             ` Eli Zaretskii
2008-10-22 21:02           ` Richard M. Stallman
2008-10-22  6:20       ` Richard M. Stallman
2008-10-22 19:21         ` Eli Zaretskii
2008-10-23  3:09           ` Richard M. Stallman

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Ksck6-0001Pv-UH@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    --cc=schwab@suse.de \
    --cc=stephen@xemacs.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.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).