From: "Aktemur, Tankut Baris" <tankut.baris.aktemur@intel.com>
To: Andrew Burgess <andrew.burgess@embecosm.com>,
"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: RE: [PATCH] gdbserver: Add .dir-locals.el file
Date: Mon, 02 Mar 2020 10:17:00 -0000 [thread overview]
Message-ID: <BYAPR11MB3030F2DF420DBF609C29D890C4E70@BYAPR11MB3030.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20200302095303.4474-1-andrew.burgess@embecosm.com>
On Monday, March 2, 2020 10:53 AM, Andrew Burgess wrote:
> Add a .dir-locals.el file into the gdbserver directory so that we get
> the GNU style when editing these files in Emacs.
>
> I copied this file over from the gdb/ directory and the only change I
> made was to remove (mode . c++) from the c-mode settings. The reason
> for this is that all C++ files in the gdbserver/ directory now have
> the .cc suffix, and we don't (currently) have any .c files in there. I
> assume that if did add a .c file in the future, it really would be C,
> not C++, so forcing c++-mode seems like the wrong thing to do.
Because the header files are still .h, Emacs opens them in C mode. Can a
mode specification be included to use C++ mode for .h files, please?
Thanks.
-Baris
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
next prev parent reply other threads:[~2020-03-02 10:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-02 9:53 Andrew Burgess
2020-03-02 10:17 ` Aktemur, Tankut Baris [this message]
2020-03-02 12:31 ` [PATCHv2] " Andrew Burgess
2020-03-02 14:06 ` Pedro Alves
2020-03-02 17:08 ` Andrew Burgess
2020-03-02 17:34 ` Pedro Alves
2020-03-02 17:58 ` Eli Zaretskii
2020-03-02 18:13 ` Pedro Alves
2020-03-02 19:19 ` Eli Zaretskii
[not found] ` <20200305151232.GB3317@embecosm.com>
2020-03-05 15:26 ` Eli Zaretskii
2020-03-05 16:00 ` Pedro Alves
[not found] ` <BYAPR11MB3030342645BFA8E7610CF862C4E70@BYAPR11MB3030.namprd11.prod.outlook.com>
2020-03-02 12:02 ` [PATCH] " Andrew Burgess
2020-03-02 14:05 ` Pedro Alves
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=BYAPR11MB3030F2DF420DBF609C29D890C4E70@BYAPR11MB3030.namprd11.prod.outlook.com \
--to=tankut.baris.aktemur@intel.com \
--cc=andrew.burgess@embecosm.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