[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mail-extract-address-components bug

From: Kenichi Handa
Subject: Re: mail-extract-address-components bug
Date: Fri, 18 May 2007 11:36:32 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, Katsumi Yamaoka <address@hidden> writes:

> > So, my suggestion it to do that and see if it works well if
> > no one can investigate the code and RFC-822.

> The way I posted, to make the syntax of all non-ASCII characters
> `word', has a weakness.  It is not effective to charsets that
> are created after loading mail-extr.el.

As a syntax table is just a char-table, we can set the
default value of a syntax table to "word".  But, I don't
think we should do such a thing now.

In emacs-unicode-2, all characters (0..0x3FFFF) exists from
the start.  Creating a charset means just to add a mapping
rule between the code-point in the charset and Emacs'
character.  And, the argument CHAR of modify-syntax-entry
can be a cons (MIN-CHAR . MAX-CHAR).

So, we can make a syntax table, modify it for all characters
to be word, then modify it for each special characters.

Kenichi Handa

reply via email to

[Prev in Thread] Current Thread [Next in Thread]