From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#8595: 24.0.50; cannot send bug report with emacs -nw Date: Sun, 01 May 2011 18:11:10 +0100 Message-ID: <827haas5w1.fsf@gmail.com> References: <5AA710C088E94880A4108EF38BB1125E@us.oracle.com> <83d3k366yc.fsf@gnu.org> <58A6294109794E81A159199E7F8FA590@us.oracle.com> <83aaf75z2y.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1304271421 12108 80.91.229.12 (1 May 2011 17:37:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 1 May 2011 17:37:01 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 01 19:36:58 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QGaZl-0003BN-Il for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 May 2011 19:36:57 +0200 Original-Received: from localhost ([::1]:45964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGaZk-0000jh-OP for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 May 2011 13:36:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGaZh-0000jb-TG for bug-gnu-emacs@gnu.org; Sun, 01 May 2011 13:36:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGaZh-0002tf-1E for bug-gnu-emacs@gnu.org; Sun, 01 May 2011 13:36:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGaZg-0002tb-QU for bug-gnu-emacs@gnu.org; Sun, 01 May 2011 13:36:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QGaBe-0006mR-HQ; Sun, 01 May 2011 13:12:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <5AA710C088E94880A4108EF38BB1125E@us.oracle.com> Resent-From: Andy Moreton Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 May 2011 17:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.130426989626025 (code B ref -1); Sun, 01 May 2011 17:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 May 2011 17:11:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QGaBE-0006li-0o for submit@debbugs.gnu.org; Sun, 01 May 2011 13:11:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QGaBB-0006lX-Kq for submit@debbugs.gnu.org; Sun, 01 May 2011 13:11:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGaB5-0008Pp-Kv for submit@debbugs.gnu.org; Sun, 01 May 2011 13:11:28 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:40741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGaB5-0008Pl-Ja for submit@debbugs.gnu.org; Sun, 01 May 2011 13:11:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGaB4-0006Se-J1 for bug-gnu-emacs@gnu.org; Sun, 01 May 2011 13:11:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGaB3-0008PR-I6 for bug-gnu-emacs@gnu.org; Sun, 01 May 2011 13:11:26 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:44107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGaB3-0008PI-CT for bug-gnu-emacs@gnu.org; Sun, 01 May 2011 13:11:25 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QGaB1-0006QD-JR for bug-gnu-emacs@gnu.org; Sun, 01 May 2011 19:11:23 +0200 Original-Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 May 2011 19:11:23 +0200 Original-Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 May 2011 19:11:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-64-228.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:qApE9QfZTVoEip1Ygrkrygdh8w8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 01 May 2011 13:12:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46128 Archived-At: On Sat 30 Apr 2011, Eli Zaretskii wrote: >> From: "Drew Adams" >> Cc: <8595@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