From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stuart D. Herring" Newsgroups: gmane.emacs.devel Subject: Re: turn off safe-local-variable-values checking Date: Thu, 13 Apr 2006 08:04:02 -0700 (PDT) Message-ID: <42337.128.165.123.132.1144940642.squirrel@webmail.lanl.gov> References: <9508491d0603300327i6da294bcp553f2f48df85d65f@mail.gmail.com><8764lue3jv.fsf-monnier+emacs@gnu.org><9508491d0604021712r78136dco5e33b05a3d39109b@mail.gmail.com><87y7ynjt1y.fsf-monnier+emacs@gnu.org> <41262.128.165.123.132.1144865598.squirrel@webmail.lanl.gov> Reply-To: herring@lanl.gov NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1144940672 29723 80.91.229.2 (13 Apr 2006 15:04:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Apr 2006 15:04:32 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 13 17:04:29 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 1FU3Mx-0007zv-6T for ged-emacs-devel@m.gmane.org; Thu, 13 Apr 2006 17:04:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FU3Mw-0001Pm-R5 for ged-emacs-devel@m.gmane.org; Thu, 13 Apr 2006 11:04:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FU3Mh-0001NW-EN for emacs-devel@gnu.org; Thu, 13 Apr 2006 11:04:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FU3Mg-0001Mq-Dx for emacs-devel@gnu.org; Thu, 13 Apr 2006 11:04:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FU3Mg-0001Mm-Ab for emacs-devel@gnu.org; Thu, 13 Apr 2006 11:04:10 -0400 Original-Received: from [192.65.95.54] (helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FU3S0-0006BY-72; Thu, 13 Apr 2006 11:09:40 -0400 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailwasher-b.lanl.gov (8.12.11.20060308/8.12.11/(ccn-5)) with ESMTP id k3DF43IA016082; Thu, 13 Apr 2006 09:04:04 -0600 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay2.lanl.gov (8.12.11.20060308/8.12.11/(ccn-5)) with ESMTP id k3DF422g010027; Thu, 13 Apr 2006 09:04:02 -0600 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id k3DF423k015426; Thu, 13 Apr 2006 09:04:02 -0600 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id k3DF427S015423; Thu, 13 Apr 2006 08:04:02 -0700 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.132 (SquirrelMail authenticated user 196434); by webmail.lanl.gov with HTTP; Thu, 13 Apr 2006 08:04:02 -0700 (PDT) In-Reply-To: Original-To: "Richard M. Stallman" User-Agent: SquirrelMail/1.4.3a-11.EL3 X-Mailer: SquirrelMail/1.4.3a-11.EL3 X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.1.128075 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:52824 Archived-At: > I think normal-mode, when called manually, should always obey all the > file local variables. But what do others think? I've been opposed to automatic file locals in the past, so I may be biased. But my thoughts are that normal-mode should do exactly what find-file does automatically (so you can use it if you change the local variables, or add a #! line, etc., without security concerns), and then if we really want to have a "force everything", use C-u M-x normal-mode. (normal-mode does not currently use a prefix argument.) Another (minor) reason it's useful to call normal-mode without forcing all variables is that it sets fundamental-mode if the current buffer just inherited a mode (via default-major-mode being nil). Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.