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

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 30 Apr 2011 16:02:01 UTC

Severity: normal

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andy Moreton <andrewjmoreton <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#8595: 24.0.50; cannot send bug report with emacs -nw
Date: Sun, 01 May 2011 18:11:10 +0100
On Sat 30 Apr 2011, Eli Zaretskii wrote:

>> From: "Drew Adams" <drew.adams <at> oracle.com>
>> Cc: <8595 <at> debbugs.gnu.org>
>> 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.
;;;###autoload
(put 'send-mail-function 'standard-value
     '((if (and window-system (memq system-type '(darwin windows-nt)))
	   'mailclient-send-it
	 'sendmail-send-it)))

;; 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)
--8<---------------cut here---------------end--------------->8---

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

    AndyM





This bug report was last modified 14 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.