From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#24759: 25.1.50; electric-quote-mode Date: Sat, 22 Oct 2016 21:10:08 -0700 Organization: UCLA Computer Science Department Message-ID: References: <83wph1qxrw.fsf@gnu.org> <74d0a4a5-014e-b365-9d89-ad03a7fc6430@cs.ucla.edu> <83shrori8z.fsf@gnu.org> <83mvhwp5mr.fsf@gnu.org> <83k2d0p485.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1477195909 2971 195.159.176.226 (23 Oct 2016 04:11:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 23 Oct 2016 04:11:49 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 Cc: 24759@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 23 06:11:45 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byA7q-0004im-5S for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Oct 2016 06:11:10 +0200 Original-Received: from localhost ([::1]:39605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byA7s-0000vk-DY for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Oct 2016 00:11:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byA7m-0000vR-0b for bug-gnu-emacs@gnu.org; Sun, 23 Oct 2016 00:11:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byA7i-0006qr-Rl for bug-gnu-emacs@gnu.org; Sun, 23 Oct 2016 00:11:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59598) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1byA7i-0006qn-O4 for bug-gnu-emacs@gnu.org; Sun, 23 Oct 2016 00:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1byA7i-0005O5-GH for bug-gnu-emacs@gnu.org; Sun, 23 Oct 2016 00:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Oct 2016 04:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24759 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24759-submit@debbugs.gnu.org id=B24759.147719581520650 (code B ref 24759); Sun, 23 Oct 2016 04:11:02 +0000 Original-Received: (at 24759) by debbugs.gnu.org; 23 Oct 2016 04:10:15 +0000 Original-Received: from localhost ([127.0.0.1]:46763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byA6x-0005Mz-EB for submit@debbugs.gnu.org; Sun, 23 Oct 2016 00:10:15 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:38486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byA6w-0005Mj-Lo for 24759@debbugs.gnu.org; Sun, 23 Oct 2016 00:10:14 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3EE5F160017; Sat, 22 Oct 2016 21:10:09 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id YrSbpriowenq; Sat, 22 Oct 2016 21:10:08 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 80DA8160F6E; Sat, 22 Oct 2016 21:10:08 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id diztESn1tKak; Sat, 22 Oct 2016 21:10:08 -0700 (PDT) Original-Received: from [192.168.1.9] (unknown [47.153.178.162]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 6548616026B; Sat, 22 Oct 2016 21:10:08 -0700 (PDT) In-Reply-To: <83k2d0p485.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124867 Archived-At: Eli Zaretskii wrote: > 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. It is odd that Emacs uses UTF-8 without questions in the C locale, but pr= ompts=20 and suggest a Chinese encoding in a unibyte French locale. > It was like that since Emacs 20.1. I don't see what changed now that > it's suddenly a problem. Emacs is now more likely to have non-unibyte text, partly due to its fanc= ier=20 quoting and partly because Unicode is more ubiquitous than it was in 1997= when=20 Emacs 20.1 was released. So the problem is more likely to occur now. > If you are hinting that UTF-8 should come up first UTF-8 should be the most-preferred multibyte encoding nowadays, unless th= ere is=20 a reasonable indication that the user prefers something else. In a unibyt= e=20 European locale, UTF-8 should be the first-listed multibyte encoding by d= efault. > Most buffers will never be saved. For buffers that don't correspond to files, we needn't bother with any of= this=20 checking. But for buffers that correspond to files with restrictive encod= ings,=20 it would be helpful to warn users earlier rather than later about this so= rt of=20 problem. It's a bit like spelling checking. Many users prefer checking spelling on= the=20 fly, rather than checking only when you save the file.