* URL button question
@ 2000-06-13 13:57 M E Froumentin
2000-06-27 12:51 ` Dave Love
0 siblings, 1 reply; 8+ messages in thread
From: M E Froumentin @ 2000-06-13 13:57 UTC (permalink / raw)
How do I make gnus open a new browser window when I click on a URL?
(Now that I think of it, It would be nice to have a button-3 menu
that offers several browsers, like:
netscape (existing window)
netscape (new window)
lynx, etc.)
Max.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: URL button question
2000-06-13 13:57 URL button question M E Froumentin
@ 2000-06-27 12:51 ` Dave Love
2000-06-27 13:19 ` Max Froumentin
0 siblings, 1 reply; 8+ messages in thread
From: Dave Love @ 2000-06-27 12:51 UTC (permalink / raw)
>>>>> "MEF" == M E Froumentin <masmef@mary.bath.ac.uk> writes:
MEF> How do I make gnus open a new browser window when I click on a URL?
I'm afraid the new-window stuff in browse-url has been variously
broken with a shortage of bug reports, but I don't remember how in
which releases. FWIW, it's fixed in the development sources.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: URL button question
2000-06-27 12:51 ` Dave Love
@ 2000-06-27 13:19 ` Max Froumentin
2000-06-27 13:30 ` Kai Großjohann
2000-06-28 17:12 ` Dave Love
0 siblings, 2 replies; 8+ messages in thread
From: Max Froumentin @ 2000-06-27 13:19 UTC (permalink / raw)
Dave Love <d.love@dl.ac.uk> writes:
> FWIW, it's fixed in the development sources.
Thanks Dave,
Where can I get them ?
Max.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: URL button question
2000-06-27 13:19 ` Max Froumentin
@ 2000-06-27 13:30 ` Kai Großjohann
2000-06-27 16:06 ` Max Froumentin
2000-06-28 17:12 ` Dave Love
1 sibling, 1 reply; 8+ messages in thread
From: Kai Großjohann @ 2000-06-27 13:30 UTC (permalink / raw)
Cc: ding
Max Froumentin <masmef@bath.ac.uk> writes:
> Where can I get them [the devel sources]?
Either via CVS, or get a snapshot from ftp.gnus.org.
kai
--
I like BOTH kinds of music.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: URL button question
2000-06-27 13:30 ` Kai Großjohann
@ 2000-06-27 16:06 ` Max Froumentin
0 siblings, 0 replies; 8+ messages in thread
From: Max Froumentin @ 2000-06-27 16:06 UTC (permalink / raw)
Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> Either via CVS, or get a snapshot from ftp.gnus.org.
But browse-url.el isn't part of gnus. The one I use came with Emacs 20.6.
Max.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: URL button question
2000-06-27 13:19 ` Max Froumentin
2000-06-27 13:30 ` Kai Großjohann
@ 2000-06-28 17:12 ` Dave Love
2000-06-29 15:01 ` Max Froumentin
1 sibling, 1 reply; 8+ messages in thread
From: Dave Love @ 2000-06-28 17:12 UTC (permalink / raw)
>>>>> "MF" == Max Froumentin <masmef@bath.ac.uk> writes:
MF> Dave Love <d.love@dl.ac.uk> writes:
>> FWIW, it's fixed in the development sources.
MF> Thanks Dave,
MF> Where can I get them ?
You can't, unless you're promising to do useful development on them.
The problem with the new-window-p stuff in your copy is probably
fairly obvious. It wasn't deemed a serious enough bug to be fixed
post-20.4.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: URL button question
2000-06-28 17:12 ` Dave Love
@ 2000-06-29 15:01 ` Max Froumentin
2000-06-30 0:30 ` Daniel Pittman
0 siblings, 1 reply; 8+ messages in thread
From: Max Froumentin @ 2000-06-29 15:01 UTC (permalink / raw)
Dave Love <d.love@dl.ac.uk> writes:
> The problem with the new-window-p stuff in your copy is probably
> fairly obvious. It wasn't deemed a serious enough bug to be fixed
> post-20.4.
Although my knowledge of elisp is very small, I've had a look at
gnus-art.el and browse-url.el. What happens is that gnus calls
browse-url with only the url as an argument. browse-url itself calls
browse-url-netscape with the same arg, so the 'new-window' arg is never set.
The obvious fix is be to have gnus call browse-url with a second
argument. What I did is replace the call to browse-url in
gnus-button-alist with 'my-browse-url-new-window' defined as:
(defun my-browse-url-new-window (url)
(browse-url url t))
It's definitely not the best way of doing it. When I'm confident about
writing correct elisp (if that ever happens) I'll try and find a
better fix (a popup menu would be nice).
Max.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: URL button question
2000-06-29 15:01 ` Max Froumentin
@ 2000-06-30 0:30 ` Daniel Pittman
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Pittman @ 2000-06-30 0:30 UTC (permalink / raw)
On 29 Jun 2000, Max Froumentin <masmef@bath.ac.uk> wrote:
> Dave Love <d.love@dl.ac.uk> writes:
>
>> The problem with the new-window-p stuff in your copy is probably
>> fairly obvious. It wasn't deemed a serious enough bug to be fixed
>> post-20.4.
>
> Although my knowledge of elisp is very small, I've had a look at
> gnus-art.el and browse-url.el. What happens is that gnus calls
> browse-url with only the url as an argument. browse-url itself calls
> browse-url-netscape with the same arg, so the 'new-window' arg is
> never set.
>
> The obvious fix is be to have gnus call browse-url with a second
> argument. What I did is replace the call to browse-url in
> gnus-button-alist with 'my-browse-url-new-window' defined as:
Well, I use:
,----
| (defadvice browse-url (around always-do-new-window (url &optional nw) activate)
| (ad-set-arg 1 t)
| ad-do-it)
`----
This forces `browse-url' to always open a new window (which I prefer.)
Daniel
--
No story is the same to us after the lapse of time; or rather
we who read it are no longer the same interpreters.
-- George Eliot
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2000-06-30 0:30 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-13 13:57 URL button question M E Froumentin
2000-06-27 12:51 ` Dave Love
2000-06-27 13:19 ` Max Froumentin
2000-06-27 13:30 ` Kai Großjohann
2000-06-27 16:06 ` Max Froumentin
2000-06-28 17:12 ` Dave Love
2000-06-29 15:01 ` Max Froumentin
2000-06-30 0:30 ` Daniel Pittman
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).