Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* RFC: add .dir-locals.el
@ 2012-03-26 18:52 Tom Tromey
  2012-03-26 19:06 ` Joel Brobecker
  2012-04-11 23:59 ` Yao Qi
  0 siblings, 2 replies; 20+ messages in thread
From: Tom Tromey @ 2012-03-26 18:52 UTC (permalink / raw)
  To: gdb-patches

I'd appreciate comments on this patch.

This adds a .dir-locals.el to gdb.  This will cause Emacs to
automatically pick up the correct settings for various variables, so
that users won't have to configure Emacs for editing gdb.

These settings won't affect any files outside of gdb.

In the absence of comments I plan to check it in.

Tom

ChangeLog:
2012-03-26  Tom Tromey  <tromey@redhat.com>

	* .dir-locals.el: New file.

Index: .dir-locals.el
===================================================================
RCS file: .dir-locals.el
diff -N .dir-locals.el
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ .dir-locals.el	26 Mar 2012 18:50:07 -0000
@@ -0,0 +1,8 @@
+(
+ (tcl-mode . ((tcl-indent-level . 4)
+	      (tcl-continued-indent-level . 4)
+	      (indent-tabs-mode . t)))
+ (nil . ((bug-reference-url-format . "http://sourceware.org/bugzilla/show_bug.cgi?id=%s")))
+ (c-mode . ((c-file-style . "GNU")
+	    (indent-tabs-mode . t)))
+)


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2012-04-13 15:22 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-26 18:52 RFC: add .dir-locals.el 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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox