From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Per Starback Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: ediff-save-buffer and coding systems Date: Thu, 20 Mar 2003 15:25:46 +0100 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200303201425.h2KEPkC10436@tempus.ling.uu.se> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1048170432 8494 80.91.224.249 (20 Mar 2003 14:27:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2003 14:27:12 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 20 15:27:08 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18w10d-0002CX-00 for ; Thu, 20 Mar 2003 15:27:07 +0100 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 18w10X-0006fL-02 for gnu-bug-gnu-emacs@m.gmane.org; Thu, 20 Mar 2003 09:27:01 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18w106-000609-00 for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2003 09:26:34 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18w0zj-0005lt-00 for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2003 09:26:12 -0500 Original-Received: from numerus.ling.uu.se ([130.238.78.148]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18w0zM-0005J7-00; Thu, 20 Mar 2003 09:25:48 -0500 Original-Received: from tempus.ling.uu.se[130.238.78.146]) by numerus.ling.uu.se (8.11.6/8.11.6) with ESMTP id h2KEPkl11453; Thu, 20 Mar 2003 15:25:46 +0100 Original-Received: (from starback@localhost) by tempus.ling.uu.se (8.11.6/8.11.6) id h2KEPkC10436; Thu, 20 Mar 2003 15:25:46 +0100 Original-To: bug-gnu-emacs@gnu.org, emacs-pretest-bug@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4640 gmane.emacs.pretest.bugs:104 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4640 In GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-09-18 on tempus configured using `configure i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-gcc --with-pop --with-sound' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: sv_SE.ISO8859-1 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.iso885915 locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t And also in 21.2.95. 1. emacs -q 2. C-x b 1 RET C-x 8 " a RET C-x b 2 RET C-x 8 " o RET (these two buffers have latin-1 characters) 3. M-x ediff-merge-buffers RET 1 RET 2 RET 4. w d [which runs ediff-save-buffer] I get a question "File to save in: ~/" and answer that. Result: I get a buffer *Warning* with These default coding systems were tried: iso-latin-1 However, none of them safely encodes the target text. Select one of the following safe coding systems: utf-8 raw-text emacs-mule no-conversion and a question about what coding system I want to use. Expected result: I expected it to save with iso-latin-1 since there are no other characters in the buffers "1" and "2". Additional comments: At that moment *ediff-diff* has \201's in front of the two latin-1 characters.