From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EAhpX-0000lx-W7 for garchives@archives.gentoo.org; Thu, 01 Sep 2005 05:41:44 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j815cVnf017781; Thu, 1 Sep 2005 05:38:31 GMT Received: from mail1.cc.huji.ac.il (mail1.cc.huji.ac.il [132.64.1.17]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j815YQxA007528 for ; Thu, 1 Sep 2005 05:34:27 GMT Received: from mail1.cc.huji.ac.il (localhost [127.0.0.1]) by mail1.cc.huji.ac.il (Postfix) with SMTP id 2C46620E978; Thu, 1 Sep 2005 08:36:50 +0300 (IDT) Received: by mail1.cc.huji.ac.il (Postfix, from userid 31998) id 0A33220EB16; Thu, 1 Sep 2005 08:36:50 +0300 (IDT) Received: from kaminsky.dyndns.org (di8-33145.dialin.huji.ac.il [132.64.33.145]) by mail1.cc.huji.ac.il (Postfix) with ESMTP id 2204F20EB13 for ; Thu, 1 Sep 2005 08:36:49 +0300 (IDT) Received: by kaminsky.dyndns.org (Postfix, from userid 1000) id DFD2E9992E; Thu, 1 Sep 2005 08:37:38 +0300 (IDT) Date: Thu, 1 Sep 2005 08:37:38 +0300 From: Moshe Kaminsky To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: modifying locally an ebuild Message-ID: <20050901053738.GA8483@kaminsky> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20050831011257.GA23139@lugmen.org.ar> <431509B9.70408@planet.nl> <20050831054206.GA29858@lugmen.org.ar> <431596D8.40805@planet.nl> <20050831133525.GB17307@lugmen.org.ar> <4315EAC3.8060601@planet.nl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline In-Reply-To: <4315EAC3.8060601@planet.nl> X-Accept-Language: en X-Location: Israel, Rehovot X-Editor: Vim 7.0 http://vim.sf.net/ User-Agent: mutt-ng/devel (Linux) X-Spam-Level: X-Virus: scanned by VAMS 2005 version 8.847 from Wed Aug 31 17:45:04 2005 CEST X-Archives-Salt: 4bbe925b-143c-437d-a093-3cc8d7e314e6 X-Archives-Hash: 280d5e1a1351dbfab99cefb859cb24b6 --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Fernando Canizo schreef: >=20 > > This is the thing: in mutt you can flag a message as important (you=20 > > got only one flag), also you have a 'ctrl-d' command that deletes a=20 > > full thread. Sometimes threads get off-topic (an unconstructive=20 > > flame > > for example) and when i realize that, and don't like the new topic i > > just 'ctrl-d' them. But what if i've flagged some message? It means=20 > > that it's important to me, so i wanted to remain undeleted. The=20 > > actual behaviour of mutt just delete everything. > >=20 > > That's what the patch provides me, and with a single line of code.=20 > > Simple. And David (the autor) do it so well that even added a new=20 > > option for it to be in '~/muttrc' and let the default to be the old=20 > > behaviour. So i think this patch can get to portage easily. > >=20 > > By the way, if anyone interested, this is it:=20 > > http://home.uchicago.edu/~dgc/sw/mutt/patch-1.5.8.dgc.flagsafe.1 This is a bit OT here (and I'm also replying to the wrong message, since=20 I don't have the whole thread), but it seems that you can achieve the=20 same goals without patching mutt: First, as you might be aware, it's=20 possible to delete a subthread (bound by default to ESC d.) Second, I=20 think you can do exactly what you want with something like: macro index \Cd "\Ct .\ntD ~T ! ~F\n" "Delete unflagged thread messages" (all in one line.) This untags all messages (\Ct .), tags the thread=20 (t), then deletes messages which match the pattern that say the=20 message is tagged (~T) and not flagged (! ~F). I assumed here that the=20 key bindings are the default ones, and that you have 'delete_untag' set=20 (otherwise you will want to untag them yourself, with an extra "\Ct ."=20 at the end.) The only problem is that it will remove all tags you=20 previously had. Moshe --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) iD8DBQFDFpOikBjmVsKMBeMRAtN1AJ9I2TWqigBkHGtMQAfPKthwIwYS0wCfU2xO l4Am3fP6C1mSybsdGK9Ee84= =CxKc -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q-- -- gentoo-user@gentoo.org mailing list