[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8595: 24.0.50; cannot send bug report with emacs -nw

From: Andy Moreton
Subject: bug#8595: 24.0.50; cannot send bug report with emacs -nw
Date: Sun, 01 May 2011 18:11:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

On Sat 30 Apr 2011, Eli Zaretskii wrote:

>> From: "Drew Adams" <address@hidden>
>> Cc: <address@hidden>
>> Date: Sat, 30 Apr 2011 10:51:04 -0700
>> > What is your value of send-mail-function in the session that fails
>> > like that?
>> send-mail-function is a variable defined in `sendmail.el'.
>> Its value is sendmail-send-it
> That's the culprit, it should be mailclient-send-t.  I will try to
> figure out why it doesn't happen in "emacs -nw".

Looking in sendmail.el:
--8<---------------cut here---------------start------------->8---
;; Prevent problems with `window-system' not having the correct value
;; when loaddefs.el is loaded. `custom-reevaluate-setting' needs the
;; standard value.
(put 'send-mail-function 'standard-value
     '((if (and window-system (memq system-type '(darwin windows-nt)))

;; Useful to set in site-init.el
(defcustom send-mail-function
  (if (and window-system (memq system-type '(darwin windows-nt)))
--8<---------------cut here---------------end--------------->8---

So the question seems to be why is mailclient-send-it preferred only
when window-system is non-nil ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]