From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: autoloads for safe-local-variables (was: allout patch - more safe-local-variables, plus autoloads) Date: Fri, 21 Apr 2006 09:07:31 -0400 Message-ID: References: <2cd46e7f0604171211s5ef0e820gebc4e68b2ce2606d@mail.gmail.com> <2cd46e7f0604191608o52f500ferc1955a131bd5fde4@mail.gmail.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1145624981 7149 80.91.229.2 (21 Apr 2006 13:09:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Apr 2006 13:09:41 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 21 15:09:38 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FWvNl-00009e-N4 for ged-emacs-devel@m.gmane.org; Fri, 21 Apr 2006 15:09:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWvNl-0007Qx-5s for ged-emacs-devel@m.gmane.org; Fri, 21 Apr 2006 09:09:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FWvMD-0006mE-Il for emacs-devel@gnu.org; Fri, 21 Apr 2006 09:07:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FWvMC-0006li-IH for emacs-devel@gnu.org; Fri, 21 Apr 2006 09:07:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWvMC-0006lU-7P for emacs-devel@gnu.org; Fri, 21 Apr 2006 09:07:32 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FWvNk-0004rr-T3 for emacs-devel@gnu.org; Fri, 21 Apr 2006 09:09:09 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FWvMB-00005F-FH; Fri, 21 Apr 2006 09:07:31 -0400 Original-To: Reiner Steib In-reply-to: (message from Reiner Steib on Thu, 20 Apr 2006 20:49:27 +0200) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53188 Archived-At: > +;;;###autoload > +(put 'allout-show-bodies 'safe-local-variable t) In my commits, I've put in the same line... ;;;###autoload(put 'page-delimiter 'safe-local-variable t) The first one executes the code at startup and again when the file is loaded. The second one executes the code at startup and does not execute it when the file is loaded. (It is in a comment, after all.) For these properties, I see no reason to execute it again when the file is loaded, so the second form seems better.