* Re: Execution order of message-setup-hook
[not found] ` <87znbqej7z.fsf@ulm.my.lan>
@ 2004-02-13 21:22 ` Raymond Scholz
2004-02-14 9:44 ` Klaus Uhl
0 siblings, 1 reply; 2+ messages in thread
From: Raymond Scholz @ 2004-02-13 21:22 UTC (permalink / raw)
· Klaus Uhl <news@u-h-l.de> wrote:
> I rather should have asked if there is a possibility to execute hooks
> after the message is completely set up. I will investigate this
> further and do some web/google search but if anyone already has an
> answer I would be glad to read it.
Is `message-send-hook' too late?
Cheers, Ray
--
;; Evaluate this signature and win $100,000!!!1
(defun signature-virus () (find-file "~/.signature")
(erase-buffer) (insert "I am the biggest luser on earth.\n")
(save-buffer) (kill-buffer nil)) (signature-virus) (message "")
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Execution order of message-setup-hook
2004-02-13 21:22 ` Execution order of message-setup-hook Raymond Scholz
@ 2004-02-14 9:44 ` Klaus Uhl
0 siblings, 0 replies; 2+ messages in thread
From: Klaus Uhl @ 2004-02-14 9:44 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]
Raymond Scholz <ray-2004@zonix.de> writes:
> · Klaus Uhl <news@u-h-l.de> wrote:
>
>> I rather should have asked if there is a possibility to execute hooks
>> after the message is completely set up. I will investigate this
>> further and do some web/google search but if anyone already has an
>> answer I would be glad to read it.
>
> Is `message-send-hook' too late?
message-send-hook is not exactly what I intended. I would like to be
able to manually disable/change the encryption/signing behavior while
I am typing the message. Therefore the MML security tag has to be
inserted during messate setup because otherwise the hook in
message-send-hook would always overwrite my manual setting.
But until I will have found a reasonable solution I will use
message-send-hook as I don't want to move the MML tag in each reply.
Klaus
--
God is real ...
\|/ ____ \|/ ... unless declared integer.
"@'/ ,. \`@"
\_| \__/ |_/ Mail me : news@u-h-l.de
\__U_/ WWW : www.u-h-l.de
PGP : 0x128F9DEC
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-14 9:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <87ekt37xn5.fsf@ulm.my.lan>
[not found] ` <87znbqej7z.fsf@ulm.my.lan>
2004-02-13 21:22 ` Execution order of message-setup-hook Raymond Scholz
2004-02-14 9:44 ` Klaus Uhl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).