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 11:47:58 -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> 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 1477162168 2405 195.159.176.226 (22 Oct 2016 18:49:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Oct 2016 18:49:28 +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 Sat Oct 22 20:49:23 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 1by1Lz-0006q9-HC for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Oct 2016 20:49:11 +0200 Original-Received: from localhost ([::1]:38346 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1by1M1-0004hy-PG for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Oct 2016 14:49:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1by1Lv-0004hi-IE for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 14:49:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1by1Lq-0001s4-N7 for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 14:49:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59393) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1by1Lq-0001rp-JV for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 14:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1by1Lq-0005Cv-0R for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 14:49: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: Sat, 22 Oct 2016 18:49:01 +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.147716208719944 (code B ref 24759); Sat, 22 Oct 2016 18:49:01 +0000 Original-Received: (at 24759) by debbugs.gnu.org; 22 Oct 2016 18:48:07 +0000 Original-Received: from localhost ([127.0.0.1]:46559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1by1Kx-0005Bb-4C for submit@debbugs.gnu.org; Sat, 22 Oct 2016 14:48:07 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:49368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1by1Kv-0005B5-7X for 24759@debbugs.gnu.org; Sat, 22 Oct 2016 14:48:05 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1FE971612C0; Sat, 22 Oct 2016 11:47:59 -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 wIGdAzjYxEGL; Sat, 22 Oct 2016 11:47:58 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 67DC6161373; Sat, 22 Oct 2016 11:47:58 -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 cy8eo9f5VrgO; Sat, 22 Oct 2016 11:47:58 -0700 (PDT) Original-Received: from [192.168.1.9] (unknown [47.153.178.162]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 471E81612C0; Sat, 22 Oct 2016 11:47:58 -0700 (PDT) In-Reply-To: <83shrori8z.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:124845 Archived-At: 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 impro= ve >> > 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=20 default to chinese-iso-8bit in a unibyte French-language environment mere= ly=20 because the buffer has a curved quote. That can't be what a typical Frenc= h user=20 wants. The problem can be reproduced without electric-quote mode, as follows: LC_ALL=3Dfr_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=20 notified when I type it, not ages later when I save the buffer. This shou= ld be=20 done independently of whether electric-quote mode is in use.