all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 7469@debbugs.gnu.org
Subject: bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
Date: Wed, 24 Nov 2010 00:29:32 +0100	[thread overview]
Message-ID: <m3bp5f7h5v.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <kl4ob7ac10.fsf@fencepost.gnu.org>

Glenn Morris <rgm@gnu.org> writes:

> Not really, more like by default it doesn't even try on Windows and Macs.
> Check the conditions in which send-mail-function defaults to
> mailclient-send-it. I suggest you copy those conditions to the default
> setting of browse-url-browser-function.

Hm...

(defcustom send-mail-function
  (if (and window-system (memq system-type '(darwin windows-nt)))
      'mailclient-send-it
    'sendmail-send-it)

Oh, so the thing is that `mailclient-send-it' itself uses browse-url to
send the message that has already been composed?

Clicking on a mailto: URL (with the current settings) will give you an
Emacs mail buffer (of some sort; depends on your configuration), and
this seems to be the right thing to do, instead of just calling an
external program to compose your mail.

But actually sending the message is a different matter.
`mailclient-send-it' just calls `browse-url' with a mailto: URL with all
the buffer contents and everything to actually send the message.  So
there seems to be two distinct usages for mailto: wrt browse-url: For
composing, and for sending.

Perhaps the right fix here is to alter `mailclient-send-it' to filter
out any mailto: settings in `browse-url-browser-function' before calling
`browse-url'.  I can do that, if that sounds like the right solution.

Otherwise we'll have to split up `browse-url-browser-function' somehow
for the two different mailto: use cases.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen





  reply	other threads:[~2010-11-23 23:29 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-23 15:52 bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows) Drew Adams
2010-11-23 19:52 ` Eli Zaretskii
2010-11-23 20:18   ` Drew Adams
2010-11-23 21:00     ` Eli Zaretskii
2010-11-23 21:04       ` Drew Adams
2010-11-23 21:22         ` Eli Zaretskii
2010-11-23 21:29           ` Lars Magne Ingebrigtsen
2010-11-23 22:52             ` Glenn Morris
2010-11-23 23:29               ` Lars Magne Ingebrigtsen [this message]
2010-11-24  2:33                 ` Stefan Monnier
2010-11-23 23:36               ` Lars Magne Ingebrigtsen
2010-11-24  2:34                 ` Stefan Monnier
2010-11-24  4:48                   ` Lars Magne Ingebrigtsen
2010-11-24  6:34                   ` Lars Magne Ingebrigtsen
2010-11-24 19:15                     ` Eli Zaretskii
2010-11-24 13:09                 ` Jason Rumney
2010-11-23 22:56             ` Jason Rumney
2010-11-23 21:12     ` Eli Zaretskii
2010-11-23 22:00       ` Drew Adams
2010-11-24  4:01         ` Eli Zaretskii
2010-11-24  4:28           ` Drew Adams
2010-11-24 11:39             ` Eli Zaretskii
2010-11-24 15:00               ` Drew Adams
2010-11-24 19:17                 ` Eli Zaretskii
2010-11-24 19:55                   ` Drew Adams

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=m3bp5f7h5v.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=7469@debbugs.gnu.org \
    --cc=rgm@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.