Re: copy on a per email basis
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday, February 12 at 08:58 PM, quoth SK:
> I can almost use this, except for a small hurdle. I need to set the
> fcc file name based on the mailbox folder. Currently I use
> 'folder-hook' to do that. Is there anyway I can tweak this macro to
> get the fcc filename based on the mailbox folder?
Sure. The current folder name can be used as "^", so a useful macro
would be:
macro compose S "<edit-fcc><kill-line>^-sent<enter>"
Thus, if you are in ~/Mail/friends, your mail will be saved in
~/Mail/friends-sent.
If you need something more complicated, such as "in my friends folder,
I want to save to folder X, but in the inbox, I want to save to folder
Y" then you'll need to completely change the macro with a folder-hook,
like so:
folder-hook INBOX 'macro compose S <edit-fcc><kill-line>Y<enter>'
folder-hook friends 'macro compose S <edit-fcc><kill-line>X<enter>'
Make sense?
~Kyle
- --
To brand a book as unsuitable is an important step toward making it
required reading.
-- Marvin Kaye
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFHsgF2BkIOoMqOI14RAgelAJ9xQEJFosgr9nb4i3kf8cKWi4EPMwCg/a7T
Uje4zHT/gGGuUCSoSYay+R8=
=JINS
-----END PGP SIGNATURE-----