From: Eli Zaretskii <eliz@gnu.org>
To: Tom Tromey <tromey@redhat.com>
Cc: yao@codesourcery.com, gdb-patches@sourceware.org
Subject: Re: RFC: add .dir-locals.el
Date: Fri, 13 Apr 2012 15:37:00 -0000 [thread overview]
Message-ID: <83iph33bgv.fsf@gnu.org> (raw)
In-Reply-To: <87k41kzp1k.fsf@fleche.redhat.com>
> From: Tom Tromey <tromey@redhat.com>
> Cc: Yao Qi <yao@codesourcery.com>, gdb-patches@sourceware.org
> Date: Thu, 12 Apr 2012 14:13:43 -0600
>
> You can set a property on a symbol to make it safe in some situations.
> This would normally be done via a patch to Emacs, but one can also do it
> temporarily in .emacs or whatever.
>
> In this case though, what symbol would you use?
> AFAIK you have to call font-lock-add-keywords to change font-locking.
> There is no local variable you can set.
As you discovered, there's safe-local-eval-forms, although it was only
introduced in Emacs 24.
next prev parent reply other threads:[~2012-04-13 15:22 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-26 18:52 Tom Tromey
2012-03-26 19:06 ` Joel Brobecker
2012-03-26 19:33 ` Tom Tromey
2012-03-28 17:35 ` Tom Tromey
2012-04-11 23:59 ` Yao Qi
2012-04-12 0:44 ` Joel Brobecker
2012-04-12 16:01 ` Tom Tromey
2012-04-12 16:25 ` Tom Tromey
2012-04-12 19:21 ` Eli Zaretskii
2012-04-12 20:15 ` Tom Tromey
2012-04-13 9:08 ` Eli Zaretskii
2012-04-13 14:05 ` Tom Tromey
2012-04-13 15:22 ` Eli Zaretskii
2012-04-13 15:37 ` Eli Zaretskii [this message]
2012-04-13 9:45 ` Yao Qi
2012-04-13 12:48 ` Eli Zaretskii
2012-04-13 13:51 ` Yao Qi
2012-04-13 14:45 ` Pedro Alves
2012-04-13 14:58 ` Tom Tromey
2012-04-13 15:20 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83iph33bgv.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=tromey@redhat.com \
--cc=yao@codesourcery.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