From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric Twietmeyer" Newsgroups: gmane.emacs.help Subject: Re: enable-local-variables Date: 1 Jan 2007 14:21:55 -0800 Organization: http://groups.google.com Message-ID: <1167690115.804570.275440@k21g2000cwa.googlegroups.com> References: <1167681848.399172.255500@h40g2000cwb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1167691265 16723 80.91.229.12 (1 Jan 2007 22:41:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Jan 2007 22:41:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 01 23:41:01 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H1Vq0-0000QE-VY for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Jan 2007 23:41:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H1Vq0-0007j8-Co for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Jan 2007 17:41:00 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!k21g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 69.254.192.192 Original-X-Trace: posting.google.com 1167690119 25080 127.0.0.1 (1 Jan 2007 22:21:59 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 1 Jan 2007 22:21:59 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: k21g2000cwa.googlegroups.com; posting-host=69.254.192.192; posting-account=X4mNGgwAAABKvPB38ntAu46e-VHbLqgS Original-Xref: shelby.stanford.edu gnu.emacs.help:144483 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40086 Archived-At: Leo wrote: > * Eric Twietmeyer (2007-01-01 12:04 -0800) said: > ^^^^^^^^^^^^^^^ > > Hi, > > > > I just upgraded to emacs 22.0.92.1. I write C++ code and there is a > > local variable "typedefs" that is used for syntax highlighting. Now > > that I have upgraded I find that every buffer I open that has this > > local variable "typedefs" in it I am presented with a dialog asking > > that I confirm that the local variable is "safe". > > If you answer '!', it will be saved to your custom file. > > -- > Leo (GPG Key: 9283AA3F) I have done this of course, but it didn't seem to do anything. When I closed emacs and then restarted (I use the .emacs.desktop file to save state), all of the same visited files resulted in the same question. Since I keep many dozens of open files at a time, this means hitting "!" several dozen times each time I start emacs. Even if this were working correctly (which custom file should it be creating?), I fear that the overhead of parsing this each time I visit a buffer would lead to high overhead. Anyway, there is never a need to query about this "typedefs" local variable. It is always safe, regardless of its value. Thanks, -Eric Twietmeyer