public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Martin Schlemmer <azarah@gentoo.org>
To: gentoo-dev@cvs.gentoo.org
Subject: Re: [gentoo-dev] Re: All Developers!
Date: Sat Nov 10 09:29:01 2001	[thread overview]
Message-ID: <1005409882.3249.8.camel@nosferatu.lan> (raw)
In-Reply-To: <m2bsiahaum.fsf@columbus.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1822 bytes --]

On Sat, 2001-11-10 at 18:03, Andreas Voegele wrote:
> Mikael Hallendal writes:
> 
> > We should write some spec. on how ebuilds should look like
> > (guidelines for style) and then make a emacs and a vi mode for
> > editing ebuilds that controls the style.
> 
> If only tabs and *no* spaces were allowed at the beginning of lines it
> would be very easy to check ebuild scripts for wrong spaces.
> 
> We could rip the required code from the Emacs Makefile mode, which
> checks for suspicious tabs and highlights these areas when a user
> tries to save the Makefile.
> 
> BTW, if a single tab was used in front of dependencies the output
> would look like this:
> 
> tabwidth 4:
> 
> DEPEND="virtual/glibc
>     virtual/x11
> RDEPEND="virtual/glibc
>     virtual/x11
> 
> tabwidth 8:
> 
> DEPEND="virtual/glibc
>         virtual/x11
> RDEPEND="virtual/glibc
>         virtual/x11
> 
> IMHO both outputs look good, and with this solution developers could
> still set the tabwidth to 4 or 8.
> 
> -- 
> Andreas

true, but that is not a problem, take for instance:

        make prefix=${D}/usr                        \
             sysconfdir=${D}/etc                    \
             localstatedir=${D}/var/lib             \
             install || die

this is how Hallski and I do things (with a tabwidth of 8)

Now take the same piece with a tabwidht of 4:
    make prefix=${D}/usr                        \
         sysconfdir=${D}/etc                    \
         localstatedir=${D}/var/lib                 \
         install || die 

The '\' is not aligned anymore. this is however a simple example, as
other ebuilds gets ripped out of form more.


Greetings,
-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa


[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2001-11-10 16:28 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 [this message]
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
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=1005409882.3249.8.camel@nosferatu.lan \
    --to=azarah@gentoo.org \
    --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