* bug#2317: emacs silently ignores buffer file encoding?
@ 2009-03-15 16:12 Chong Yidong
2009-03-17 8:47 ` Sven Joachim
0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2009-03-15 16:12 UTC (permalink / raw
To: Miles Bader; +Cc: 2317
> (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?
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#2317: emacs silently ignores buffer file encoding?
2009-03-15 16:12 bug#2317: emacs silently ignores buffer file encoding? Chong Yidong
@ 2009-03-17 8:47 ` Sven Joachim
2009-03-18 7:32 ` Kenichi Handa
0 siblings, 1 reply; 4+ messages in thread
From: Sven Joachim @ 2009-03-17 8:47 UTC (permalink / raw
To: Chong Yidong; +Cc: 2317, Miles Bader
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#2317: emacs silently ignores buffer file encoding?
2009-03-17 8:47 ` Sven Joachim
@ 2009-03-18 7:32 ` Kenichi Handa
0 siblings, 0 replies; 4+ messages in thread
From: Kenichi Handa @ 2009-03-18 7:32 UTC (permalink / raw
To: Sven Joachim; +Cc: cyd, 2317, miles.bader
In article <87hc1sy1qk.fsf@turtle.gmx.de>, Sven Joachim <svenjoac@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@m17n.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#2317: emacs silently ignores buffer file encoding?
@ 2009-02-12 5:25 Miles Bader
0 siblings, 0 replies; 4+ messages in thread
From: Miles Bader @ 2009-02-12 5:25 UTC (permalink / raw
To: emacs-devel
(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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-03-18 7:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-15 16:12 bug#2317: emacs silently ignores buffer file encoding? Chong Yidong
2009-03-17 8:47 ` Sven Joachim
2009-03-18 7:32 ` Kenichi Handa
-- strict thread matches above, loose matches on Subject: below --
2009-02-12 5:25 Miles Bader
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.