From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3032 invoked from network); 2 Jun 2005 12:37:01 -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 12:37:01 -0000 Received: (qmail 99558 invoked from network); 2 Jun 2005 12:36:54 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 2 Jun 2005 12:36:54 -0000 Received: (qmail 13487 invoked by alias); 2 Jun 2005 12:36:46 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8941 Received: (qmail 13472 invoked from network); 2 Jun 2005 12:36:45 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 2 Jun 2005 12:36:45 -0000 Received: (qmail 98552 invoked from network); 2 Jun 2005 12:36:45 -0000 Received: from mailhost.u-strasbg.fr (130.79.200.154) by a.mx.sunsite.dk with SMTP; 2 Jun 2005 12:36:41 -0000 Received: from sokaris.u-strasbg.fr (sokaris.u-strasbg.fr [IPv6:2001:660:2402::101]) by mailhost.u-strasbg.fr (8.13.1/jtpda-5.5pre1) with ESMTP id j52Cae9P008360 ; Thu, 2 Jun 2005 14:36:40 +0200 (CEST) Received: from xpeerience.u-strasbg.fr (xpeerience.u-strasbg.fr [130.79.188.35]) by sokaris.u-strasbg.fr (8.12.9/jtpda-5.5pre1) with SMTP id j52Caett019872 ; Thu, 2 Jun 2005 14:36:40 +0200 (CEST) Received: by xpeerience.u-strasbg.fr (sSMTP sendmail emulation); Thu, 2 Jun 2005 14:37:18 +0200 Date: Thu, 2 Jun 2005 14:37:18 +0200 From: Marc Chantreux To: Oliver Kiddle Cc: zsh-users@sunsite.dk Subject: Re: can't run _email-mutt Message-ID: <20050602123718.GA21218@xpeerience.u-strasbg.fr> References: <20050527141638.GA9644@xpeerience.u-strasbg.fr> <7779.1117444705@trentino.groupinfra.com> <20050530135757.GA12204@xpeerience.u-strasbg.fr> <13199.1117464233@trentino.groupinfra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <13199.1117464233@trentino.groupinfra.com> User-Agent: Mutt/1.5.9i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (mailhost.u-strasbg.fr [IPv6:2001:660:2402::154]); Thu, 02 Jun 2005 14:36:40 +0200 (CEST) X-Antivirus: scanned by sophos at u-strasbg.fr X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.3 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.3 le 30/05/2005, Oliver Kiddle nous écrivait : > Ah, the problem is probably related to the section of _email-addresses > starting with the comment "# get list of all plugins except any with > missing config files". For the builtin plugins, it excludes those for > which it doesn't find a config file. It's perhaps a new change to mutt > that .muttrc can also be .mutt/muttrc. Can it have other names? i wasn't skilled enought in zsh to understand those lines. thanks for explains. 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 so, there are 3 configuration files : ~/.muttrc ~/.mutt/muttrc /etc/Muttrc > We could probably do with a more sophisticated plugin for mutt aliases, > however. I assume you've got some form of include directives to pull in > aliases from all those other files. Any idea how we could get a full > list of mutt aliases? well, the simplest way is to use an extern program that does it well : lbdbq | sed -n '/alias/{s/\(^[^ ]\+\).*alias\(.*\)/\2:\1/;p}' or something like that. a pure zsh solution is trying to parse all files that are sourced ( using the source command ) by .muttrc. regards mc