emacs-devel
[Top][All Lists]
Advanced

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

Re: remove leim/leim-list.el for make bootstrap?


From: Eli Zaretskii
Subject: Re: remove leim/leim-list.el for make bootstrap?
Date: Mon, 23 Mar 2009 06:18:47 +0200

> From: Kenichi Handa <address@hidden>
> CC: address@hidden, address@hidden, address@hidden
> Date: Mon, 23 Mar 2009 11:51:09 +0900
> 
> In article <address@hidden>, Eli Zaretskii <address@hidden> writes:
> 
> > > From: Andreas Schwab <address@hidden>
> > > Cc: address@hidden,  address@hidden
> > > Date: Fri, 20 Mar 2009 16:46:21 +0100
> > > 
> > > Eli Zaretskii <address@hidden> writes:
> > > 
> > > > Well, quail.el didn't (and doesn't) explicitly modify the coding tag,
> > > 
> > > The coding tag is included in leim-list-header defined in
> > > international/mule-cmds.el, which is preloaded, thus always up-to-date.
> 
> > You are right.  But then Emacs should have complained, as it always
> > does when you try to save a buffer with encoding that goes against the
> > coding tag.  Why didn't it?
> 
> quail-update-leim-list-file (quail.el) does modify the
> coding tag as this:
> 
>       ;; Insert the correct header.
>       (if (looking-at (regexp-quote leim-list-header))
>         (goto-char (match-end 0))
>       (insert leim-list-header))
> 
> Here, leim-list-header is defined in mule-cmds.el, and was
> changed to contain utf-8 coding tag.

Yes, but if quail.elc is from an old quail.el, then it also did this:

    (with-current-buffer list-buf
      (setq buffer-file-coding-system 'iso-2022-7bit)
      (save-buffer 0))

And if the coding tag says utf-8, I'd expect this to produce a warning
due to mismatch.




reply via email to

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