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#4837: with-fewer-warnings ? Date: Mon, 09 Nov 2009 09:38:45 -0500 Message-ID: References: Reply-To: Stefan Monnier , 4837@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 1257778063 11215 80.91.229.12 (9 Nov 2009 14:47:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Nov 2009 14:47:43 +0000 (UTC) Cc: 4837@emacsbugs.donarmstrong.com, rms@gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 09 15:47:35 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 1N7VWm-000767-5C for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Nov 2009 15:47:32 +0100 Original-Received: from localhost ([127.0.0.1]:43458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7VWl-00060O-ON for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Nov 2009 09:47:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7VWh-0005ze-IG for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 09:47:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7VWc-0005xr-NY for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 09:47:26 -0500 Original-Received: from [199.232.76.173] (port=47418 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7VWc-0005xo-Kq for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 09:47:22 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35130) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N7VWc-0000Z7-4J for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 09:47:22 -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 nA9ElHwG023110; Mon, 9 Nov 2009 06:47:20 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nA9Ej6nP022854; Mon, 9 Nov 2009 06:45:06 -0800 Resent-Date: Mon, 9 Nov 2009 06:45:06 -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, 09 Nov 2009 14:45:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4837 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4837-submit@emacsbugs.donarmstrong.com id=B4837.125777753422225 (code B ref 4837); Mon, 09 Nov 2009 14:45:06 +0000 Original-Received: (at 4837) by emacsbugs.donarmstrong.com; 9 Nov 2009 14:38:54 +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 nA9EcqPq022214 for <4837@emacsbugs.donarmstrong.com>; Mon, 9 Nov 2009 06:38:53 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEANu390pMCpsp/2dsb2JhbACBTtt+hD4EiRU X-IronPort-AV: E=Sophos;i="4.44,708,1249272000"; d="scan'208";a="48911172" Original-Received: from 76-10-155-41.dsl.teksavvy.com (HELO pastel.home) ([76.10.155.41]) by ironport2-out.pppoe.ca with ESMTP; 09 Nov 2009 09:38:46 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id EA63D7F0F; Mon, 9 Nov 2009 09:38:45 -0500 (EST) In-Reply-To: (Glenn Morris's message of "Mon, 09 Nov 2009 03:45:24 -0500") 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, 09 Nov 2009 09:47:26 -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:32493 Archived-At: >> I think it isn't worth doing, > (I'd already done it, locally, before posting.) >> because it would only gain you very much if you put a lot of code >> inside with-no-warnings; we avoid doing that. > Perhaps because it is such a blunt instrument. This would make it a > bit less blunt. I don't claim this is important, but it is easy to > implement. > In the _implementation_ of an obsolete feature, it's ok to use an > obsolete variable and there is no need to be warned about it being > obsolete. However, you should still be warned about the variable not > being defined, in case you remove it altogether but forget to update > the code that uses it. Actually, I think I agree (I hate with-no-warnings), but it should be even more precise, and specify which obsolete warning to silence. Stefan