From: Per Starback <starback@ling.uu.se>
Subject: ediff-save-buffer and coding systems
Date: Thu, 20 Mar 2003 15:25:46 +0100 [thread overview]
Message-ID: <200303201425.h2KEPkC10436@tempus.ling.uu.se> (raw)
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.
reply other threads:[~2003-03-20 14:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200303201425.h2KEPkC10436@tempus.ling.uu.se \
--to=starback@ling.uu.se \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.