save-hook not working
I screwed something up - I've reworked a few things including adding $alternates for my email addresses, and now my save-hook's don't work. Now, I like my index_format because - if I sent it, it shows the address that I sent it to - if sent to me, it shows the address it was sent from but whatever address that resolves to, that address seems to be used with the save-hook regex. Here is a message sent to mutt-users that appears in my index: 15 sL Jul 18 David T-G[davidtg ] pgp_encrypt_self with 1.2.4 and g Here is a message that I sent to mutt-users that appears in my index: 17 F Jul 19 To mutt-users@mu [mutt-user] index_format %F and "sent" mailbo Here is my mutt-users save-hook: save-hook mutt-users =Mutt-users When I try to save a message that one of you sent to mutt-users, it tries to save the message under your "username", instead of to the Mutt-users folder where I want it to go. When I try to save a message that I sent to mutt-users, the save hook works and properly asks me if I want to save that message in =Mutt-users. What did I screw up? How do I get my save-hooks to work again? TIA. -- Hardy Merrill Mission Critical Linux, LLC http://www.missioncriticallinux.com
Re: save-hook not working
Hardy Merrill muttered: My muttrc has this format for the "index_format" set index_format="%3C%?M?+ ?%Z %[%b %d] %-16.16F [%-9.9O] %-33.33s (%4l)" I screwed something up - I've reworked a few things including adding $alternates for my email addresses, and now my save-hook's don't work. 15 sL Jul 18 David T-G[davidtg ] pgp_encrypt_self with 1.2.4 and g 17 F Jul 19 To mutt-users@mu [mutt-user] index_format %F and "sent" mailbo save-hook mutt-users =Mutt-users When I try to save a message that one of you sent to mutt-users, it tries to save the message under your "username", instead of to the Mutt-users folder where I want it to go. When I try to save a message that I sent to mutt-users, the save hook works and properly asks me if I want to save that message in =Mutt-users. Since David's message ain't 'To mutt-users' you problaby forgot to subscribe [EMAIL PROTECTED] It seems that mutt-users is not a known mailing list. HTH, Michael -- The road to hell is paved with NAND gates. -- J. Gooding PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: save-hook not working
jon rust muttered: save-hook =customer.in =archived/customer However, when I press 's' while reading a message, or while in the folder index (in customer.in) it guesses at the save file name (based on the From: address). What am I missing? In memory of the recent discussion on this list: RTFM. Your save-hook syntax is crude. See sections 3.14, 4.2 and 4.4. HTH, Michael -- Computer programmers never die, they just get lost in the processing. PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13
Re: save-hook not working
On Tue, Jun 27, 2000 at 08:35:01PM -0700, jon rust wrote: I've got save-hook =customer.in =archived/customer in my dot-muttrc file. However, when I press 's' while reading a message, or while in the folder index (in customer.in) it guesses at the save file name (based on the From: address). What am I missing? Unfortunately, save-hooks match folder names. You could use a folder-hook to set the default save location (that is, redefine save-hooks within folder-hooks). Or you could use different way of determining the save location (e.g. matching by To: field). See also: section 4.2 of the fine manual. Marius Gedminas -- The reason computer chips are so small is that computers don't eat much.
save-hook not working
I've got save-hook =customer.in =archived/customer in my dot-muttrc file. However, when I press 's' while reading a message, or while in the folder index (in customer.in) it guesses at the save file name (based on the From: address). What am I missing? Thanks, jon