From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: turn off safe-local-variable-values checking Date: Wed, 05 Apr 2006 09:01:00 -0400 Message-ID: <87slosgov3.fsf-monnier+emacs@gnu.org> References: <9508491d0603300327i6da294bcp553f2f48df85d65f@mail.gmail.com> <8764lue3jv.fsf-monnier+emacs@gnu.org> <9508491d0604021712r78136dco5e33b05a3d39109b@mail.gmail.com> <87y7ynjt1y.fsf-monnier+emacs@gnu.org> <87odzhhxxo.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144242117 12611 80.91.229.2 (5 Apr 2006 13:01:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Apr 2006 13:01:57 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 05 15:01:54 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 1FR7dh-00044v-W7 for ged-emacs-devel@m.gmane.org; Wed, 05 Apr 2006 15:01:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FR7dh-00052d-KU for ged-emacs-devel@m.gmane.org; Wed, 05 Apr 2006 09:01:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FR7dA-0004yN-7l for emacs-devel@gnu.org; Wed, 05 Apr 2006 09:01:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FR7d8-0004wB-Nc for emacs-devel@gnu.org; Wed, 05 Apr 2006 09:01:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FR7d8-0004vz-EQ for emacs-devel@gnu.org; Wed, 05 Apr 2006 09:01:02 -0400 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FR7ge-0006un-69 for emacs-devel@gnu.org; Wed, 05 Apr 2006 09:04:40 -0400 Original-Received: from alfajor ([70.55.147.51]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060405130101.ORUP28586.tomts25-srv.bellnexxia.net@alfajor>; Wed, 5 Apr 2006 09:01:01 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 8613CD7946; Wed, 5 Apr 2006 09:01:00 -0400 (EDT) Original-To: emacs-devel@gnu.org In-Reply-To: (Reiner Steib's message of "Wed, 05 Apr 2006 10:19:46 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.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: , 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:52439 Archived-At: > ;; For variables defined by minor modes, put the safety declarations > ;; here, not in the file defining the minor mode (when Emacs visits a > ;; file specifying that local variable, the minor mode file may not be > ;; loaded yet). For variables defined by major modes, the safety > ;; declarations can go into the major mode's file, since that will be > ;; loaded before file variables are processed. Interesting. I'd have to disagree: put it/them in the minor mode's file, but with an ;;;###autoload cookie. I think it's important to put those safe-local-variable properties at the same spot as where the variable is declared. Stefan