Gnus development mailing list
 help / color / mirror / Atom feed
* another message-mode hook
@ 1998-12-08 17:12 Jack Vinson
  1998-12-13  8:20 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Jack Vinson @ 1998-12-08 17:12 UTC (permalink / raw)


Now that we have a fairly nice way of creating multipart MIME message,
there needs to be a hook that runs BEFORE the mimification is done to the
message buffer.  Why?  I like to run ispell on my outgoing messages.  This
runs in message-send-hook which is one of the last hooks run before the
message goes out the door.

-- 
Jack Vinson <jvinson@chevax.ecs.umass.edu>    http://www.cis.upenn.edu/~vinson/
Zippy: Ask me the DIFFERENCE between PHIL SILVERS and ALEXANDER HAIG!!



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: another message-mode hook
  1998-12-08 17:12 another message-mode hook Jack Vinson
@ 1998-12-13  8:20 ` Lars Magne Ingebrigtsen
  1998-12-14  8:51   ` Didier Verna
  1998-12-14 16:28   ` Jack Vinson
  0 siblings, 2 replies; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-12-13  8:20 UTC (permalink / raw)


Jack Vinson <jvinson@chevax.ecs.umass.edu> writes:

> Now that we have a fairly nice way of creating multipart MIME message,
> there needs to be a hook that runs BEFORE the mimification is done to the
> message buffer.  Why?  I like to run ispell on my outgoing messages.  This
> runs in message-send-hook which is one of the last hooks run before the
> message goes out the door.

No, `message-send-hook' is one of the first things that are run when
sending messages...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: another message-mode hook
  1998-12-13  8:20 ` Lars Magne Ingebrigtsen
@ 1998-12-14  8:51   ` Didier Verna
  1998-12-15 17:23     ` Lars Magne Ingebrigtsen
  1998-12-14 16:28   ` Jack Vinson
  1 sibling, 1 reply; 6+ messages in thread
From: Didier Verna @ 1998-12-14  8:51 UTC (permalink / raw)


Lars Magne Ingebrigtsen writes:

Lars> No, `message-send-hook' is one of the first things that are run when
Lars> sending messages...

	I'd be better name message-before-send-hook, wouldn't it ?

-- 
    /     /   _   _       Didier Verna        http://www.inf.enst.fr/~verna/
 - / / - / / /_/ /      E.N.S.T. INF C201.1      mailto:verna@inf.enst.fr
/_/ / /_/ / /__ /        46 rue Barrault        Tel.   (33) 01 45 81 73 46
                      75634 Paris  cedex 13     Fax.   (33) 01 45 81 31 19


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: another message-mode hook
  1998-12-13  8:20 ` Lars Magne Ingebrigtsen
  1998-12-14  8:51   ` Didier Verna
@ 1998-12-14 16:28   ` Jack Vinson
  1998-12-15 17:23     ` Lars Magne Ingebrigtsen
  1 sibling, 1 reply; 6+ messages in thread
From: Jack Vinson @ 1998-12-14 16:28 UTC (permalink / raw)


>>>>> "LMI" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Jack Vinson <jvinson@chevax.ecs.umass.edu> writes:
>> Now that we have a fairly nice way of creating multipart MIME message,
>> there needs to be a hook that runs BEFORE the mimification is done to the
>> message buffer.  Why?  I like to run ispell on my outgoing messages.  This
>> runs in message-send-hook which is one of the last hooks run before the
>> message goes out the door.

LMI> No, `message-send-hook' is one of the first things that are run when
LMI> sending messages...

It is not run before MIME encoding is completed.  When I use ispell-message
in the message-send-hook, it attempts to spell check on the enclosure.
There is an ispell-message-text-end regexp, but that won't help if I add
text both above and below an enclosure.

-- 
Jack Vinson <jvinson@chevax.ecs.umass.edu>    http://www.cis.upenn.edu/~vinson/
Zippy: Somewhere in DOWNTOWN BURBANK a prostitute is OVERCOOKING a LAMB CHOP!!



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: another message-mode hook
  1998-12-14  8:51   ` Didier Verna
@ 1998-12-15 17:23     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-12-15 17:23 UTC (permalink / raw)


Didier Verna <verna@inf.enst.fr> writes:

> Lars> No, `message-send-hook' is one of the first things that are run when
> Lars> sending messages...
> 
> 	I'd be better name message-before-send-hook, wouldn't it ?

Perhaps.  But since we also have `message-sent-hook', I think the
naming is logical.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: another message-mode hook
  1998-12-14 16:28   ` Jack Vinson
@ 1998-12-15 17:23     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-12-15 17:23 UTC (permalink / raw)


Jack Vinson <jvinson@chevax.ecs.umass.edu> writes:

> It is not run before MIME encoding is completed.

Not in certain 0.62 versions, but in 0.66 is is done at the beginning
again.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1998-12-15 17:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-08 17:12 another message-mode hook Jack Vinson
1998-12-13  8:20 ` Lars Magne Ingebrigtsen
1998-12-14  8:51   ` Didier Verna
1998-12-15 17:23     ` Lars Magne Ingebrigtsen
1998-12-14 16:28   ` Jack Vinson
1998-12-15 17:23     ` Lars Magne Ingebrigtsen

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).