all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hugh Lawson <hlawson@triad.rr.com>
Subject: Re: browse-url
Date: Tue, 05 Apr 2005 08:20:15 GMT	[thread overview]
Message-ID: <87ekdp4rlc.fsf@desktop.xx.yy> (raw)
In-Reply-To: mailman.152.1112673857.2895.help-gnu-emacs@gnu.org

Joe Corneli <jcorneli@math.utexas.edu> writes:

> Both of these functions appear to require starting a new firefox. (??)
> 

#1 
> (defun browse-url-firefox (url &optional new-window )
>   ;;new-window ignored
> "Ask the firefox browser to  load URL."
>  (apply 'call-process "firefox" nil
>          0 nil (list url)))
> 
> ;;;
#2
> (defun browse-url-firefox (url &optional new-window)
>   (call-process "firefox" nil 0 nil url))


Perhaps they do not.  I just did:

'M-x browse-url' twice, inputting two different urls, and still have
just one instance of firefox visible on the screen.  I can display the
two different pages by clicking the navigation toolbar arrows.

Before trying these functions, I could find no way by setting emacs
variables to start firefox if it was not already running.

There's probably a way, but I didn't find it. :(


-- 
Hugh Lawson
hlawson@triad.rr.com

  parent reply	other threads:[~2005-04-05  8:20 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                 ` browse-url Hugh Lawson
     [not found]             ` <mailman.152.1112673857.2895.help-gnu-emacs@gnu.org>
2005-04-05  8:20               ` Hugh Lawson [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ekdp4rlc.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.
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.