This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: add .dir-locals.el
- From: Tom Tromey <tromey at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Thu, 12 Apr 2012 10:01:09 -0600
- Subject: Re: RFC: add .dir-locals.el
- References: <87bonj8aa0.fsf@fleche.redhat.com> <4F8614A8.6040800@codesourcery.com>
>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
Yao> Do you think it is useful to add some code here to check code style or
Yao> check ARI rules?
Let's try it.
If people don't like it, we can always move the code out of
.dir-locals.el and into some new .el that developers can optionally load
somehow.
Yao> With this change, when emacs opens gdb files for the first time, it
Yao> prompts to ask apply risky local variables. Not sure GDB contributors
Yao> using emacs are comfortable with this or not.
I don't think it is a big deal.
Yao> I have other emacs lisp snippets to do other checks, and personally, I
Yao> find they are quite useful. If this is acceptable, I'll push them out
Yao> one by one.
Sounds fantastic.
Tom