zsh-users
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Marc Chantreux <marc.chantreux@ulpmm.u-strasbg.fr>
Cc: zsh-users@sunsite.dk
Subject: Re: can't run _email-mutt
Date: Thu, 02 Jun 2005 14:59:53 +0200	[thread overview]
Message-ID: <10377.1117717193@trentino.groupinfra.com> (raw)
In-Reply-To: <20050602123718.GA21218@xpeerience.u-strasbg.fr>

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.


      reply	other threads:[~2005-06-02 13:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-27 14:16 Marc Chantreux
2005-05-30  9:18 ` Oliver Kiddle
2005-05-30 13:57   ` Marc Chantreux
2005-05-30 14:43     ` Oliver Kiddle
2005-06-02 12:37       ` Marc Chantreux
2005-06-02 12:59         ` Oliver Kiddle [this message]

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=10377.1117717193@trentino.groupinfra.com \
    --to=okiddle@yahoo.co.uk \
    --cc=marc.chantreux@ulpmm.u-strasbg.fr \
    --cc=zsh-users@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).