unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Eric Twietmeyer" <zimbus26@yahoo.com>
Subject: Re: enable-local-variables
Date: 1 Jan 2007 14:21:55 -0800	[thread overview]
Message-ID: <1167690115.804570.275440@k21g2000cwa.googlegroups.com> (raw)
In-Reply-To: mailman.2620.1167684196.2155.help-gnu-emacs@gnu.org

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 <sdl.web AT gmail.com>                         (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

      parent reply	other threads:[~2007-01-01 22:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-01 20:04 enable-local-variables Eric Twietmeyer
2007-01-01 20:43 ` enable-local-variables Leo
2007-01-01 21:45 ` enable-local-variables Ralf Angeli
2007-01-01 22:27   ` enable-local-variables Eric Twietmeyer
2007-01-01 22:50     ` enable-local-variables Ralf Angeli
2007-01-02  0:21       ` enable-local-variables Eric Twietmeyer
2007-01-02  2:21         ` enable-local-variables Eric Twietmeyer
2007-01-02  6:56           ` enable-local-variables Ralf Angeli
2007-01-02 14:55             ` enable-local-variables Eric Twietmeyer
     [not found] ` <mailman.2620.1167684196.2155.help-gnu-emacs@gnu.org>
2007-01-01 22:21   ` Eric Twietmeyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1167690115.804570.275440@k21g2000cwa.googlegroups.com \
    --to=zimbus26@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).