Re: save-hook question

2001-01-13 Thread Okan Demirmen - mutt

yes, i have considered prcomail and other such filtering, but i would like the mail to 
stay in my inbox, and when i have read it, i like to hit "s" "enter"...lazy and 
quick...

On Fri, Jan 12, 2001 at 11:00:23PM -0500, John P. Verel wrote:
 On 01/12/01, 10:27:19PM -0500, Okan Demirmen - mutt wrote:
  newbie-type: some patience required, unless stupidity is too obvious...
  
  can a save-hook have a regex in it?...if so, i might be totally clueless...
  
  i am trying to save mail to folders, whose names are based on a mailing 
list...wihtout creating a save-hook for every single mailing list
  
  i get the matching portion ok, but can't seem to get the save folder part...
  
  anyone help??..
  
  thanks,
  okan
 Have you looked at procmail to filter into folders?  Much easier.
 -- 
 John P. Verel
 Norwalk, CT



save-hook question

2001-01-12 Thread Okan Demirmen - mutt

newbie-type: some patience required, unless stupidity is too obvious...

can a save-hook have a regex in it?...if so, i might be totally clueless...

i am trying to save mail to folders, whose names are based on a mailing list...wihtout 
creating a save-hook for every single mailing list

i get the matching portion ok, but can't seem to get the save folder part...

anyone help??..

thanks,
okan




save-hook question

2000-06-08 Thread Adahma

Would it be possible to setup a save-hook that would open the
browser in a specific subdirectory so that I could easily the right
mailbox?

TIA,
Adahma




Re: save-hook question

2000-06-08 Thread Mikko Hänninen

Adahma [EMAIL PROTECTED] wrote on Thu, 08 Jun 2000:
 Would it be possible to setup a save-hook that would open the
 browser in a specific subdirectory so that I could easily the right
 mailbox?

I just tried this:

  save-hook "~f adahma" +foo

... and created the directory ~/Mail/foo

When I pressed s(save), I got the default prompt =foo, when I pressed
TAB, Mutt appended / to the =foo, and the second TAB took me to the
directory browser in the dir =foo/.

Is this what you're looking for?


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
If you don't use punctuation there is no point in what you write



Re: save-hook question

2000-06-08 Thread David T-G

Adahma --

...and then Adahma said...
% Would it be possible to setup a save-hook that would open the
% browser in a specific subdirectory so that I could easily the right
% mailbox?

It sounds like what you want is a macro, but perhaps you might want a
save-hook that changes the directory based on the message.

First, then, the macro.  You could create a macro like

  macro pager ,c "change-folder=/some/dir/tab"

to enter the change-folder command (bound to 'c' by default), enter
ctrl-u to erase the supplied line contents (if any), specify the path to
your desired dir, and even hit a tab to list the contents for you.

Now, if you could predefine the directory somehow, like matching on the
domain name, then you could create a save hook like

  save-hook @domain.com =/domain/%O

to save in your $HOME/Mail/domain dir under mutt's 'O'riginal mailbox
name.


% 
% TIA,
% Adahma


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Save-hook question

2000-02-03 Thread Michael S. Tsirkin

Hello!
You seem to be using the compressed folders patch?
I'll look into it.

Quoting r. Stewart V. Wright ([EMAIL PROTECTED]) "Save-hook question":
 Hi all,
  ...
 As a second question - how can I convince mutt that there is new mail
 in compressed folders?  I have procmail deliver some mail to
 compressed folders.  Then in my .muttrc I have
 
 mailboxes ! +'aip.gz' "+majordomo.gz" +mutt.gz
 
 and none of these seems to allow mutt to determine that there is new
 mail in the compressed file.  Any ideas / suggestions?

-- 
This message content is not part of Intel's views or affairs
Michael S. Tsirkin
   Four things are to be strengthened: Torah,and good deeds,
   prayer and one's good manners (Berachoth)



Re: Save-hook question

2000-02-03 Thread David DeSimone

Stewart V. Wright [EMAIL PROTECTED] wrote:

fcc-save-hook  ~A  +People/%O.gz
 
 However, recently one of my correspondents has had their email name
 changed to all capitals, so now rather than being saved in
People/personx.gz
 mutt wants to create
People/PERSONX.gz

Someone created a patch that will cause the following expanded text to
be lower-cased if you use the "_" prefix.  Like so:

fcc-save-hook   ~A  +People/%_O.gz

However, I cannot recall if this is standard behavior now, or if it
still requires a patch.  The behavior *is* in the version that I'm using
(or at least, it's in the manual), but I am using the development
version of Mutt, 1.1.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Save-hook question

2000-02-02 Thread Stewart V. Wright

Hi all,

I have the following hook set in my .muttrc :

   fcc-save-hook~A  +People/%O.gz

Effectively unless I specify it elsewhere my mail gets saved to 
   People/MailName.gz

However, recently one of my correspondents has had their email name
changed to all capitals, so now rather than being saved in
   People/personx.gz
mutt wants to create
   People/PERSONX.gz


Short of using procmail to rewrite all incoming mail addresses to
lower case is there some change I can make in my .muttrc ?



As a second question - how can I convince mutt that there is new mail
in compressed folders?  I have procmail deliver some mail to
compressed folders.  Then in my .muttrc I have

mailboxes ! +'aip.gz' "+majordomo.gz" +mutt.gz

and none of these seems to allow mutt to determine that there is new
mail in the compressed file.  Any ideas / suggestions?



Cheers,

S.

-- 
"Theory!" he said. "Theory!  Damned important, that.  You set a
technician on a problem.  He'll fool around.  Waste lifetimes.
Get nowhere.  Just putter about at random.  A true scientist
works with theory.  Lets math solve his problems."
--  Not Final!  Isaac Asimov

 PGP signature