From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3725 invoked from network); 2 Jun 2005 13:00:23 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 2 Jun 2005 13:00:23 -0000 Received: (qmail 21796 invoked from network); 2 Jun 2005 13:00:17 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 2 Jun 2005 13:00:17 -0000 Received: (qmail 19888 invoked by alias); 2 Jun 2005 13:00:08 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8942 Received: (qmail 19878 invoked from network); 2 Jun 2005 13:00:07 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 2 Jun 2005 13:00:07 -0000 Received: (qmail 20598 invoked from network); 2 Jun 2005 13:00:07 -0000 Received: from cluster-e.mailcontrol.com (HELO rly04e.srv.mailcontrol.com) (217.79.216.190) by a.mx.sunsite.dk with SMTP; 2 Jun 2005 12:59:59 -0000 Received: from iris.logica.co.uk (iris.logica.co.uk [158.234.9.163]) by rly04e.srv.mailcontrol.com (MailControl) with ESMTP id j52Cxu9a028876; Thu, 2 Jun 2005 13:59:56 +0100 Received: from trentino.logica.co.uk ([158.234.142.59]) by iris.logica.co.uk (8.12.3/8.12.3/Debian -4) with ESMTP id j52CxtKM032637; Thu, 2 Jun 2005 13:59:56 +0100 Received: from trentino.groupinfra.com (localhost [127.0.0.1]) by trentino.logica.co.uk (Postfix) with ESMTP id 093026BB79; Thu, 2 Jun 2005 14:59:54 +0200 (CEST) Cc: zsh-users@sunsite.dk X-VirusChecked: Checked X-StarScan-Version: 5.0.7; banners=.,-,- In-reply-to: <20050602123718.GA21218@xpeerience.u-strasbg.fr> From: Oliver Kiddle References: <20050527141638.GA9644@xpeerience.u-strasbg.fr> <7779.1117444705@trentino.groupinfra.com> <20050530135757.GA12204@xpeerience.u-strasbg.fr> <13199.1117464233@trentino.groupinfra.com> <20050602123718.GA21218@xpeerience.u-strasbg.fr> To: Marc Chantreux Subject: Re: can't run _email-mutt Date: Thu, 02 Jun 2005 14:59:53 +0200 Message-ID: <10377.1117717193@trentino.groupinfra.com> X-Scanned-By: MailControl A-04-00-00-235 (www.mailcontrol.com) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Marc Chantreux wrote: > you're right : i've added .mutt/muttrc to the list and it works fine > now. > > i've just seen in the mutt man that a system-wide configuration file > exists too : /etc/Muttrc I don't think it's worth worrying too much about the system-wide one. It can probably be in other places such as /usr/local/etc/Muttrc. We can perhaps use the muttrc style, though. > well, the simplest way is to use an extern program that does it well : > > lbdbq | sed -n '/alias/{s/\(^[^ ]\+\).*alias\(.*\)/\2:\1/;p}' Except that lbdbq is unlikely to be installed. I've never seen it and it's on none of the machines I use. > a pure zsh solution is trying to parse all files that are sourced ( > using the source command ) by .muttrc. I think that would be better. Pulling out source commands can't be any harder than pulling out alias commands. It's arguably applicable to other mail config files like zmail, nail and mush. I'll try making it applicable to those too, though it might potentially be a problem in some mush setups where if statements are used. Oliver This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.