From: Hugh Lawson <hlawson@triad.rr.com>
Subject: Re: browse-url
Date: Thu, 07 Apr 2005 18:12:48 GMT [thread overview]
Message-ID: <87zmwazc9r.fsf@desktop.xx.yy> (raw)
In-Reply-To: mailman.182.1112692644.2895.help-gnu-emacs@gnu.org
Greg Novak <novak@ucolick.org> writes:
> * Joe Corneli <jcorneli@math.utexas.edu> wrote:
> > Both of these functions appear to require starting a new firefox. (??)
>
> By a cosmic coincidence I just put the following in my .emacs file,
> which opens a page in a new tab using an existing Firefox.
>
> (defun browse-url-firefox (url &optional new-window)
> (shell-command (concat "/usr/local/firefox/mozilla-xremote-client \"openurl("
> url
> ",new-tab)\"")))
>
> (setq browse-url-browser-function 'browse-url-firefox)
This works for me too, just as Greg says, after customizing for my
paths. It works like this.
here's an url www.linux.org
Put point on url, and do 'M-x browse-url'
This puts in minibuffer: "URL: http://www.linux.org"
<enter> makes the url open in a new tab in firefox
But if I just type in the minibuffer "www.linux.org", it
doesn't work. I have to type in the full
'"http://www.linux.org".
Thanks for all the help everybody.
--
Hugh Lawson
hlawson@triad.rr.com
next prev parent reply other threads:[~2005-04-07 18:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-01 0:06 browse-url Hugh Lawson
2005-04-01 0:23 ` browse-url David Kastrup
2005-04-01 7:16 ` browse-url nfreimann
2005-04-01 9:37 ` browse-url David Kastrup
2005-04-04 0:02 ` browse-url Hugh Lawson
2005-04-04 0:31 ` browse-url David Kastrup
2005-04-05 0:36 ` browse-url Hugh Lawson
2005-04-05 1:29 ` browse-url David Kastrup
2005-04-05 2:30 ` browse-url Hugh Lawson
2005-04-05 4:28 ` browse-url Joe Corneli
2005-04-05 9:19 ` browse-url Greg Novak
2005-04-05 19:57 ` browse-url Joe Corneli
[not found] ` <mailman.182.1112692644.2895.help-gnu-emacs@gnu.org>
2005-04-07 18:12 ` Hugh Lawson [this message]
[not found] ` <mailman.152.1112673857.2895.help-gnu-emacs@gnu.org>
2005-04-05 8:20 ` browse-url Hugh Lawson
2005-04-05 9:11 ` browse-url Joe Corneli
[not found] ` <mailman.179.1112690775.2895.help-gnu-emacs@gnu.org>
2005-04-05 13:07 ` browse-url Hugh Lawson
2005-04-05 13:43 ` browse-url Hugh Lawson
2005-04-07 9:34 ` browse-url Christian Lynbech
2005-04-07 14:47 ` browse-url Hugh Lawson
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zmwazc9r.fsf@desktop.xx.yy \
--to=hlawson@triad.rr.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).