* send-mail-function: different default on Win/OSX
@ 2005-10-04 10:16 David Reitter
0 siblings, 0 replies; only message in thread
From: David Reitter @ 2005-10-04 10:16 UTC (permalink / raw)
Cc: Richard Stallman
[-- Attachment #1.1.1: Type: text/plain, Size: 384 bytes --]
With the current defaults, Emacs is unable to successfully send off a
bug report (or any other mail) out-of-the box on Mac OS X, and I
suspect it won't work on Windows either. The reason is the default
for send-mail-function, which is changed on these systems with the
following patch.
(Richard, I sent you an earlier version on August 14, which hasn't
been checked in.)
[-- Attachment #1.1.2: sendmail.patch --]
[-- Type: application/octet-stream, Size: 973 bytes --]
Index: sendmail.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/mail/sendmail.el,v
retrieving revision 1.292
diff -c -r1.292 sendmail.el
*** sendmail.el 12 Sep 2005 22:58:55 -0000 1.292
--- sendmail.el 4 Oct 2005 10:12:27 -0000
***************
*** 120,126 ****
;; Useful to set in site-init.el
;;;###autoload
! (defcustom send-mail-function 'sendmail-send-it
"Function to call to send the current buffer as mail.
The headers should be delimited by a line which is
not a valid RFC822 header or continuation line,
--- 120,129 ----
;; Useful to set in site-init.el
;;;###autoload
! (defcustom send-mail-function
! (if (and window-system (memq system-type '(darwin windows-nt)))
! 'mailclient-send-it
! 'sendmail-send-it)
"Function to call to send the current buffer as mail.
The headers should be delimited by a line which is
not a valid RFC822 header or continuation line,
[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2400 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-04 10:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-04 10:16 send-mail-function: different default on Win/OSX David Reitter
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.