unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Emacs Bugs <bug-gnu-emacs@gnu.org>
Subject: bug#5003: Allow marking a local variable as permanently unsafe
Date: Sat, 21 Nov 2009 13:14:36 +0100	[thread overview]
Message-ID: <e01d8a50911210414n6d59eebfq9d986b7462c76cf0@mail.gmail.com> (raw)

When you open a file with a local variable list you may get a warning like this:

The local variables list in ess-mous.el
contains values that may not be safe (*).

Do you want to apply it?  You can type
y  -- to apply the local variables list.
n  -- to ignore the local variables list.
!  -- to apply the local variables list, and permanently mark these
      values (*) as safe (in the future, they will be set automatically.)

  * outline-minor-mode : nil
    mode : outline-minor
    outline-regexp : "\f\\|\\`;\\|;;\\*\\|;;;\\*\\|(def[cvu]\\|(setq\\|;;;;\\*"


You can get rid of this warning by allowing those variable permanently
(which is good for your own files), but wouldn't it be good to be able
to also permanently disallow those warnings (for other peoples files)
from this prompt?






             reply	other threads:[~2009-11-21 12:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-21 12:14 Lennart Borgman [this message]
2009-11-23  3:50 ` bug#5003: Allow marking a local variable as permanently unsafe Stefan Monnier
2021-07-18 15:18   ` Lars Ingebrigtsen

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=e01d8a50911210414n6d59eebfq9d986b7462c76cf0@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=5003@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).