* mail forwarding not working
@ 2010-08-19 19:48 Art Werschulz
2010-08-20 4:27 ` Glenn Morris
0 siblings, 1 reply; 3+ messages in thread
From: Art Werschulz @ 2010-08-19 19:48 UTC (permalink / raw
To: help-gnu-emacs
Hi.
I recently upgraded from Emacs 22 to Emacs 23. Hence, I am now using
message-mode for sending mail, rather than message mode. I am still
using RMAIL to read mail.
My problem: Mail-forwarding seems to be broken. If I try to forward an
email msg, I get the following (debug-on-error is enabled):
------%<--%<--%<---cut here---%<--%<--%<----------------------------
Debugger entered--Lisp error: (void-function mail-text-start)
mail-text-start()
rmail-forward(nil)
call-interactively(rmail-forward nil nil)
------%<--%<--%<---cut here---%<--%<--%<----------------------------
One more datum (which I just discovered): I tried forwarding a mail msg
after firing up GNUS. Now I get a buffer in which to send mail, but the
msg to be forwarded doesn't appear. Moreover, the minibuffer shows the
msg
rmail-forward: Symbol's function definition is void: mail-text-start
Note that I transferred over a couple of customizations that I had used
with mail-mode. There's a good chance that this may be the source of
the problem.
The first was as follows:
------%<--%<--%<---cut here---%<--%<--%<----------------------------
(setq message-send-hook
'(lambda ()
(mail-log-it)))
------%<--%<--%<---cut here---%<--%<--%<----------------------------
Here, mail-log-it is a function that writes some information to a
logfile. If anybody thinks that it would be helpful, I'll send along a
copy of mail-log-it.
The second is as follows:
------%<--%<--%<---cut here---%<--%<--%<----------------------------
(defun my-message-send-mail-function ()
(interactive)
(if (y-or-n-p "Really send? ")
(message-send-mail-with-sendmail)
(error "Send Aborted")))
(setq message-send-mail-function 'my-message-send-mail-function)
------%<--%<--%<---cut here---%<--%<--%<----------------------------
This allows me to change my mind before sending mail.
Any insight you might have would be *very* welcome! Thanks!
--
Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker
GCS/M (GAT): d? -p+ c++ l++ u+ P++ e--- m* s n+ h f g+ w+ t+ r-
Net: agw@dsm.fordham.edu http://www.dsm.fordham.edu/~agw
Phone: Fordham U. (212) 636-6325, Columbia U. (646) 775-6035
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mail forwarding not working
2010-08-19 19:48 mail forwarding not working Art Werschulz
@ 2010-08-20 4:27 ` Glenn Morris
2010-08-20 11:23 ` Art Werschulz
0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2010-08-20 4:27 UTC (permalink / raw
To: help-gnu-emacs
Art Werschulz wrote:
> Debugger entered--Lisp error: (void-function mail-text-start)
> mail-text-start()
> rmail-forward(nil)
A bug. Try
(require 'sendmail)
in your .emacs to work around it.
> (defun my-message-send-mail-function ()
> (interactive)
> (if (y-or-n-p "Really send? ")
> (message-send-mail-with-sendmail)
> (error "Send Aborted")))
>
> (setq message-send-mail-function 'my-message-send-mail-function)
> ------%<--%<--%<---cut here---%<--%<--%<----------------------------
> This allows me to change my mind before sending mail.
There is a standard option, message-confirm-send, for this.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mail forwarding not working
2010-08-20 4:27 ` Glenn Morris
@ 2010-08-20 11:23 ` Art Werschulz
0 siblings, 0 replies; 3+ messages in thread
From: Art Werschulz @ 2010-08-20 11:23 UTC (permalink / raw
To: help-gnu-emacs
Hi.
Glenn Morris <rgm+news@stanford.edu> writes:
> A bug. Try
>
> (require 'sendmail)
>
> in your .emacs to work around it.
>
That fixed it. Thanks!
--
Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker
GCS/M (GAT): d? -p+ c++ l++ u+ P++ e--- m* s n+ h f g+ w+ t+ r-
Net: agw@dsm.fordham.edu http://www.dsm.fordham.edu/~agw
Phone: Fordham U. (212) 636-6325, Columbia U. (646) 775-6035
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-20 11:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-19 19:48 mail forwarding not working Art Werschulz
2010-08-20 4:27 ` Glenn Morris
2010-08-20 11:23 ` Art Werschulz
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.