From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Edward Dodge Newsgroups: gmane.emacs.help Subject: Re: Refreshing Firefox window from within Emacs? Date: 04 Jan 2006 16:29:41 -0700 Organization: Pending Review by Mr. Travis Bickle Message-ID: References: <1136058872.274995.18110@g47g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1136417665 10732 80.91.229.2 (4 Jan 2006 23:34:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Jan 2006 23:34:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 05 00:34:21 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EuI91-0003wJ-Sh for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Jan 2006 00:34:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EuIAi-0003KP-DT for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jan 2006 18:36:00 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!uunet!bos.uu.net!dca.uu.net!spool.news.uu.net!ash.uu.net!news01.intel.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: hip389.ch.intel.com Original-X-Trace: news01.intel.com 1136417381 25776 143.182.229.21 (4 Jan 2006 23:29:41 GMT) Original-X-Complaints-To: usenet@news01.intel.com Original-NNTP-Posting-Date: Wed, 4 Jan 2006 23:29:41 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:136811 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:32430 Archived-At: batkins57@gmail.com writes: If the "code" you are speaking of is actually .html, you can simply bind the following function to a handy key-combination: browse-url-of-file Also, you may have to set your default browser for the "browse-url..." commands to Firefox in your .emacs. Edward > A lot of times I end up writing code in an Emacs window and switching > to a Firefox window to refresh it and see what happened and then > switching back. It would be nice if i could keep my Emacs window in > front of Firefox and use some keychord to refresh the page in Firefox > without Emacs losing focus and without having to actually switch to the > other window. > > Is there any way to do this kind of thing (on X11)? Firefox provides > the -remote command-line option > (http://www.mozilla.org/unix/remote.html), which would be perfect > except that it doesn't seem to include a way to refresh the current > page. > > Thanks, > Bill > -- Edward Dodge __o _`\(,_ (_)/ (_) --- ---