From: Andreas Voegele <voegelas@users.sourceforge.net>
To: gentoo-dev@cvs.gentoo.org
Subject: [gentoo-dev] Re: All Developers!
Date: Sun Nov 11 10:06:01 2001 [thread overview]
Message-ID: <m2k7wxl714.fsf@columbus.localdomain> (raw)
In-Reply-To: <1005481622.24118.0.camel@fry>
Mikael Hallendal writes:
> Hmm .. imho it's much easier to read with the \ aligned.
I disagree. I don't like aligned / (or, for example, aligned
variables in C programs) very much. If you insert a new line that is
longer than the existing lines you might have to reformat the other
lines too. If you commit your changes to the CVS and look at the
changes with "cvs diff" not only the newly inserted line but also all
the reformatted lines are displayed which is really annoying.
For example, if you have these lines:
./configure --host=${CHOST} \
--prefix=/usr \
--mandir=/usr/share/man
Now you add two new, very long options:
./configure --host=${CHOST} \
--prefix=/usr \
--mandir=/usr/share/man \
--with-openssl-include=/usr/include/openssl \
--with-openssl-libraries=/usr/lib/openssl
Because of the alignment more lines than really necessary have to be
changed, which clutters the output of "cvs diff".
> I think we can do this by supplying a emacs/vi-mode for editing
> ebuilds. Those modes should be strict and force the developer to do
> it right.
Hm, it's easier to base the ebuild mode on Emacsen's sh-mode than to
write a new mode from scratch. But sh-mode doesn't allow tabs at the
end of lines; and I don't know if it is possible to change the mode's
behaviour easily.
After looking at Emacsen's sh-mode, I think that the following style,
that uses tabs at the beginning of lines and neither tabs nor spaces
at the end of lines, would be the easiest style to implement:
./configure --host=${CHOST} \
--prefix=/usr \
--mandir=/usr/share/man
next prev parent reply other threads:[~2001-11-11 17:05 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-10 4:35 [gentoo-dev] All Developers! Mikael Hallendal
2001-11-10 5:22 ` Martin Schlemmer
2001-11-10 6:00 ` [gentoo-dev] " Andreas Voegele
2001-11-10 6:12 ` Mikael Hallendal
2001-11-10 6:17 ` Martin Schlemmer
2001-11-10 7:58 ` [gentoo-dev] " Karl Trygve Kalleberg
2001-11-10 8:37 ` Mikael Hallendal
2001-11-10 9:05 ` [gentoo-dev] " Andreas Voegele
2001-11-10 9:29 ` Martin Schlemmer
2001-11-10 9:38 ` Chad Huneycutt
2001-11-10 11:25 ` Daniel Robbins
2001-11-10 13:42 ` Chris Houser
2001-11-10 14:05 ` Daniel Robbins
2001-11-10 14:23 ` Aron Griffis
2001-11-11 6:27 ` Mikael Hallendal
2001-11-11 6:35 ` Martin Schlemmer
2001-11-11 6:41 ` Mikael Hallendal
2001-11-21 19:16 ` Damon M. Conway
2001-11-21 20:08 ` Daniel Robbins
2001-11-11 10:06 ` Andreas Voegele [this message]
2001-11-11 12:09 ` jano
2001-11-11 14:17 ` Mikael Hallendal
2001-11-11 15:26 ` Tom von Schwerdtner
2001-11-10 14:17 ` Aron Griffis
2001-11-10 14:24 ` Martin Schlemmer
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=m2k7wxl714.fsf@columbus.localdomain \
--to=voegelas@users.sourceforge.net \
--cc=gentoo-dev@cvs.gentoo.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