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: Add M-x occur to the menu-bar Date: 13 Feb 2004 16:04:02 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <4nisixjibl.fsf@collins.bwh.harvard.edu> <20040127230323.GB5407@fencepost> <4n7jzc919v.fsf@collins.bwh.harvard.edu> <4nn085i7nl.fsf@collins.bwh.harvard.edu> <4noese37h0.fsf@collins.bwh.harvard.edu> <4nbrodxwqm.fsf@collins.bwh.harvard.edu> <4n8yjcccvj.fsf@collins.bwh.harvard.edu> <4nwu6sp7ni.fsf@collins.bwh.harvard.edu> <4nr7x0ox3l.fsf@collins.bwh.harvard.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1076706378 31737 80.91.224.253 (13 Feb 2004 21:06:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2004 21:06:18 +0000 (UTC) Cc: Ted Zlatanov , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Feb 13 22:06:05 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ArkVh-0001Ap-00 for ; Fri, 13 Feb 2004 22:06:05 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ArkVg-00059U-00 for ; Fri, 13 Feb 2004 22:06:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ArkUR-0005Wa-Of for emacs-devel@quimby.gnus.org; Fri, 13 Feb 2004 16:04:47 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ArkUL-0005W4-86 for emacs-devel@gnu.org; Fri, 13 Feb 2004 16:04:41 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ArkTp-0005P4-Ii for emacs-devel@gnu.org; Fri, 13 Feb 2004 16:04:40 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ArkTp-0005P1-9R for emacs-devel@gnu.org; Fri, 13 Feb 2004 16:04:09 -0500 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id A6C6E21067; Fri, 13 Feb 2004 16:04:02 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 761BE8C70D; Fri, 13 Feb 2004 16:04:02 -0500 (EST) Original-To: Andreas Schwab In-Reply-To: Original-Lines: 12 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.9, requis 5, BAYES_00 -4.90) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19928 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19928 > This can be fixed with > ;;;###autoload (make-variable-buffer-local 'compilation-next-error-function) Sure. But it still won't work if some code does a setq on this variable before loaddefs.el is loaded ;-) Anyway, my only point is that it's more delicate to use and has non-obvious pitfalls, so it's better to keep it for the cases where it's really "the right thing". Stefan