From: Michael Tokarev <mjt@tls.msk.ru>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-trivial@nongnu.org,
"Daniel P. Berrange" <berrange@redhat.com>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] Add .dir-locals.el file to configure emacs coding style
Date: Thu, 18 Jun 2015 12:05:50 +0300 [thread overview]
Message-ID: <558289EE.3020707@msgid.tls.msk.ru> (raw)
In-Reply-To: <87k2v14dlv.fsf@blackfin.pond.sub.org>
18.06.2015 11:36, Markus Armbruster wrote:
> Michael Tokarev <mjt@tls.msk.ru> writes:
>
>> So, what is the consensus here?
>>
>> Everyone who talked wants the emacs mode, but everyone
>> offers their own mode.
>>
>> I'd pick the stroustrup variant suggested by Marcus
>> since it is shortest, but while being shortest, it
>> is looks a bit "magical".
>
> I don't think it's magical at all. It uses .dir-locals exactly as
> intended. In fact, it's almost straight from the Emacs manual:
No, I mean the one-line "stroustrup" definition is a bit "magical"
as it "magically" have all parameters behind the scenes matching
our coding style, as opposed to listing every aspect explicitly.
[]
> Want me to post a formal patch adding my revised .dir-locals.el?
Daniel already posted his 2-line V2. It might be good
idea to add indent-tabs-mod nil to other modes too.
At any rate I'm *far* from emacs expert (even if it was my
only editor and development environment for about 10 years,
I forgot almost everything already).
Thanks,
/mjt
WARNING: multiple messages have this Message-ID (diff)
From: Michael Tokarev <mjt@tls.msk.ru>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Add .dir-locals.el file to configure emacs coding style
Date: Thu, 18 Jun 2015 12:05:50 +0300 [thread overview]
Message-ID: <558289EE.3020707@msgid.tls.msk.ru> (raw)
In-Reply-To: <87k2v14dlv.fsf@blackfin.pond.sub.org>
18.06.2015 11:36, Markus Armbruster wrote:
> Michael Tokarev <mjt@tls.msk.ru> writes:
>
>> So, what is the consensus here?
>>
>> Everyone who talked wants the emacs mode, but everyone
>> offers their own mode.
>>
>> I'd pick the stroustrup variant suggested by Marcus
>> since it is shortest, but while being shortest, it
>> is looks a bit "magical".
>
> I don't think it's magical at all. It uses .dir-locals exactly as
> intended. In fact, it's almost straight from the Emacs manual:
No, I mean the one-line "stroustrup" definition is a bit "magical"
as it "magically" have all parameters behind the scenes matching
our coding style, as opposed to listing every aspect explicitly.
[]
> Want me to post a formal patch adding my revised .dir-locals.el?
Daniel already posted his 2-line V2. It might be good
idea to add indent-tabs-mod nil to other modes too.
At any rate I'm *far* from emacs expert (even if it was my
only editor and development environment for about 10 years,
I forgot almost everything already).
Thanks,
/mjt
next prev parent reply other threads:[~2015-06-18 9:06 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-02 15:26 [Qemu-trivial] [PATCH] Add .dir-locals.el file to configure emacs coding style Daniel P. Berrange
2015-06-02 15:26 ` [Qemu-devel] " Daniel P. Berrange
2015-06-02 16:02 ` [Qemu-trivial] " Eric Blake
2015-06-02 16:02 ` Eric Blake
2015-06-02 19:08 ` [Qemu-trivial] " John Snow
2015-06-02 19:08 ` John Snow
2015-06-03 7:47 ` [Qemu-trivial] " Markus Armbruster
2015-06-03 7:47 ` Markus Armbruster
2015-06-04 13:30 ` [Qemu-trivial] " Daniel P. Berrange
2015-06-04 13:30 ` Daniel P. Berrange
2015-06-04 17:45 ` [Qemu-trivial] " Don Slutz
2015-06-04 17:45 ` [Qemu-devel] [Qemu-trivial] " Don Slutz
2015-06-04 17:46 ` [Qemu-trivial] [Qemu-devel] " Don Slutz
2015-06-04 17:46 ` [Qemu-devel] [Qemu-trivial] " Don Slutz
2015-06-17 19:42 ` Michael Tokarev
2015-06-17 19:42 ` [Qemu-devel] " Michael Tokarev
2015-06-18 8:36 ` [Qemu-trivial] " Markus Armbruster
2015-06-18 8:36 ` Markus Armbruster
2015-06-18 9:05 ` Michael Tokarev [this message]
2015-06-18 9:05 ` Michael Tokarev
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=558289EE.3020707@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.