LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Bernd Petrovitsch <bernd@firmix.at>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Jan Engelhardt <jengelh@computergmbh.de>,
Randy Dunlap <randy.dunlap@oracle.com>,
ricknu-0@student.ltu.se, khc@pm.waw.pl, bhalevy.lists@gmail.com,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] CodingStyle: multiple updates
Date: Wed, 27 Feb 2008 10:27:00 +0100 [thread overview]
Message-ID: <1204104420.17396.2.camel@tara.firmix.at> (raw)
In-Reply-To: <Pine.LNX.4.64.0802270033310.5714@axis700.grange>
On Mit, 2008-02-27 at 00:40 +0100, Guennadi Liakhovetski wrote:
> On Tue, 26 Feb 2008, Jan Engelhardt wrote:
>
> > +Continuation lines are always shorter than the initial one and are
> > +(1) indented as much as the initial line, plus (2) alignment spaces.
> > +Spaces are used so as to not cause odd aligning for users wishing to
> > +display tabs at sizes other than 8. In the example below, the
> > +continuation line of the printk call therefore has two tabs of logical
> > +indent, followed by a number of spaces to align it up.
>
> Now, I think, I am not the only one using emacs. Until now the "linux"
> C-style fitted perfectly with the CodingStyle, now it no longer will.
> Namely, emacs puts as many tabs to indent the continuation line as fit
> (i.e., at tab width = 8 spaces it's just (extra indent / 8) tabs plus
> (extra indent % 8) spaces. Is there a way to make emacs behave compatibly
> to this proposal? If not, I would not like to have to re-indent every such
Unless I'm misunderstanding something completely: Add "indent-tabs-mode:
nil" in a "Local Variables:" section.
But since Linux-style has that since ages (if not ever), that should be
set for am emacs'ens linux-mode anyway.
Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services
next prev parent reply other threads:[~2008-02-27 9:27 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-26 21:47 [RFC] CodeStyle: Use spaces when aligning/decorating ricknu-0
2008-02-26 21:54 ` Randy Dunlap
2008-02-26 22:16 ` Richard Knutsson
2008-02-27 0:14 ` Benny Halevy
2008-02-27 21:02 ` Richard Knutsson
2008-02-27 21:33 ` Bob Copeland
2008-02-27 21:47 ` Richard Knutsson
2008-02-26 22:59 ` [PATCH] CodingStyle: multiple updates Jan Engelhardt
2008-02-26 23:40 ` Guennadi Liakhovetski
2008-02-26 23:51 ` Krzysztof Halasa
2008-02-27 0:02 ` Jan Engelhardt
2008-02-27 0:16 ` Guennadi Liakhovetski
2008-02-27 0:42 ` Stefan Richter
2008-02-27 0:57 ` SL Baur
2008-02-27 5:34 ` Randy Dunlap
2008-02-27 21:33 ` SL Baur
2008-02-27 22:02 ` Richard Knutsson
2008-02-27 23:53 ` Krzysztof Halasa
2008-02-28 0:11 ` SL Baur
2008-02-28 0:18 ` Jan Engelhardt
2008-02-28 20:09 ` Richard Knutsson
2008-02-29 22:34 ` Krzysztof Halasa
2008-03-03 16:17 ` Benny Halevy
2008-03-03 21:08 ` Krzysztof Halasa
2008-03-04 10:04 ` Benny Halevy
2008-02-28 21:20 ` Alexey Dobriyan
2008-02-27 9:27 ` Bernd Petrovitsch [this message]
2008-02-27 10:02 ` Guennadi Liakhovetski
2008-02-27 10:17 ` Bernd Petrovitsch
2008-02-27 21:46 ` SL Baur
2008-02-27 0:39 ` Stefan Richter
2008-02-27 21:41 ` Richard Knutsson
[not found] <a1fQN-352-63@gated-at.bofh.it>
[not found] ` <a1g0n-3hn-17@gated-at.bofh.it>
[not found] ` <a1h64-5gC-25@gated-at.bofh.it>
[not found] ` <a1hII-67t-5@gated-at.bofh.it>
[not found] ` <a1hSu-6j3-13@gated-at.bofh.it>
[not found] ` <a1iOy-7Mq-37@gated-at.bofh.it>
[not found] ` <a1nbp-6hE-5@gated-at.bofh.it>
[not found] ` <a1CDx-5ZM-9@gated-at.bofh.it>
[not found] ` <a1EFk-Mt-9@gated-at.bofh.it>
[not found] ` <a1Yl9-6NF-161@gated-at.bofh.it>
[not found] ` <a2m3J-2EX-19@gated-at.bofh.it>
2008-03-01 0:10 ` Bodo Eggert
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=1204104420.17396.2.camel@tara.firmix.at \
--to=bernd@firmix.at \
--cc=bhalevy.lists@gmail.com \
--cc=g.liakhovetski@gmx.de \
--cc=jengelh@computergmbh.de \
--cc=khc@pm.waw.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
--cc=ricknu-0@student.ltu.se \
--subject='Re: [PATCH] CodingStyle: multiple updates' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).