GNU bug report logs - #24759
25.1.50; electric-quote-mode

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Fri, 21 Oct 2016 19:39:02 UTC

Severity: minor

Found in version 25.1.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 24759 <at> debbugs.gnu.org, dmoncayo <at> gmail.com
Subject: bug#24759: 25.1.50; electric-quote-mode
Date: Sat, 22 Oct 2016 11:47:58 -0700
Eli Zaretskii wrote:
>> when I
>> > later save the file Emacs will say "Select coding system (default
>> > chinese-iso-8bit): ". This is hardly user-friendly, even if we improve
>> > Emacs to guess UTF-8, as there may be a long interval between typing `
>> > and saving the buffer.
> This is standard Emacs behavior.

If it is, then the standard behavior is wrong. For starters, Emacs should not 
default to chinese-iso-8bit in a unibyte French-language environment merely 
because the buffer has a curved quote. That can't be what a typical French user 
wants.

The problem can be reproduced without electric-quote mode, as follows:

LC_ALL=fr_FR.iso88591 emacs -Q newfile
C-x 8 [ RET
C-x C-s


More generally, if I type any character that won't be saved, I should be 
notified when I type it, not ages later when I save the buffer. This should be 
done independently of whether electric-quote mode is in use.




This bug report was last modified 8 years and 271 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.