From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: gnus/html2text.el Date: Tue, 26 Oct 2004 21:35:28 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <87acu9osia.fsf-monnier+emacs@gnu.org> References: <200410250246.i9P2kku06530@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098841006 28651 80.91.229.6 (27 Oct 2004 01:36:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Oct 2004 01:36:46 +0000 (UTC) Cc: Luc Teirlinck , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 27 03:36:30 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CMcjm-0005Mn-00 for ; Wed, 27 Oct 2004 03:36:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMcrV-0002R5-EC for ged-emacs-devel@m.gmane.org; Tue, 26 Oct 2004 21:44:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CMcrL-0002Qt-4X for emacs-devel@gnu.org; Tue, 26 Oct 2004 21:44:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CMcrK-0002QU-9I for emacs-devel@gnu.org; Tue, 26 Oct 2004 21:44:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMcrK-0002QR-6D for emacs-devel@gnu.org; Tue, 26 Oct 2004 21:44:18 -0400 Original-Received: from [209.226.175.25] (helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMcj2-0003QO-2m; Tue, 26 Oct 2004 21:35:44 -0400 Original-Received: from alfajor ([67.71.35.140]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20041027013527.DFNC29162.tomts5-srv.bellnexxia.net@alfajor>; Tue, 26 Oct 2004 21:35:27 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id AF3D1D7328; Tue, 26 Oct 2004 21:35:28 -0400 (EDT) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "Wed, 27 Oct 2004 00:31:07 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29005 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29005 >>> Perhaps we should arrange for byte-compile to warn about use >>> of these functions from Lisp code. What do people think of that? >> >> That sounds like a good idea. We need a way to cleanly turn off the >> message, but for end-of-buffer we can use (call-interactively >> 'end-of-buffer). > (with-no-warnings (end-of-buffer)) OK, that's a possibility. It would be better to have something more specific so that it is clear what is happening. Specificity becomes relevant in cases like: (with-no-warnings (ent-of-buffer)) which will not give you the warning you'd want to get. Maybe `with-no-warnings' should take an extra argument listing the kind of warning to ignore. Stefan