GNU bug report logs -
#24759
25.1.50; electric-quote-mode
Previous Next
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
Message #44 received at 24759 <at> debbugs.gnu.org (full text, mbox):
> Date: Sat, 22 Oct 2016 22:04:28 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 24759 <at> debbugs.gnu.org
>
> > For starters, Emacs should not default to chinese-iso-8bit in a
> > unibyte French-language environment merely because the buffer has a
> > curved quote.
>
> Emacs collects all the encodings that can handle all of the
> characters, then sorts them; chinese-iso-8bit is just the one that
> comes up first in the sorted order. If you are hinting that UTF-8
> should come up first, we should just change the sorting order, that's
> all.
>
> > That can't be what a typical French user wants.
>
> We have no idea what the user might want. We can guess at best, and
> offer the list of the alternatives from which to choose. Which is
> what we do.
Please also note that by the time this prompt is displayed, Emacs has
already tried to see whether several default encodings corresponding
to the user locale and preferences can encode the text, and the answer
was NO (this information is included in the buffer popped up to the
user). If one of the default encodings could encode the text, Emacs
would have used it without asking any questions.
Once we have tried all those defaults, and found they cannot do the
job, we've exhausted our potential of guessing "what the user wants"
reliably, so we must now ask the user to tell us that.
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.