[Mew-dist 07433] Re: saving pick patterns and using them again later...
Umekichi
umekichi at example.com
1999年 2月 15日 (月) 00:28:36 JST
> is it possible to save pick patterns in mew and use them later (i.e.
> later invocations of mew)? i couldn't figure this out from the
> documentation. does anyone else think this would be a nice feature to
> have?
>
> attached is a sample implementation.
I've not yet understood your implementation in detail, but I
think you can do what you want to do by using
'mew-pick-define-macro'.
For example, place following lisp expression in your .emacs file,
(add-hook 'mew-init-hook
(function
(lambda ()
(if (fboundp 'mew-pick-define-macro)
(progn
(mew-pick-define-macro "mew" "subject=\\[Mew-dist")
(mew-pick-define-macro "tocc=#" "to=#|cc=#")
(mew-pick-define-macro "pgp-users" "tocc=pgp-users@")
)))))
and when you meet "pick pattern: " prompt, fill it with
"mew" or "pgp-users".
=Umekichi=
Mew-dist メーリングリストの案内