all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Art Werschulz <agw@dsm.fordham.edu>
To: help-gnu-emacs@gnu.org
Subject: mail forwarding not working
Date: Thu, 19 Aug 2010 15:48:41 -0400	[thread overview]
Message-ID: <ue39uaqt7q.fsf@sobolev.dsm.fordham.edu> (raw)

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


             reply	other threads:[~2010-08-19 19:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-19 19:48 Art Werschulz [this message]
2010-08-20  4:27 ` mail forwarding not working Glenn Morris
2010-08-20 11:23   ` Art Werschulz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ue39uaqt7q.fsf@sobolev.dsm.fordham.edu \
    --to=agw@dsm.fordham.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.