* browse-url
@ 2004-07-28 20:21 Harry Putnam
2004-07-28 22:53 ` browse-url Steve Youngs
2004-07-28 23:38 ` browse-url Yo Merito
0 siblings, 2 replies; 14+ messages in thread
From: Harry Putnam @ 2004-07-28 20:21 UTC (permalink / raw)
Running no cvs of a few days ago
Using customize to set browse-url-browser-function to
`browse-url-generic' and then setting `browse-url-generic' to mozilla
again using customize. If mozilla isn't running then clicking a
buttonized url starts it, and if mozilla is running I get a new
mozilla window.
How can I arrange things so that I get the clicked url in a mozilla
tab?
There is a thread on this in gnu.emacs.gnus recently but the code
posted there also gives me a new instance of mozilla instead of a tab.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: browse-url
2004-07-28 20:21 browse-url Harry Putnam
@ 2004-07-28 22:53 ` Steve Youngs
2004-07-29 0:29 ` browse-url Harry Putnam
2004-07-28 23:38 ` browse-url Yo Merito
1 sibling, 1 reply; 14+ messages in thread
From: Steve Youngs @ 2004-07-28 22:53 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 812 bytes --]
* Harry Putnam <reader@newsguy.com> writes:
> Running no cvs of a few days ago
> Using customize to set browse-url-browser-function to
> `browse-url-generic' and then setting `browse-url-generic' to mozilla
> again using customize. If mozilla isn't running then clicking a
> buttonized url starts it, and if mozilla is running I get a new
> mozilla window.
> How can I arrange things so that I get the clicked url in a mozilla
> tab?
Probably not much use to you but in XEmacs' browse-url.el there is
`browse-url-mozilla-new-window-is-tab'.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Te audire no possum. |
| Musa sapientum fixa est in aure. |
|----------------------------------<steve@youngs.au.com>---|
[-- Attachment #2: Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: browse-url
2004-07-28 22:53 ` browse-url Steve Youngs
@ 2004-07-29 0:29 ` Harry Putnam
2004-07-29 6:12 ` browse-url Simon Josefsson
2004-07-29 13:29 ` browse-url Dan Christensen
0 siblings, 2 replies; 14+ messages in thread
From: Harry Putnam @ 2004-07-29 0:29 UTC (permalink / raw)
Steve Youngs <steve@youngs.au.com> writes:
> > How can I arrange things so that I get the clicked url in a mozilla
> > tab?
>
> Probably not much use to you but in XEmacs' browse-url.el there is
> `browse-url-mozilla-new-window-is-tab'.
Yeah, probably not. But I think someone here will have code to do it
in fsf emacs ... hasn't been much activity here for day or two.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: browse-url
2004-07-29 0:29 ` browse-url Harry Putnam
@ 2004-07-29 6:12 ` Simon Josefsson
2004-07-29 15:59 ` browse-url Harry Putnam
2004-07-29 13:29 ` browse-url Dan Christensen
1 sibling, 1 reply; 14+ messages in thread
From: Simon Josefsson @ 2004-07-29 6:12 UTC (permalink / raw)
Harry Putnam <reader@newsguy.com> writes:
> Steve Youngs <steve@youngs.au.com> writes:
>
>> > How can I arrange things so that I get the clicked url in a mozilla
>> > tab?
>>
>> Probably not much use to you but in XEmacs' browse-url.el there is
>> `browse-url-mozilla-new-window-is-tab'.
>
> Yeah, probably not. But I think someone here will have code to do it
> in fsf emacs ... hasn't been much activity here for day or two.
GNU Emacs also has the variable. Doesn't it work? Or do you want
some other behaviour?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: browse-url
2004-07-29 6:12 ` browse-url Simon Josefsson
@ 2004-07-29 15:59 ` Harry Putnam
2004-07-29 16:08 ` browse-url Harry Putnam
2004-07-29 16:36 ` browse-url Simon Josefsson
0 siblings, 2 replies; 14+ messages in thread
From: Harry Putnam @ 2004-07-29 15:59 UTC (permalink / raw)
Simon Josefsson <jas@extundo.com> writes:
>>> Probably not much use to you but in XEmacs' browse-url.el there is
>>> `browse-url-mozilla-new-window-is-tab'.
>>
>> Yeah, probably not. But I think someone here will have code to do it
>> in fsf emacs ... hasn't been much activity here for day or two.
>
> GNU Emacs also has the variable. Doesn't it work? Or do you want
> some other behaviour?
Do I have to load something to see it?
C-h v <RET> here doesn't know how to complete
browse-url-mozilla-new-window-is-tab.
M-x version:
GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2004-07-29 on reader.local.net0
(todays cvs)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: browse-url
2004-07-29 15:59 ` browse-url Harry Putnam
@ 2004-07-29 16:08 ` Harry Putnam
2004-07-29 16:36 ` browse-url Simon Josefsson
1 sibling, 0 replies; 14+ messages in thread
From: Harry Putnam @ 2004-07-29 16:08 UTC (permalink / raw)
Harry Putnam <reader@newsguy.com> writes:
> Simon Josefsson <jas@extundo.com> writes:
>
>>>> Probably not much use to you but in XEmacs' browse-url.el there is
>>>> `browse-url-mozilla-new-window-is-tab'.
>>>
>>> Yeah, probably not. But I think someone here will have code to do it
>>> in fsf emacs ... hasn't been much activity here for day or two.
>>
>> GNU Emacs also has the variable. Doesn't it work? Or do you want
>> some other behaviour?
>
> Do I have to load something to see it?
>
> C-h v <RET> here doesn't know how to complete
> browse-url-mozilla-new-window-is-tab.
>
> M-x version:
> GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
> of 2004-07-29 on reader.local.net0
> (todays cvs)
I took out my existing settings and then the variable appeared in
C-h v ... is that normal behavior?
Anyway, setting that variable to t
(browse-url-mozilla-new-window-is-tab's value is t)
Doesn't work for me. I still get a new instance of the whole browser.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: browse-url
2004-07-29 15:59 ` browse-url Harry Putnam
2004-07-29 16:08 ` browse-url Harry Putnam
@ 2004-07-29 16:36 ` Simon Josefsson
2004-07-29 17:34 ` browse-url Harry Putnam
1 sibling, 1 reply; 14+ messages in thread
From: Simon Josefsson @ 2004-07-29 16:36 UTC (permalink / raw)
Harry Putnam <reader@newsguy.com> writes:
> Simon Josefsson <jas@extundo.com> writes:
>
>>>> Probably not much use to you but in XEmacs' browse-url.el there is
>>>> `browse-url-mozilla-new-window-is-tab'.
>>>
>>> Yeah, probably not. But I think someone here will have code to do it
>>> in fsf emacs ... hasn't been much activity here for day or two.
>>
>> GNU Emacs also has the variable. Doesn't it work? Or do you want
>> some other behaviour?
>
> Do I have to load something to see it?
browse-url.el.
> C-h v <RET> here doesn't know how to complete
> browse-url-mozilla-new-window-is-tab.
>
> M-x version:
> GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
> of 2004-07-29 on reader.local.net0
> (todays cvs)
And no old browse-url.el in load-path?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: browse-url
2004-07-29 16:36 ` browse-url Simon Josefsson
@ 2004-07-29 17:34 ` Harry Putnam
0 siblings, 0 replies; 14+ messages in thread
From: Harry Putnam @ 2004-07-29 17:34 UTC (permalink / raw)
Simon Josefsson <jas@extundo.com> writes:
>> M-x version:
>> GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>> of 2004-07-29 on reader.local.net0
>> (todays cvs)
>
> And no old browse-url.el in load-path?
no.. and I guess you will have seen a previous post saying that
variable fails here. I get a new instance of mozilla instead of a
tab. But the code posted in this thread (both posts) seems to work.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: browse-url
2004-07-29 0:29 ` browse-url Harry Putnam
2004-07-29 6:12 ` browse-url Simon Josefsson
@ 2004-07-29 13:29 ` Dan Christensen
2004-07-29 16:16 ` browse-url Harry Putnam
1 sibling, 1 reply; 14+ messages in thread
From: Dan Christensen @ 2004-07-29 13:29 UTC (permalink / raw)
Harry Putnam <reader@newsguy.com> writes:
> Steve Youngs <steve@youngs.au.com> writes:
>
>> Harry Putnam <reader@newsguy.com> writes:
>> > How can I arrange things so that I get the clicked url in a mozilla
>> > tab?
>>
>> Probably not much use to you but in XEmacs' browse-url.el there is
>> `browse-url-mozilla-new-window-is-tab'.
>
> Yeah, probably not. But I think someone here will have code to do it
> in fsf emacs ... hasn't been much activity here for day or two.
I don't see that variable in my version of browse-url. Here's what I
use in emacs:
(if window-system
(setq browse-url-browser-function 'jh:browse-url-mozilla-new-tab)
(setq browse-url-browser-function 'browse-url-w3))
; From Jesper Harder
(defun jh:browse-url-mozilla-new-tab (url &optional new-window)
;; new-window ignored
"Open URL in a new tab in Mozilla."
(interactive (browse-url-interactive-arg "URL: "))
(unless
(string= ""
(shell-command-to-string
(concat "mozilla -remote 'openURL(" url ",new-tab)'")))
(message "Starting Mozilla...")
(start-process (concat "mozilla " url) nil "mozilla" url)
(message "Starting Mozilla...done")))
Dan
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: browse-url
2004-07-28 20:21 browse-url Harry Putnam
2004-07-28 22:53 ` browse-url Steve Youngs
@ 2004-07-28 23:38 ` Yo Merito
2004-07-29 16:16 ` browse-url Harry Putnam
2004-07-29 16:24 ` browse-url Harry Putnam
1 sibling, 2 replies; 14+ messages in thread
From: Yo Merito @ 2004-07-28 23:38 UTC (permalink / raw)
Harry Putnam <reader@newsguy.com> writes:
> How can I arrange things so that I get the clicked url in a mozilla
> tab?
this works for me...
;; From: Jesper Harder (harder@myrealbox.com)
;; Subject: Re: browse-url-mozilla in new tab
;; Newsgroups: gnu.emacs.gnus
;; Date: 2002-09-28 13:14:15 PST
(setq browse-url-browser-function 'browse-url-mozilla-new-tab)
(defun browse-url-mozilla-new-tab (url &optional new-window)
;; new-window ignored
"Open URL in a new tab in Mozilla."
(interactive (browse-url-interactive-arg "URL: "))
(unless
(string= ""
(shell-command-to-string
(concat "mozilla -remote 'openURL(" url ",new-tab)'")))
(message "Starting Mozilla...")
(start-process (concat "mozilla " url) nil "mozilla" url)
(message "Starting Mozilla...done")
))
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: browse-url
2004-07-28 23:38 ` browse-url Yo Merito
@ 2004-07-29 16:16 ` Harry Putnam
2004-07-29 16:24 ` browse-url Harry Putnam
1 sibling, 0 replies; 14+ messages in thread
From: Harry Putnam @ 2004-07-29 16:16 UTC (permalink / raw)
Yo Merito <yomerito@gawab.com> writes:
> this works for me...
It looks like what Dan posted but without the preface. I'm trying it
now.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: browse-url
2004-07-28 23:38 ` browse-url Yo Merito
2004-07-29 16:16 ` browse-url Harry Putnam
@ 2004-07-29 16:24 ` Harry Putnam
1 sibling, 0 replies; 14+ messages in thread
From: Harry Putnam @ 2004-07-29 16:24 UTC (permalink / raw)
Yo Merito <yomerito@gawab.com> writes:
>> How can I arrange things so that I get the clicked url in a mozilla
>> tab?
>
> this works for me...
Yub, that works here too.
I see a strange phenomena though... I just stumbled into it.
If mozilla is not running and I click on a URL in gnus ... it starts
mozilla at that URL but if I happen to hit ALT+home (load home-page or
some such) Or even if I type it in (www.google.com <RET>)
Mozilla closes clear down.
If I have mozilla running and click on a URL in gnus. It gives me the
tab and when I hit ALT+home it loads home as usual.
Anyone else see that?
^ permalink raw reply [flat|nested] 14+ messages in thread
* browse-url
@ 2001-04-01 15:51 Laura Conrad
0 siblings, 0 replies; 14+ messages in thread
From: Laura Conrad @ 2001-04-01 15:51 UTC (permalink / raw)
In the last two days (I think since updating my CVS gnus for the first
time in a few weeks) I haven't been able to browse a URL by
right-clicking (or middle-clicking) on it in gnus. The message I get is:
You must define `(browse-url
"http://lists.sourceforge.net/lists/options/abc-standard/lconrad%40laymusic.org")'
to use this button
Any ideas?
--
Laura (mailto:lconrad@laymusic.org , http://www.laymusic.org/ )
(617) 661-8097 fax: (801) 365-6574
233 Broadway, Cambridge, MA 02139
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2004-07-29 17:34 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-28 20:21 browse-url Harry Putnam
2004-07-28 22:53 ` browse-url Steve Youngs
2004-07-29 0:29 ` browse-url Harry Putnam
2004-07-29 6:12 ` browse-url Simon Josefsson
2004-07-29 15:59 ` browse-url Harry Putnam
2004-07-29 16:08 ` browse-url Harry Putnam
2004-07-29 16:36 ` browse-url Simon Josefsson
2004-07-29 17:34 ` browse-url Harry Putnam
2004-07-29 13:29 ` browse-url Dan Christensen
2004-07-29 16:16 ` browse-url Harry Putnam
2004-07-28 23:38 ` browse-url Yo Merito
2004-07-29 16:16 ` browse-url Harry Putnam
2004-07-29 16:24 ` browse-url Harry Putnam
-- strict thread matches above, loose matches on Subject: below --
2001-04-01 15:51 browse-url Laura Conrad
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).