zsh-workers
 help / color / mirror / code / Atom feed
From: Laurent Rineau <rineau@clipper.ens.fr>
To: zsh-workers@sunsite.dk
Subject: _email_adresses, if MH is not installed.
Date: Thu, 15 Jan 2004 15:00:35 +0100	[thread overview]
Message-ID: <20040115140035.GA9546@clipper.ens.fr> (raw)

If MH is not installed on the system, I get the following error :

rineau@clipper ~ $ mutt rineau<TAB>(eval):1: command not found: ali
@

The reason is that the external program 'ali' is not installed and
_email_adresses does not test if MH is used.

What about the following patch ?

--- /usr/local/util/packages/zsh-4.1.1/functions_source/functions/_email_addresses      Sat Jul  5 15:08:05 2003
+++ .zsh_funcs/_email_addresses Thu Jan 15 14:57:57 2004
@@ -119,7 +119,7 @@
   fi
 
   # get list of all plugins except any with missing config files
-  files=( mutt ~/.muttrc mush ~/.mushrc mail ${MAILRC:-~/.mailrc} pine ~/.addressbook )
+  files=( MH ~/.mh_profile mutt ~/.muttrc mush ~/.mushrc mail ${MAILRC:-~/.mailrc} pine ~/.addressbook )
   plugins=( 
     ${${(k)functions[(I)_email-*]#*-}:#(${(kj.|.)~files})}
     $files(Ne:'REPLY=( ${(k)files[(r)$REPLY]} ):')


             reply	other threads:[~2004-01-15 14:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-15 14:00 Laurent Rineau [this message]
2004-01-15 15:11 ` Oliver Kiddle

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=20040115140035.GA9546@clipper.ens.fr \
    --to=rineau@clipper.ens.fr \
    --cc=zsh-workers@sunsite.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).