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: [Bug] Issues with format.el: coding system, byte/char confusi on Date: Thu, 10 Apr 2003 21:05:50 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200304101205.VAA17561@etlken.m17n.org> References: <67B8CED503F3D511BB9F0008C75DAD6605485576@dewdfx17> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1049977339 1446 80.91.224.249 (10 Apr 2003 12:22:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 10 Apr 2003 12:22:19 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Apr 10 14:22:16 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 193b4K-0000Mx-00 for ; Thu, 10 Apr 2003 14:22:16 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 193b9I-0007PM-00 for ; Thu, 10 Apr 2003 14:27:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193ayY-0000O5-08 for emacs-devel@quimby.gnus.org; Thu, 10 Apr 2003 08:16:18 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 193apb-0007So-00 for emacs-devel@gnu.org; Thu, 10 Apr 2003 08:07:03 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 193ap6-00079E-00 for emacs-devel@gnu.org; Thu, 10 Apr 2003 08:06:37 -0400 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193aoT-0006ro-00; Thu, 10 Apr 2003 08:05:53 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2])h3AC5oo06596; Thu, 10 Apr 2003 21:05:50 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) h3AC5oA07290; Thu, 10 Apr 2003 21:05:50 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id VAA17561; Thu, 10 Apr 2003 21:05:50 +0900 (JST) Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Thu, 10 Apr 2003 02:23:18 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13114 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13114 In article , Richard Stallman writes: > It would be excellent if Emacs could be patched such that > `after-insert-file-set-buffer-file-coding-system' is called directly > from within Finsert_file_contents before calling Qformat_decode (instead > of adding this function to `after-insert-file-functions'). > I don't object. Ok, I've just installed these changes. 2003-04-10 Kenichi Handa * fileio.c (Vafter_insert_file_adjust_coding_function): New variable. (syms_of_fileio): Declare it as a lisp variable. (Finsert_file_contents): Call Vafter_insert_file_adjust_coding_function before calling decode-format. 2003-04-10 Kenichi Handa * international/mule.el: Set after-insert-file-adjust-coding-function to after-insert-file-set-buffer-file-coding-system instead of adding it to after-insert-file-functions. But, these names are very long. after-insert-file-adjust-coding-function after-insert-file-set-buffer-file-coding-system Can't you think of shorter names? --- Ken'ichi HANDA handa@m17n.org