unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
@ 2010-11-23 15:52 Drew Adams
  2010-11-23 19:52 ` Eli Zaretskii
  0 siblings, 1 reply; 25+ messages in thread
From: Drew Adams @ 2010-11-23 15:52 UTC (permalink / raw)
  To: 7469

Regression.
(More or less the same problem we had a few months back, bug #5299.)

Cannot send a bug report on Windows.  Symptoms slightly different, however.

When I hit C-c C-c in the bug-report window and answer `yes' to the prompt to
send the report, it simply claims that it sent the bug report (but it did not),
and shows me the buffer *sent mail to bug-gnu-emacs@gnu.org*.

It should invoke my mail client (Outlook), popping up a new mail message
addressed properly with the Subject filled out and the body having text saying
that you can paste the bug-report contents there.

The `From' field in the buffer *sent mail...* shows this:

From: dradams@DRADAMS-LAP1.i-did-not-set--mail-host-address--so-tickle-me

Users should not need to set anything in order to be able to send Emacs bug
reports.  It is not the users who need "tickling" here.

First reported to emacs-devel (no response) for this version:

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-11-22 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
 -Ic:/imagesupport/include'

Problem still exists in this version:

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-11-16 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'









^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  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
  0 siblings, 1 reply; 25+ messages in thread
From: Eli Zaretskii @ 2010-11-23 19:52 UTC (permalink / raw)
  To: Drew Adams; +Cc: 7469

> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Tue, 23 Nov 2010 07:52:15 -0800
> Cc: 
> 
> Cannot send a bug report on Windows.  Symptoms slightly different, however.
> 
> When I hit C-c C-c in the bug-report window and answer `yes' to the prompt to
> send the report, it simply claims that it sent the bug report (but it did not),
> and shows me the buffer *sent mail to bug-gnu-emacs@gnu.org*.

Is this in "emacs -Q"?  If so, what is your value of
send-mail-function?





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  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:12     ` Eli Zaretskii
  0 siblings, 2 replies; 25+ messages in thread
From: Drew Adams @ 2010-11-23 20:18 UTC (permalink / raw)
  To: 'Eli Zaretskii'; +Cc: 7469

> Is this in "emacs -Q"?  If so, what is your value of
> send-mail-function?

Yes.  The default value from emacs -Q: `mailclient-send-it'.  That's the same
value as in Emacs 23.2 (and earlier Emacs 24 snapshots), where there is no
problem.






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  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:12     ` Eli Zaretskii
  1 sibling, 1 reply; 25+ messages in thread
From: Eli Zaretskii @ 2010-11-23 21:00 UTC (permalink / raw)
  To: Drew Adams; +Cc: 7469

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <7469@debbugs.gnu.org>
> Date: Tue, 23 Nov 2010 12:18:18 -0800
> 
> > Is this in "emacs -Q"?  If so, what is your value of
> > send-mail-function?
> 
> Yes.  The default value from emacs -Q: `mailclient-send-it'.  That's the same
> value as in Emacs 23.2 (and earlier Emacs 24 snapshots), where there is no
> problem.

The problem seems elusive, it doesn't happen when I Edebug.  If you
could find out or recall when did it last work for you in Emacs 24,
that would allow to narrow down the search for the culprit.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-23 21:00     ` Eli Zaretskii
@ 2010-11-23 21:04       ` Drew Adams
  2010-11-23 21:22         ` Eli Zaretskii
  0 siblings, 1 reply; 25+ messages in thread
From: Drew Adams @ 2010-11-23 21:04 UTC (permalink / raw)
  To: 'Eli Zaretskii'; +Cc: 7469

> The problem seems elusive, it doesn't happen when I Edebug.  If you
> could find out or recall when did it last work for you in Emacs 24,
> that would allow to narrow down the search for the culprit.

It works fine in:

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-11-09 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'

It does not work in the version I first reported (build of 2010-11-16).






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-23 20:18   ` Drew Adams
  2010-11-23 21:00     ` Eli Zaretskii
@ 2010-11-23 21:12     ` Eli Zaretskii
  2010-11-23 22:00       ` Drew Adams
  1 sibling, 1 reply; 25+ messages in thread
From: Eli Zaretskii @ 2010-11-23 21:12 UTC (permalink / raw)
  To: Drew Adams; +Cc: 7469

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <7469@debbugs.gnu.org>
> Date: Tue, 23 Nov 2010 12:18:18 -0800
> 
> > Is this in "emacs -Q"?  If so, what is your value of
> > send-mail-function?
> 
> Yes.  The default value from emacs -Q: `mailclient-send-it'.  That's the same
> value as in Emacs 23.2 (and earlier Emacs 24 snapshots), where there is no
> problem.

