* "confirm before send" in message mode
@ 2010-08-10 16:27 Art Werschulz
0 siblings, 0 replies; only message in thread
From: Art Werschulz @ 2010-08-10 16:27 UTC (permalink / raw
To: help-gnu-emacs
Hi.
We just upgraded from Fedora 12 to Fedora 13.
We're now using:
GNU Emacs 23.2.1 (i386-redhat-linux-gnu, GTK+ Version 2.20.1) of
2010-05-13 on x86-01.phx2.fedoraproject.org
This version of emacs uses Message Mode, rather than Mail Mode, for
composing outgoing email.
Under the old regime, I used the following Emacs Lisp code to ask
whether I really wanted to send a msg:
------%<--%<--%<---cut here---%<--%<--%<----------------------------
;;; from fpb@fore.com (Frank P. Bresz)
(defun my-sendmail-send-it ()
(interactive)
(if (y-or-n-p "Really send? ")
(sendmail-send-it)
(error "Send Aborted")))
(setq send-mail-function 'my-sendmail-send-it)
------%<--%<--%<---cut here---%<--%<--%<----------------------------
Now the info pages say:
The variable `send-mail-function' controls how the default mail user
agent sends mail. Its value should be a function, which can be one of
the following:
`sendmail-send-it'
Send mail using the system's default `sendmail' (or
`sendmail'-compatible) program. This is the default on Unix and
GNU, and works provided the system is a valid "mail host" (that is,
provided it can deliver mail via SMTP).
So I would expect this code to work under Message Mode. But it
doesn't. In other words, I get no confirmation check, and the mail is
simply sent.
Any suggestions on what I'm missing here? 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] only message in thread
only message in thread, other threads:[~2010-08-10 16:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-10 16:27 "confirm before send" in message mode 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.