From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=DATE_IN_PAST_12_24, DMARC_MISSING,INVALID_DATE,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_DYNAMIC autolearn=unavailable autolearn_force=no version=4.0.0 Received: from lsanca1-ar15-112-047.elnk.dsl.gtei.net ([4.41.112.47] helo=portablehole.net) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 162zy2-0000iM-00 for gentoo-dev@cvs.gentoo.org; Sun, 11 Nov 2001 12:08:30 -0700 Received: (qmail 31335 invoked from network); 11 Nov 2001 18:12:19 -0000 Received: from unknown (HELO www.portablehole.net) (127.0.0.1) by localhost with SMTP; 11 Nov 2001 18:12:19 -0000 Received: from 63.204.249.241 (SquirrelMail authenticated user jano) by www.portablehole.net with HTTP; Sun, 11 Nov 2001 10:12:19 -0800 (PST) Message-ID: <32794.63.204.249.241.1005502339.squirrel@www.portablehole.net> Subject: Re: [gentoo-dev] Re: All Developers! From: "jano" To: In-Reply-To: References: X-Mailer: SquirrelMail (version 1.1.3 [cvs]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Sun Nov 11 12:09:02 2001 X-Original-Date: Sun, 11 Nov 2001 10:12:19 -0800 (PST) X-Archives-Salt: 324c25ae-0664-410a-a30e-7a69ca134ec9 X-Archives-Hash: efce67fb35084aec134a32b6d7b23ebd Hi, drobbins gave the rule. Please STOP cluttering my mailbox with this! jano > 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 > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@cvs.gentoo.org > http://cvs.gentoo.org/mailman/listinfo/gentoo-dev