Re: Folder-hook question

2002-02-16 Thread Nicolas Rachinsky

* On Fri, Feb 15, 2002 at 05:40:21PM -0800,
* Gary Johnson <[EMAIL PROTECTED]> wrote:
> This is what I use:
> 
> folder-hook +Incoming/mutt-users 'macro index M ":push 
>^[EMAIL PROTECTED]^M^M" "mail to list"'
   ^^
Can't you just leave this part out?

> Note that I have 'askcc' set, so one of those ^Ms is an answer to the
> "Cc: " prompt.

Nicolas



Re: Decrypting GPG-encoded messages

2002-02-16 Thread Dave Smith

On Fri, Feb 15, 2002 at 05:34:15PM -0800, [EMAIL PROTECTED] wrote:
> for that matter, is anything wrong with contrib/gpg.rc?  works fine for
> me.

Thanks to all that replied, I've checked my settings against a number of
yours, and they're pretty similar.

Yes, I've tried contrib/gpg.rc; that's where I wrote my original file from.

I still can't see what's wrong, so I've started hacking around in the mutt
source to see where the data is disappearing.  I've already proved that
the data from the encrypt command does go in to mutt successfully, so it
must be lost after that point.  You never know, I might end up posting
a mutt patch... :-)

-- 
David Smith   Tel: +44 (0)1454 462380 (direct)
STMicroelectronicsFax: +44 (0)1454 617910
1000 Aztec WestTINA (ST only): (065) 2380
Almondsbury  Home: 01454 616963
BRISTOLMobile: 07932 642724
BS32 4SQ   Work Email: [EMAIL PROTECTED]
   Home Email: [EMAIL PROTECTED]



Re: Folder-hook question

2002-02-16 Thread Gary Johnson

On Sat, Feb 16, 2002 at 10:18:10AM +0100, Nicolas Rachinsky wrote:
> * On Fri, Feb 15, 2002 at 05:40:21PM -0800,
> * Gary Johnson <[EMAIL PROTECTED]> wrote:
> > This is what I use:
> > 
> > folder-hook +Incoming/mutt-users 'macro index M ":push 
>^[EMAIL PROTECTED]^M^M" "mail to list"'
>^^
> Can't you just leave this part out?

Apparently so.  This seems to work as well:

:macro pager M "[EMAIL PROTECTED]^M^M"

I had thought that an index macro just executed commands in the index
menu and would not be able to enter keystrokes into prompts from the
 command.  I would have expected at least those last two '^M's in
the second macro to have been executed after the  command was
completed.  So I guess I don't understand mutt's macro processing as
well as I though I did.

Gary

-- 
Gary Johnson   | Agilent Technologies
[EMAIL PROTECTED]   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |