From: Reiner Steib <reinersteib+gmane@imap.cc>
Cc: ding@gnus.org, emacs-devel@gnu.org
Subject: Re: gnus / message-send-mail-with-mailclient [patch]
Date: Fri, 24 Mar 2006 15:29:16 +0100 [thread overview]
Message-ID: <v9pskbsypv.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <F30F0A45-1C1C-4FA8-96C1-FE5DE59A42FB@gmail.com>
On Wed, Mar 22 2006, David Reitter wrote:
[ Apparently you message didn't make it to the list (yet) => Not
trimming the quotes. Please keep emacs-devel and ding@gnus in Cc. ]
> On 18 Mar 2006, at 11:44, Reiner Steib wrote:
>> Eli Zaretskii wrote:
>>> So I think mailclient should be used in preference to smtpmail.
>>
>> If the user (or site admin) has configured
>> `smtpmail-[default-]smtp-server' (or $SMTPSERVER) I think we can
>> assume that it works. Else the user can customize the variable
>> `message-send-mail-function'.
>>
>> I'd like to add `mailclient.el' to Gnus' contrib directory so that
>> Emacs 21 (or XEmacs) users can also use it. David, WDYT?
>
> I just tried out mailclient on emacs 21 on my FC3 (KDE) installation
> (where Firefox 1.06 is the standard web browser and reacts to
> browse- url). Turns out that there, browse-url does not work with
> mailto URLs. No feedback is given, and Emacs wrongly states that the
> e-mail is sent.
>
> browse-url-browser-function is set to `htmlview', which seems to be
> the default.
>
> On Darwin/OS X, Emacs 21 in the terminal works just fine with
> mailclient.
>
> In conclusion I'd say: yes, offer it to Emacs 21 users.
Thanks for your feedback. I will add it in contrib and change the
`message-send-mail-function' after the upcoming release of Gnus
5.10.8.
> However, do not use mailclient as a preference to zero-configuration
> methods (sendmail) on GNU/Linux systems. As for `smtpmail', I can't
> tell. But at least one would think that smtpmail shows an error
> message in case it hasn't been configured (with a server), right?
> That's better than showing nothing or misleading the user.
ELISP> (and (locate-library "smtpmail")
(require 'smtpmail)
smtpmail-default-smtp-server)
nil
ELISP> (setq message-send-mail-function 'message-smtpmail-send-it)
message-smtpmail-send-it
==> smtpmail-via-smtp: `smtpmail-smtp-server' not defined
For sendmail, we also get a warning:
ELISP> (setq sendmail-program "/foo/bar/baz")
"/foo/bar/baz"
ELISP> (setq message-send-mail-function 'message-send-mail-with-sendmail)
message-send-mail-with-sendmail
==> Searching for program: no such file or directory, /foo/bar/baz
> Maybe we should caution users appropriately if mailclient is used on
> systems where we can't guarantee reliability?
I can't think of a reliable way to check if the application called by
`browse-url' handled the mailto link correctly.
At least, `mailclient-send-it' could inform the user what it does.
Something like "Delegating [shortened-mailto-stuff] to
`browse-url'...". Maybe including the value of
`browse-url-browser-function' in the message. Note that
`browse-url-browser-function' might be a (REGEXP . FUNCTION) list.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2006-03-24 14:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <059BF802-B4EB-433E-AF78-024107CD7E16@gmail.com>
2006-03-16 21:27 ` Reiner Steib
2006-03-17 7:39 ` David Reitter
2006-03-17 11:33 ` Eli Zaretskii
2006-03-17 12:37 ` David Reitter
2006-03-17 17:10 ` Reiner Steib
2006-03-18 10:36 ` Eli Zaretskii
2006-03-18 11:44 ` Reiner Steib
[not found] ` <F30F0A45-1C1C-4FA8-96C1-FE5DE59A42FB@gmail.com>
2006-03-24 14:29 ` Reiner Steib [this message]
2006-03-24 17:15 ` David Reitter
2006-03-24 20:29 ` Kevin Rodgers
2006-03-26 9:35 ` David Reitter
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v9pskbsypv.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=ding@gnus.org \
--cc=emacs-devel@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.
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 NNTP newsgroup(s).