Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: gdb-patches@sourceware.org
Subject: RFC: add .dir-locals.el
Date: Mon, 26 Mar 2012 18:52:00 -0000	[thread overview]
Message-ID: <87bonj8aa0.fsf@fleche.redhat.com> (raw)

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


             reply	other threads:[~2012-03-26 18:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-26 18:52 Tom Tromey [this message]
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

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=87bonj8aa0.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox