unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: ken <gebser@speakeasy.net>
Subject: Re: Refreshing Firefox window from within Emacs?
Date: Wed, 4 Jan 2006 06:30:35 -0500	[thread overview]
Message-ID: <20060104063035.363aa81e@dellap.mousecar.net> (raw)
In-Reply-To: <43B7C368.1050104@student.lu.se>


This is a pretty nice idea.  I just did some looking around and found
that the following works from the CLI, except it opens the URL new tab

mozilla -a firefox -remote'openURL(http://www.foo.com/index.html)' 

Here's some syntax: 

mozilla -a firefox -remote 'openURL(%s,new-tab)' 

I use Firefox v.1.0.7. and had to set Preferences/Advanced to open URLs
from remote application in "same tab/window".

Next thing is to run this from within emacs in a couple different ways.


hth,
ken


On Sun, 01 Jan 2006 12:56:24 +0100 Lennart Borgman
<lennart.borgman.073@student.lu.se> wrote:

> 
> >just checked, calling 
> >
> >     mozilla -remote "openfile(/home/toto/42/foo.txt)"
> >
> >on my Debian System *reloads* "foo.txt" if it is already displayed in
> >firefox.
> >  
> >
> There is a setting in FireFox 1.5 for how this works. Look in the 
> Options window under Tabs. The settings in "Open links from other 
> applications in:" determines this.
> 
> Unfortunately it does not seem like you can override this with
> -remote.  Or am I wrong?
> 
> 
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs


-- 
"It is not knowable how long that conflict would last, it could last,
you know, six days, six weeks.  I doubt six months." 
	--Secretary of Defense Donald Rumsfeld, 2/7/03

  reply	other threads:[~2006-01-04 11:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-31 19:54 Refreshing Firefox window from within Emacs? batkins57
2005-12-31 22:51 ` Thorsten Bonow
2006-01-01 11:56   ` Lennart Borgman
2006-01-04 11:30     ` ken [this message]
2006-01-04 23:29 ` Edward Dodge
2006-01-09 15:32   ` ken
2006-01-14 15:18     ` ken
2006-01-16 17:26       ` Kevin Rodgers

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=20060104063035.363aa81e@dellap.mousecar.net \
    --to=gebser@speakeasy.net \
    /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).