unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Florian Beck <abstraktion@t-online.de>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; emacs-report-bug fails silently
Date: Sat, 31 May 2008 11:53:19 +0200	[thread overview]
Message-ID: <v9wsla4x68.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <874p8fi9op.fsf@sophokles.streitblatt.de> (Florian Beck's message of "Sat, 31 May 2008 02:44:38 +0200")

On Sat, May 31 2008, Florian Beck wrote:

> Look, if you think my setup is bizzare, please ignore my report. But
> I don't think it is.

Me neither, see the sub-thread[1] about this in April on emacs-devel.

> I installed Ubuntu and used gnus to talk to my pop server. 

POP is only for fetching mail, not for sending.

> I didn't configure sendmail or a system mail client or
> `mail-user-agent' because everything worked – until after more then
> a year I realised that emacs bug reports were not delived, despite
> the message »Sending…done«.

Emacs (or Gnus) doesn't know that your Gnus configuration allows to
send mail, so it can't set `mail-user-agent' to `gnus-user-agent'.

Gnus (`message.el') tried harder than `sendmail.el' to figure out if
sendmail exists.  See the function and the variable
`message-send-mail-function':

--8<---------------cut here---------------start------------->8---
(defun message-send-mail-function ()
  "Return suitable value for the variable `message-send-mail-function'."
  (cond ((and (require 'sendmail)
	      (boundp 'sendmail-program)
	      sendmail-program
	      (executable-find sendmail-program))
	 'message-send-mail-with-sendmail)
	((and (locate-library "smtpmail")
	      (require 'smtpmail)
	      smtpmail-default-smtp-server)
	 'message-smtpmail-send-it)
	((locate-library "mailclient")
	 'message-send-mail-with-mailclient)
	(t
	 (lambda ()
	   (error "Don't know how to send mail.  Please customize `message-send-mail-function'")))))

;; Useful to set in site-init.el
(defcustom message-send-mail-function (message-send-mail-function)
  "Function to call to send the current buffer as mail.
The headers should be delimited by a line whose contents match the
variable `mail-header-separator'.

Valid values include `message-send-mail-with-sendmail'
`message-send-mail-with-mh', `message-send-mail-with-qmail',
`message-smtpmail-send-it', `smtpmail-send-it',
`feedmail-send-it' and `message-send-mail-with-mailclient'.  The
default is system dependent and determined by the function
`message-send-mail-function'.

See also `send-mail-function'."
[...]
--8<---------------cut here---------------end--------------->8---

`sendmail.el' just uses `sendmail-send-it' without any check if
/usr/sbin/sendmail (et al) even exist:

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

Bye, Reiner.

[1] http://thread.gmane.org/gmane.emacs.devel/94623
    http://thread.gmane.org/gmane.emacs.devel/94336/focus=94623

,----
| From: Reiner Steib
| Subject: Default of send-mail-function (was: ...)
| To: Lennart Borgman
| Cc: emacs-devel@gnu.org
| Date: Mon, 07 Apr 2008 23:05:49 +0200
| Message-ID: <v9prt12x5e.fsf_-_@marauder.physik.uni-ulm.de>
`----
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




  parent reply	other threads:[~2008-05-31  9:53 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-30 12:59 23.0.60; emacs-report-bug fails silently Florian Beck
2008-05-30 13:59 ` Lennart Borgman (gmail)
2008-05-30 21:42   ` Florian Beck
2008-05-30 21:52     ` Lennart Borgman (gmail)
2008-05-31  0:44       ` Florian Beck
2008-05-31  9:18         ` Lennart Borgman (gmail)
2008-05-31 10:56           ` Reiner Steib
2008-06-01  2:47           ` Florian Beck
2008-06-01  8:04             ` Lennart Borgman (gmail)
2008-05-31  9:53         ` Reiner Steib [this message]
2008-06-01  2:54           ` Florian Beck
2008-06-01  7:59             ` Lennart Borgman (gmail)
2008-06-02  0:38             ` Stefan Monnier
2008-06-02  2:13               ` Florian Beck
2008-06-02  2:24                 ` Stefan Monnier
2008-06-05  5:27                 ` Stefan Monnier
2008-06-05 11:53                   ` Florian Beck
2008-06-05 13:58                     ` Stefan Monnier
2008-06-05 14:28                       ` Florian Beck
2008-06-06  6:01                         ` Stefan Monnier
2008-06-06 19:04                           ` Richard M Stallman
2008-06-07  1:24                             ` Stefan Monnier
2008-06-07  2:28                           ` Florian Beck
2008-06-07 14:23                             ` Chong Yidong
2008-06-07  7:50                           ` Reiner Steib
2008-06-13  4:15                           ` Kevin Rodgers
2008-06-13 14:17                             ` Stefan Monnier
2008-06-02  8:07               ` Paul R
2008-06-02 18:56                 ` Reiner Steib
2008-06-02 19:15                   ` Paul R
2008-06-03  8:26                     ` tomas
2008-06-05  5:15                       ` Stefan Monnier
2008-06-05 12:41                         ` tomas
2008-06-05 16:43                           ` Don Armstrong
2008-06-05 19:50                             ` Stefan Monnier
2008-06-01  5:36     ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9wsla4x68.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=abstraktion@t-online.de \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).