What do you see in the "unsent mail" buffer?





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-23 21:04       ` Drew Adams
@ 2010-11-23 21:22         ` Eli Zaretskii
  2010-11-23 21:29           ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 25+ messages in thread
From: Eli Zaretskii @ 2010-11-23 21:22 UTC (permalink / raw)
  To: Drew Adams, Lars Magne Ingebrigtsen; +Cc: 7469

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <7469@debbugs.gnu.org>
> Date: Tue, 23 Nov 2010 13:04:17 -0800
> 
> > The problem seems elusive, it doesn't happen when I Edebug.  If you
> > could find out or recall when did it last work for you in Emacs 24,
> > that would allow to narrow down the search for the culprit.
> 
> It works fine in:
> 
> In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
>  of 2010-11-09 on 3249CTO

Thanks.  I found the culprit, it's this change:

  2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	  * net/browse-url.el (browse-url-browser-function): Change the
	  default to use `browse-url-mail' on mailto: URLs.

Lars, what was the rationale for that change?  It breaks
report-emacs-bug, which uses the mailto: URLs.  `browse-url-mail'
simply uses Emacs to compose a mail message, which is of course
useless when browse-url is called from mailclient.el because Emacs
failed to find any better way of sending mail, and falls back to
mailto:.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  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 22:56             ` Jason Rumney
  0 siblings, 2 replies; 25+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-11-23 21:29 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 7469

Eli Zaretskii <eliz@gnu.org> writes:

> Lars, what was the rationale for that change?

It was so that HTML rendered in Emacs would use Emacs to send the email,
instead of popping up a browser window.  Which often doesn't work, since
you need to have mail configured in your browser...

> It breaks report-emacs-bug, which uses the mailto: URLs.
> `browse-url-mail' simply uses Emacs to compose a mail message, which
> is of course useless when browse-url is called from mailclient.el
> because Emacs failed to find any better way of sending mail, and falls
> back to mailto:.

So report-emacs-bug tries to determine whether Emacs can send mail, and
if it can't, it tries to open a browser, in the hope that it knows how
to send mail?  In what situations does this occur?

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





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-23 21:12     ` Eli Zaretskii
@ 2010-11-23 22:00       ` Drew Adams
  2010-11-24  4:01         ` Eli Zaretskii
  0 siblings, 1 reply; 25+ messages in thread
From: Drew Adams @ 2010-11-23 22:00 UTC (permalink / raw)
  To: 'Eli Zaretskii'; +Cc: 7469

> What do you see in the "unsent mail" buffer?

From: dradams@DRADAMS-LAP1.i-did-not-set--mail-host-address--so-tickle-me
To: bug-gnu-emacs@gnu.org
Subject: 24.0.50; test
--text follows this line--
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your report will be posted to the bug-gnu-emacs@gnu.org mailing list
and the gnu.emacs.bug news group, and at http://debbugs.gnu.org.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting from `emacs -Q':



If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
c:/Emacs-24-2010-11-22/etc/DEBUG.


In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-11-22 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: Dired by name

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <menu-bar> <help-menu> <send-emacs-bug
-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr message rfc822 mml easymenu mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
emacsbug dired regexp-opt tooltip ediff-hook vc-hooks lisp-float-type
mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset
image fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev button minibuffer faces cus-face files text-properties overlay
md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process multi-tty emacs)






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-23 21:29           ` Lars Magne Ingebrigtsen
@ 2010-11-23 22:52             ` Glenn Morris
  2010-11-23 23:29               ` Lars Magne Ingebrigtsen
  2010-11-23 23:36               ` Lars Magne Ingebrigtsen
  2010-11-23 22:56             ` Jason Rumney
  1 sibling, 2 replies; 25+ messages in thread
From: Glenn Morris @ 2010-11-23 22:52 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 7469

Lars Magne Ingebrigtsen wrote:

> It was so that HTML rendered in Emacs would use Emacs to send the email,
> instead of popping up a browser window.  Which often doesn't work, since
> you need to have mail configured in your browser...

Apparently the situation is the reverse on MS-Windows and Macs: mail
from Emacs often doesn't work, and simply punting to the system's
mailto: handler is a better guess.

> So report-emacs-bug tries to determine whether Emacs can send mail, and
> if it can't, it tries to open a browser, in the hope that it knows how
> to send mail?  In what situations does this occur?

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.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-23 21:29           ` Lars Magne Ingebrigtsen
  2010-11-23 22:52             ` Glenn Morris
@ 2010-11-23 22:56             ` Jason Rumney
  1 sibling, 0 replies; 25+ messages in thread
From: Jason Rumney @ 2010-11-23 22:56 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 7469

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

>> It breaks report-emacs-bug, which uses the mailto: URLs.
>> `browse-url-mail' simply uses Emacs to compose a mail message, which
>> is of course useless when browse-url is called from mailclient.el
>> because Emacs failed to find any better way of sending mail, and falls
>> back to mailto:.
>
> So report-emacs-bug tries to determine whether Emacs can send mail, and
> if it can't, it tries to open a browser, in the hope that it knows how
> to send mail?  In what situations does this occur?

Why would it pop up a browser for a mailto: URL? Most systems will be
configured to open a mail client for such URLs. I think the default URL
handler for modern GNU/Linux desktops as well as Windows and Mac is
capable of this.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-23 22:52             ` Glenn Morris
@ 2010-11-23 23:29               ` Lars Magne Ingebrigtsen
  2010-11-24  2:33                 ` Stefan Monnier
  2010-11-23 23:36               ` Lars Magne Ingebrigtsen
  1 sibling, 1 reply; 25+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-11-23 23:29 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 7469

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





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-23 22:52             ` Glenn Morris
  2010-11-23 23:29               ` Lars Magne Ingebrigtsen
@ 2010-11-23 23:36               ` Lars Magne Ingebrigtsen
  2010-11-24  2:34                 ` Stefan Monnier
  2010-11-24 13:09                 ` Jason Rumney
  1 sibling, 2 replies; 25+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-11-23 23:36 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 7469

The other two options that I see are:

1) Revert `browse-url-browser-function' to the previous definition, and
special-case mailto: handling in all the callers so that they end up in
an Emacs mail buffer when they ask for a mailto: URL.  This doesn't seem
very satisfactory.

2) Revert `browse-url-browser-function', but add a new variable
`browse-url-mailto-function', which will be checked by `browse-url' on
mailto: URLs.  mailclient.el would bind that to nil before calling
`browse-url' to get the system browser to handle sending the mail.

Of the three possibilities, I think the last one would be most
backwards-compatible and featureful.

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





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-23 23:29               ` Lars Magne Ingebrigtsen
@ 2010-11-24  2:33                 ` Stefan Monnier
  0 siblings, 0 replies; 25+ messages in thread
From: Stefan Monnier @ 2010-11-24  2:33 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 7469

> 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.

Yes, this sounds like a good change, since it will make
mailclient-send-it more robust.

But maybe we should also change browse-url so it doesn't use Emacs for
"mailto:" if send-mail-function is set to mailclient-send-it.


        Stefan





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  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 13:09                 ` Jason Rumney
  1 sibling, 2 replies; 25+ messages in thread
From: Stefan Monnier @ 2010-11-24  2:34 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 7469

> 2) Revert `browse-url-browser-function', but add a new variable
> `browse-url-mailto-function', which will be checked by `browse-url' on
> mailto: URLs.  mailclient.el would bind that to nil before calling
> `browse-url' to get the system browser to handle sending the mail.

That sounds OK, yes.


        Stefan





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-23 22:00       ` Drew Adams
@ 2010-11-24  4:01         ` Eli Zaretskii
  2010-11-24  4:28           ` Drew Adams
  0 siblings, 1 reply; 25+ messages in thread
From: Eli Zaretskii @ 2010-11-24  4:01 UTC (permalink / raw)
  To: Drew Adams; +Cc: 7469

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <7469@debbugs.gnu.org>
> Date: Tue, 23 Nov 2010 14:00:19 -0800
> 
> > What do you see in the "unsent mail" buffer?
> 
> From: dradams@DRADAMS-LAP1.i-did-not-set--mail-host-address--so-tickle-me
> To: bug-gnu-emacs@gnu.org
> Subject: 24.0.50; test
> --text follows this line--

Is this before or after you press C-c C-c to send?

After I press C-c C-c, what I see in the unsent mail buffer is this:

 *** E-Mail body has been placed on clipboard, please paste it here! ***





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-24  4:01         ` Eli Zaretskii
@ 2010-11-24  4:28           ` Drew Adams
  2010-11-24 11:39             ` Eli Zaretskii
  0 siblings, 1 reply; 25+ messages in thread
From: Drew Adams @ 2010-11-24  4:28 UTC (permalink / raw)
  To: 'Eli Zaretskii'; +Cc: 7469

> Is this before or after you press C-c C-c to send?
> After I press C-c C-c, what I see in the unsent mail buffer is this:
>
>  *** E-Mail body has been placed on clipboard, please paste it here! ***

I haven't followed the rest of what you guys are saying, but that is the text
that should appear in the mail client new mail message body, on Windows. You
just select it and hit C-v to paste the prepared bug report content.







^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-24  2:34                 ` Stefan Monnier
@ 2010-11-24  4:48                   ` Lars Magne Ingebrigtsen
  2010-11-24  6:34                   ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 25+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-11-24  4:48 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 7469

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

>> 2) Revert `browse-url-browser-function', but add a new variable
>> `browse-url-mailto-function', which will be checked by `browse-url' on
>> mailto: URLs.  mailclient.el would bind that to nil before calling
>> `browse-url' to get the system browser to handle sending the mail.
>
> That sounds OK, yes.

Ok; I'll make this change.

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





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  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
  1 sibling, 1 reply; 25+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-11-24  6:34 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 7469-close

I've now pushed the changes described, which should fix this bug.

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





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-24  4:28           ` Drew Adams
@ 2010-11-24 11:39             ` Eli Zaretskii
  2010-11-24 15:00               ` Drew Adams
  0 siblings, 1 reply; 25+ messages in thread
From: Eli Zaretskii @ 2010-11-24 11:39 UTC (permalink / raw)
  To: Drew Adams; +Cc: 7469

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <7469@debbugs.gnu.org>
> Date: Tue, 23 Nov 2010 20:28:35 -0800
> 
> > Is this before or after you press C-c C-c to send?
> > After I press C-c C-c, what I see in the unsent mail buffer is this:
> >
> >  *** E-Mail body has been placed on clipboard, please paste it here! ***
> 
> I haven't followed the rest of what you guys are saying

The question above is unrelated to the portions of the thread that you
didn't follow.

> but that is the text
> that should appear in the mail client new mail message body, on Windows. You
> just select it and hit C-v to paste the prepared bug report content.

Yes, I know that.  I was asking you whether you see this text in the
"unsent mail" buffer _after_ you type C-c C-c to send the bug report.

The reason I'm asking is that I do see this in the "unsent mail"
buffer, and I'm trying to make sure that you and I see the same
problem, which is that Emacs uses its own facilities to compose the
bug reporting mail, instead of passing the baton to the system's mail
agent.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-23 23:36               ` Lars Magne Ingebrigtsen
  2010-11-24  2:34                 ` Stefan Monnier
