David --

...and then David Collantes said...
% 
% Hi there!

Hello!


% 
% I am using the compressed folder patch on Mutt and I love it. My question, from the 
subject, I would liketo be able
% to open, save and do all folder function on the compressed folders without the need 
to type the extension, such as
% =test.gz, for example. Is that possible? Tips anyone?

Since the compressed folders patch works on hooks that recognize
patterns, if you have your compressed folders in a directory like =Z (as
I do), perhaps you could whip up a hook expression that would work.  This
is untested, but perhaps something like

  open-hook =Z/.*$ "gzip -cd %f > %t"
  close-hook =Z/.*$ "gzip -c %t > %f"
  append-hook =Z/.*$ "gzip -c %t >> %f"

would do the trick.


% 
% Cheers!

HTH & HAND


% 
% -- 
% David Collantes - http://www.bus.ucf.edu/david/
% "The only source of knowledge is experience" - Albert Einstein


:-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.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg23077/pgp00000.pgp
Description: PGP signature

Reply via email to