From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4816: change of coding system without inquiry Date: Mon, 02 Nov 2009 02:05:41 -0500 Message-ID: References: <4AE77C59.5060106@informatik.uni-muenchen.de> <4AEAE7F8.6010609@informatik.uni-muenchen.de> <83fx8yccxp.fsf@gnu.org> Reply-To: Stefan Monnier , 4816@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1257146882 20270 80.91.229.12 (2 Nov 2009 07:28:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Nov 2009 07:28:02 +0000 (UTC) Cc: 4816@emacsbugs.donarmstrong.com, eisinger@informatik.uni-muenchen.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 02 08:27:55 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N4rKU-0005GY-Ec for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Nov 2009 08:27:54 +0100 Original-Received: from localhost ([127.0.0.1]:38925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4rKT-0004jy-Nx for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Nov 2009 02:27:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4rJz-0004MK-LL for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2009 02:27:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4rJu-0004Iu-W8 for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2009 02:27:23 -0500 Original-Received: from [199.232.76.173] (port=32773 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4rJu-0004If-I8 for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2009 02:27:18 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56254) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N4rJu-0004hU-51 for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2009 02:27:18 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA27RFC8013137; Sun, 1 Nov 2009 23:27:15 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nA27F4ia011299; Sun, 1 Nov 2009 23:15:04 -0800 Resent-Date: Sun, 1 Nov 2009 23:15:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 02 Nov 2009 07:15:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4816 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4816-submit@emacsbugs.donarmstrong.com id=B4816.125714555010576 (code B ref 4816); Mon, 02 Nov 2009 07:15:04 +0000 Original-Received: (at 4816) by emacsbugs.donarmstrong.com; 2 Nov 2009 07:05:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.181]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA275mOl010565 for <4816@emacsbugs.donarmstrong.com>; Sun, 1 Nov 2009 23:05:49 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsgEAPMS7kpFpYlL/2dsb2JhbACBT9dqhDkEiGY X-IronPort-AV: E=Sophos;i="4.44,664,1249272000"; d="scan'208";a="48519636" Original-Received: from 69-165-137-75.dsl.teksavvy.com (HELO ceviche.home) ([69.165.137.75]) by ironport2-out.pppoe.ca with ESMTP; 02 Nov 2009 02:05:42 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 6B16870040; Mon, 2 Nov 2009 02:05:41 -0500 (EST) In-Reply-To: <83fx8yccxp.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 01 Nov 2009 20:33:38 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 02 Nov 2009 02:27:23 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32361 Archived-At: >> I think you're right that we should at least do a y-or-n-p prompt >> when changing the buffer-file-coding-system, unless the change is to >> a "superset coding system" (like from us-ascii to latin-1). > FWIW, in the past users explicitly expressed annoyance by these > questions. The request was to use the "native" encoding silently. > By introducing back this question, we are restoring that annoyance. IIRC, the annoyance was only when saving a formerly us-ascii file (typical example: an empty or not-yet-existing file). But, yes, I know this is delicate. Stefan