unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: angeli@iwi.uni-sb.de, emacs-devel@gnu.org
Subject: Re: command fill-paragraph deletes leading Umlauts if	line	begins	with space
Date: Thu, 6 Jan 2005 16:41:53 +0900 (JST)	[thread overview]
Message-ID: <200501060741.QAA16427@etlken.m17n.org> (raw)
In-Reply-To: <E1Cjkib-0004k5-0L@fencepost.gnu.org> (message from Richard Stallman on Wed, 29 Dec 2004 15:46:53 -0500)

In article <E1Cjkib-0004k5-0L@fencepost.gnu.org>, Richard Stallman <rms@gnu.org> writes:

>     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.

> Maybe he didn't set the language environment.
> What is the situation in the CVS Emacs if you never set the
> language environment?

If LANG is not set or is "C", Emacs starts in English
lang. env., and in that case, all 8-bit characters has
whitespace syntax.  In this situation, 0334 is displayed as
\334 (not as U-umlaut).  So, I think it shouldn't have
wordconstituent syntax.

> Conversion to multibyte uses Latin-1 by default.

Yes.  But that conversion is mainly for a user using
multibyte mode.  In unibyte mode
(i.e. default-enable-multibyte-characters is nil),
to-multibyte conversion won't happen usually.

>>>   making the case-conversion commands convert each character to
>>>   multibyte and check its syntax.

>     Why does case-conversion have to check syntax?

> M-c detects word boundaries with syntax checking.

Ah, I see.  By the way, in unibyte English lang. env.,
case-table is also reset to the default, i.e., not set for
latin-1.

---
Ken'ichi HANDA
handa@m17n.org

  reply	other threads:[~2005-01-06  7:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1ChBF2-0004VS-00@h409.eml.org>
     [not found] ` <E1ChQ3r-0002bn-Kf@neutrino.iwi.uni-sb.de>
2004-12-24 14:32   ` command fill-paragraph deletes leading Umlauts if line begins with space Richard Stallman
2004-12-26 22:39     ` Ralf Angeli
2004-12-27  7:35       ` Eli Zaretskii
2004-12-27 10:15         ` Ralf Angeli
2004-12-27 18:06       ` Richard Stallman
2004-12-27 22:28         ` Stefan Monnier
2004-12-28  0:18           ` Kenichi Handa
2004-12-28  0:14         ` Kenichi Handa
2004-12-28 17:25           ` Richard Stallman
2004-12-29  1:17             ` Kenichi Handa
2004-12-29  9:23               ` Ralf Angeli
2005-01-06  7:50                 ` Kenichi Handa
2005-01-06  8:19                   ` Ralf Angeli
2005-01-06  8:55                     ` Kenichi Handa
2004-12-29 20:46               ` Richard Stallman
2005-01-06  7:41                 ` Kenichi Handa [this message]
2005-01-06 13:53                   ` Stefan Monnier
2005-01-07  0:00                     ` Kenichi Handa
2005-01-07 14:42                       ` Stefan Monnier
2005-01-07 16:32                         ` David Kastrup
2005-01-08  0:05                         ` Kenichi Handa
2005-01-08 23:53                           ` Stefan

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=200501060741.QAA16427@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=angeli@iwi.uni-sb.de \
    --cc=emacs-devel@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.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).