This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFC: add .dir-locals.el


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]