>>>> "Matt" == Matt Price
<matt.price(a)utoronto.ca> writes:
Matt> I have mode-hooks callingthese funcitons when either mode is
Matt> loaded. But, while these hooks worked fine in FSF Emacs, I
Matt> can't get them to work in xemacs on initial loading of a
Matt> message buffer (if I switch modes in mid-composition, the
Matt> movement *will* take place!
Try wrapping the functions in code to print a progress message (eg,
`(message "Moving cursor to first line of text")') to find out if te
hook is actually being called.
Matt> Someone on the mutt list suggested that the hook might be
Matt> executed before the file is actually read into the buffer.
Seems unlikely. Emacs doesn't run these hooks itself; that is done by
the mode-switch function, which is presumably called by the posting
function, which probably is also provided by post-mode or sendmail.el.
Matt> Is there a way to fix it?
Show us the relevant code. post-mode isn't distributed with XEmacs,
so I don't see how it would be related to anything XEmacs is doing.
There might be some GNU-specific thing we haven't implemented or
synched yet, but without looking at the code I can't say.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.