automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH: Simplify a few loops in lib/Automake


From: Alexandre Duret-Lutz
Subject: Re: PATCH: Simplify a few loops in lib/Automake
Date: Wed, 13 Aug 2003 14:55:10 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

>>> "Hari" == Raja R Harinath <address@hidden> writes:

[...]

 Hari> I just '2 b' to show it inline.  Then I hit 'R', and lo-n-behold the
 Hari> patch is quoted.  Doesn't that work for you?

No, but now I know why.  I'm running some custom code to
automatically strip signatures from the mails I quote.  When the
patch is inlined after a signature, it gets stripped with the
signature.  I'll disable the stripping of signatures longer than
15 lines, short of anything smarter.

[...]

 Hari> Actually, I can simplify:

 Hari> my @res = map { $_->false ? () : $_->strip ($subcond) } @prodconds;
 Hari> return new Automake::DisjConditions @res;

 Hari> to

 Hari> my @res = map { $_->strip ($subcond) } @prodconds;
 Hari> return new Automake::DisjConditions @res;

 Hari> Automake::DisjConditions::strip is a no-op on FALSE, and
 Hari> Automake::DisjConditions::new will take care of discarding FALSE.

Indeed.

[...]

-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]