From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: command fill-paragraph deletes leading Umlauts if line begins with space Date: Wed, 29 Dec 2004 10:17:49 +0900 (JST) Message-ID: <200412290117.KAA24724@etlken.m17n.org> References: <200412280014.JAA21431@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1104283156 18199 80.91.229.6 (29 Dec 2004 01:19:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Dec 2004 01:19:16 +0000 (UTC) Cc: angeli@iwi.uni-sb.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 29 02:19:09 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CjSUX-0004nN-00 for ; Wed, 29 Dec 2004 02:19:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CjSfP-0004Bx-Ov for ged-emacs-devel@m.gmane.org; Tue, 28 Dec 2004 20:30:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CjSew-0004BQ-QG for emacs-devel@gnu.org; Tue, 28 Dec 2004 20:29:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CjSev-0004Af-HS for emacs-devel@gnu.org; Tue, 28 Dec 2004 20:29:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CjSev-0004Ac-Ep for emacs-devel@gnu.org; Tue, 28 Dec 2004 20:29:53 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CjSTK-0000e0-QM; Tue, 28 Dec 2004 20:17:55 -0500 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.12.3/8.12.3/Debian-7.1) with ESMTP id iBT1HoY7026159; Wed, 29 Dec 2004 10:17:50 +0900 Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6p2/8.11.6) with ESMTP id iBT1Hnq18951; Wed, 29 Dec 2004 10:17:49 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id KAA24724; Wed, 29 Dec 2004 10:17:49 +0900 (JST) Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Tue, 28 Dec 2004 12:25:05 -0500) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3.50 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:31554 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31554 In article , Richard Stallman writes: >> It is naive, but it might make sense in a way. We could imagine >> making the case-conversion commands convert each character to >> multibyte and check its syntax. That way, the syntax of these unibyte >> characters could be determined from the current equivalency. >> What do people think of that idea? >> In particular, Handa, what do you think? > I've already done it in emacs-unicode (in regex.c and > casefiddle.c). > Would you please install it in the current Emacs? It seems that I misunderstood the original problem. I've done that (convert unibyte to multibyte and then check the syntax) in emacs-unicode because emacs-unicode doesn't keep syntaxes of unibyte characters in syntax-table (char-table). But the current Emacs keeps them in syntax table and updates them when a language environment is changed in unibyte-mode. I've just confirmed that 0334 (U-umlaut in Latin-1) has syntax word-constituent in unibyte-mode in Latin-1 lang. env. So, I don't understand what is the problem. And, >> making the case-conversion commands convert each character to >> multibyte and check its syntax. Why does case-conversion have to check syntax? --- Ken'ichi HANDA handa@m17n.org