GNU bug report logs -
#2317
emacs silently ignores buffer file encoding?
Previous Next
Reported by: Miles Bader <miles <at> gnu.org>
Date: Fri, 13 Feb 2009 02:25:04 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2317 in the body.
You can then email your comments to 2317 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2317
; Package
emacs
.
(Fri, 13 Feb 2009 02:25:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Miles Bader <miles <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 13 Feb 2009 02:25:50 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
(1) Start emacs -Q
(2) Visit "/tmp/fff"
(3) Insert the following chars: "θϑΘ"
(4) Set the buffer file encoding to latin1 with: C-x C-m f latin-1 RET
(5) Save the buffer: C-x C-s
For me, "/tmp/fff" is saved sucessfully, with no error or prompt, using
an encoding of utf-8 -- despite my having explicitly requested latin-1.
This doesn't seem right...
-Miles
--
Patience, n. A minor form of despair, disguised as a virtue.
Merged 2317 2318.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Fri, 13 Feb 2009 04:10:05 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2317
; Package
emacs
.
(Sun, 15 Mar 2009 16:20:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Chong Yidong <cyd <at> stupidchicken.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sun, 15 Mar 2009 16:20:03 GMT)
Full text and
rfc822 format available.
Message #12 received at 2317 <at> emacsbugs.donarmstrong.com (full text, mbox):
> (1) Start emacs -Q
> (2) Visit "/tmp/fff"
> (3) Insert the following chars: "θϑΘ"
> (4) Set the buffer file encoding to latin1 with: C-x C-m f latin-1 RET
> (5) Save the buffer: C-x C-s
>
> For me, "/tmp/fff" is saved sucessfully, with no error or prompt, using
> an encoding of utf-8 -- despite my having explicitly requested latin-1.
I think this bug may have been fixed. ISTR seeing the same result when
I tested with your recipe a few weeks ago. With latest CVS, however, I
get a "Select coding system" prompt. Can you confirm?
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2317
; Package
emacs
.
(Tue, 17 Mar 2009 08:55:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Sven Joachim <svenjoac <at> gmx.de>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 17 Mar 2009 08:55:05 GMT)
Full text and
rfc822 format available.
Message #17 received at 2317 <at> emacsbugs.donarmstrong.com (full text, mbox):
On 2009-03-15 17:12 +0100, Chong Yidong wrote:
>> (1) Start emacs -Q
>> (2) Visit "/tmp/fff"
>> (3) Insert the following chars: "θϑΘ"
>> (4) Set the buffer file encoding to latin1 with: C-x C-m f latin-1 RET
>> (5) Save the buffer: C-x C-s
>>
>> For me, "/tmp/fff" is saved sucessfully, with no error or prompt, using
>> an encoding of utf-8 -- despite my having explicitly requested latin-1.
>
> I think this bug may have been fixed. ISTR seeing the same result when
> I tested with your recipe a few weeks ago. With latest CVS, however, I
> get a "Select coding system" prompt. Can you confirm?
This has been fixed on March 3 by Handa-san, see [1]. However, this fix
has side effects that I find very annoying: if I visit a file containing
only ASCII characters and insert non-ASCII characters into the buffer,
the "Select coding system" prompt pops up as well, although I never
asked about a specific coding system and would be completely satisfied
with Emacs silently choosing UTF-8[2] in that case.
1. http://lists.gnu.org/archive/html/emacs-devel/2009-03/msg00011.html
2. Or whatever the preferred coding system for new files happens to be.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2317
; Package
emacs
.
(Wed, 18 Mar 2009 07:40:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kenichi Handa <handa <at> m17n.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 18 Mar 2009 07:40:07 GMT)
Full text and
rfc822 format available.
Message #22 received at 2317 <at> emacsbugs.donarmstrong.com (full text, mbox):
In article <87hc1sy1qk.fsf <at> turtle.gmx.de>, Sven Joachim <svenjoac <at> gmx.de> writes:
> On 2009-03-15 17:12 +0100, Chong Yidong wrote:
>>> (1) Start emacs -Q
>>> (2) Visit "/tmp/fff"
>>> (3) Insert the following chars: "θϑΘ"
>>> (4) Set the buffer file encoding to latin1 with: C-x C-m f latin-1 RET
>>> (5) Save the buffer: C-x C-s
>>>
>>> For me, "/tmp/fff" is saved sucessfully, with no error or prompt, using
>>> an encoding of utf-8 -- despite my having explicitly requested latin-1.
> >
> > I think this bug may have been fixed. ISTR seeing the same result when
> > I tested with your recipe a few weeks ago. With latest CVS, however, I
> > get a "Select coding system" prompt. Can you confirm?
> This has been fixed on March 3 by Handa-san, see [1]. However, this fix
> has side effects that I find very annoying: if I visit a file containing
> only ASCII characters and insert non-ASCII characters into the buffer,
> the "Select coding system" prompt pops up as well, although I never
> asked about a specific coding system and would be completely satisfied
> with Emacs silently choosing UTF-8[2] in that case.
Oops, this is surely a bad side effect. I've just fixed it.
---
Kenichi Handa
handa <at> m17n.org
bug closed, send any further explanations to Miles Bader <miles <at> gnu.org>
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 18 Mar 2009 13:25:05 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Wed, 15 Apr 2009 14:24:11 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 25 Jan 2010 19:56:02 GMT)
Full text and
rfc822 format available.
Disconnected #2318 from all other report(s).
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 25 Jan 2010 19:56:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <bug-gnu-emacs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 23 Feb 2010 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.