From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#4837: with-fewer-warnings ? Date: Mon, 09 Nov 2009 21:09:43 -0500 Message-ID: <4ivdhjxh94.fsf@fencepost.gnu.org> References: Reply-To: Glenn Morris , 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 1257820060 19627 80.91.229.12 (10 Nov 2009 02:27:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Nov 2009 02:27:40 +0000 (UTC) Cc: 4837@emacsbugs.donarmstrong.com, rms@gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 10 03:27:33 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 1N7gSC-0007iP-MD for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Nov 2009 03:27:32 +0100 Original-Received: from localhost ([127.0.0.1]:55209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7gSC-0005BP-75 for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Nov 2009 21:27:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7gS5-0005A2-OC for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 21:27:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7gS1-00058H-8z for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 21:27:25 -0500 Original-Received: from [199.232.76.173] (port=41395 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7gS0-00057y-Un for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 21:27:20 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46611) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N7gS0-0002hO-9n for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2009 21:27:20 -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 nAA2RHQN024629; Mon, 9 Nov 2009 18:27:17 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAA2F6up023279; Mon, 9 Nov 2009 18:15:06 -0800 Resent-Date: Mon, 9 Nov 2009 18:15:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 10 Nov 2009 02:15: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.125781898522711 (code B ref 4837); Tue, 10 Nov 2009 02:15:06 +0000 Original-Received: (at 4837) by emacsbugs.donarmstrong.com; 10 Nov 2009 02:09:45 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAA29i2d022708 for <4837@emacsbugs.donarmstrong.com>; Mon, 9 Nov 2009 18:09:45 -0800 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1N7gAx-00010G-EO; Mon, 09 Nov 2009 21:09:43 -0500 X-Spook: John Kerry AUTODIN militia SP4 Lon Horiuchi Belknap X-Ran: MCoE,@rI?LsFTxRA~5R?*br(Dm@b;&zm,j\=gc-mAjoU*x#!jlt.+:]gb_~^p/@"yRwNQ9 X-Hue: yellow X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 09 Nov 2009 21:27:25 -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:32504 Archived-At: Stefan Monnier wrote: > Actually, I think I agree (I hate with-no-warnings), but it should be > even more precise, and specify which obsolete warning to silence. Do you mean, specify precisely which obsolete variable/function(s) not to warn about? That's probably doable via byte-compile-not-obsolete-vars/funcs, I'll have a look. A syntax like this? (with-suppressed-warnings '((obsolete read-file-name-predicate ...) cl-functions ...) body) Although the motivation for this was not _just_ obsolete warnings, and it might not be so simple to extend your request to eg specific free variables.