From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Wedler, Christoph" Newsgroups: gmane.emacs.devel Subject: RE: [Bug] Issues with format.el: coding system, byte/char confusi on Date: Fri, 2 May 2003 16:11:35 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <67B8CED503F3D511BB9F0008C75DAD66054855C6@dewdfx17> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: main.gmane.org 1051885096 23018 80.91.224.249 (2 May 2003 14:18:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 2 May 2003 14:18:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 02 16:18:14 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 19BbMc-0005z7-00 for ; Fri, 02 May 2003 16:18:14 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19BbOC-0003iC-00 for ; Fri, 02 May 2003 16:19:52 +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 19BbLC-00058h-02 for emacs-devel@quimby.gnus.org; Fri, 02 May 2003 10:16:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19BbKV-0003yf-00 for emacs-devel@gnu.org; Fri, 02 May 2003 10:16:03 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19BbK7-0003ET-00 for emacs-devel@gnu.org; Fri, 02 May 2003 10:15:41 -0400 Original-Received: from smtpde02.sap-ag.de ([155.56.68.170]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19BbGH-0007hD-00; Fri, 02 May 2003 10:11:41 -0400 Original-Received: from sap-ag.de (smtpde02) by smtpde02.sap-ag.de (out) with ESMTP id QAA09209; Fri, 2 May 2003 16:11:55 +0200 (MESZ) Original-To: "'rms@gnu.org'" X-Mailer: Internet Mail Service (5.5.2656.59) X-SAP: out X-SAP: out 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:13626 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13626 Richard Stallman wrote: > (defun after-insert-file-set-buffer-file-coding-system (inserted) > ... > If fixed this code, I think. Does the version now installed seem > correct to you? Yup, this seems to be correct to me. Thanks for the fix. The remaining issue of my original mail is: Christoph Wedler wrote: >>> 1. Shouldn't `format-annotate-function' also save the buffer-local >>> variable `buffer-file-coding-system' (as it does with >>> `selective-display' and `enable-multibyte-characters' since v1.38)? Richard Stallman wrote: >> That seems plausible, but one ought to test it. Christoph Wedler wrote: > Currently, I do it in the format-encode function of my package X-Symbol > since July 2002 (it wouldn't work without), but I think this should be > done in general. What do you think? - Christoph