Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Andrew Burgess <andrew.burgess@embecosm.com>
Cc: gdb-patches@sourceware.org, Eli Zaretskii <eliz@gnu.org>
Subject: Re: [PATCHv2] gdbserver: Add .dir-locals.el file
Date: Mon, 02 Mar 2020 17:34:00 -0000	[thread overview]
Message-ID: <eedc9da8-cdaf-5253-5871-875fdbe93db2@redhat.com> (raw)
In-Reply-To: <20200302170801.GR3317@embecosm.com>

On 3/2/20 5:08 PM, Andrew Burgess wrote:
> * Pedro Alves <palves@redhat.com> [2020-03-02 14:06:46 +0000]:
> 
>> On 3/2/20 12:31 PM, Andrew Burgess wrote:
>>> Baris,
>>>
>>> Good spot on the *.h files, I hadn't considered them.  I did look
>>> breifly at how I might change the mode only for *.h files, but
>>> couldn't see anything obvious, and as we don't currently have any *.c
>>> files I just restored the c-mode to c++-mode setting.
>>>
>>> Thanks,
>>> Andrew
>>>
>>>
>>> ---
>>>
>>> Copy the .dir-locls.el file from gdb/ to gdbserver/ so that we get the
>>> GNU style when editing these files in Emacs.
>>
>> I think we want this in gdbsupport/ as well?
>>
>> Since this is now just a plain copy with no modifications, can't we
>> source the original file instead of copying it?
> 
> I'm not aware of a way to import one .dir-locals from another, I did
> some searching and couldn't find anything promising.
> 

Let's ask an Emacs maintainer.

Eli, what's the best way to handle this?

> Given that would you accept 3 copies of the file?

Thanks,
Pedro Alves


  reply	other threads:[~2020-03-02 17:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-02  9:53 [PATCH] " Andrew Burgess
2020-03-02 10:17 ` Aktemur, Tankut Baris
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 [this message]
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=eedc9da8-cdaf-5253-5871-875fdbe93db2@redhat.com \
    --to=palves@redhat.com \
    --cc=andrew.burgess@embecosm.com \
    --cc=eliz@gnu.org \
    --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