From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15716 invoked by alias); 26 Mar 2012 18:52:56 -0000 Received: (qmail 15699 invoked by uid 22791); 26 Mar 2012 18:52:54 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Mar 2012 18:52:41 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2QIqeI1013210 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 26 Mar 2012 14:52:40 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q2QIqdCm006497 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 26 Mar 2012 14:52:40 -0400 From: Tom Tromey To: gdb-patches@sourceware.org Subject: RFC: add .dir-locals.el Date: Mon, 26 Mar 2012 18:52:00 -0000 Message-ID: <87bonj8aa0.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00878.txt.bz2 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 * .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))) +)