@ 2010-11-24 13:09                 ` Jason Rumney
  1 sibling, 0 replies; 25+ messages in thread
From: Jason Rumney @ 2010-11-24 13:09 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 7469

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> The other two options that I see are:
>
> 1) Revert `browse-url-browser-function' to the previous definition, and
> special-case mailto: handling in all the callers so that they end up in
> an Emacs mail buffer when they ask for a mailto: URL.  This doesn't seem
> very satisfactory.
>
> 2) Revert `browse-url-browser-function', but add a new variable
> `browse-url-mailto-function', which will be checked by `browse-url' on
> mailto: URLs.  mailclient.el would bind that to nil before calling
> `browse-url' to get the system browser to handle sending the mail.

3) Modify browse-url-default-browser to recognise mailto urls and try a
different list of programs than the liist of webrowsers it currently tries.






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-24 11:39             ` Eli Zaretskii
@ 2010-11-24 15:00               ` Drew Adams
  2010-11-24 19:17                 ` Eli Zaretskii
  0 siblings, 1 reply; 25+ messages in thread
From: Drew Adams @ 2010-11-24 15:00 UTC (permalink / raw)
  To: 'Eli Zaretskii'; +Cc: 7469

> > > Is this before or after you press C-c C-c to send?
> > > After I press C-c C-c, what I see in the unsent mail 
> > > buffer is this:
> > >
> > >  *** E-Mail body has been placed on clipboard, please 
> > >      paste it here! ***
>
> I was asking you whether you see this text in the
> "unsent mail" buffer _after_ you type C-c C-c to send the bug report.

Yes, if I visit that buffer after `C-c C-c yes' I see that text.






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-24  6:34                   ` Lars Magne Ingebrigtsen
@ 2010-11-24 19:15                     ` Eli Zaretskii
  0 siblings, 0 replies; 25+ messages in thread
From: Eli Zaretskii @ 2010-11-24 19:15 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 7469, larsi

> From: Lars Magne Ingebrigtsen <larsi@gnus.org>
> Date: Wed, 24 Nov 2010 07:34:53 +0100
> Cc: 7469-close@debbugs.gnu.org
> 
> I've now pushed the changes described, which should fix this bug.

Thanks, it works for me now.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-24 15:00               ` Drew Adams
@ 2010-11-24 19:17                 ` Eli Zaretskii
  2010-11-24 19:55                   ` Drew Adams
  0 siblings, 1 reply; 25+ messages in thread
From: Eli Zaretskii @ 2010-11-24 19:17 UTC (permalink / raw)
  To: Drew Adams; +Cc: 7469

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <7469@debbugs.gnu.org>
> Date: Wed, 24 Nov 2010 07:00:14 -0800
> 
> > > > Is this before or after you press C-c C-c to send?
> > > > After I press C-c C-c, what I see in the unsent mail 
> > > > buffer is this:
> > > >
> > > >  *** E-Mail body has been placed on clipboard, please 
> > > >      paste it here! ***
> >
> > I was asking you whether you see this text in the
> > "unsent mail" buffer _after_ you type C-c C-c to send the bug report.
> 
> Yes, if I visit that buffer after `C-c C-c yes' I see that text.

Thanks.  Lars fixed this in the repository, so the next snapshot
should have report-emacs-bug working again.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#7469: 24.0.50; report-emacs-bug is broken again (on Windows)
  2010-11-24 19:17                 ` Eli Zaretskii
@ 2010-11-24 19:55                   ` Drew Adams
  0 siblings, 0 replies; 25+ messages in thread
From: Drew Adams @ 2010-11-24 19:55 UTC (permalink / raw)
  To: 'Eli Zaretskii'; +Cc: 7469

> Thanks.  Lars fixed this in the repository, so the next snapshot
> should have report-emacs-bug working again.

Thanks to all for the quick fix.






^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2010-11-24 19:55 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).