From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Toby Cubitt Newsgroups: gmane.emacs.help Subject: Re: Embedding external application in emacs (or using emacs to control exeternal application) Date: Tue, 28 Oct 2008 18:12:38 +0100 Message-ID: <49074806.3000504@dr-qubit.org> References: Reply-To: Toby Cubitt NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225217749 5483 80.91.229.12 (28 Oct 2008 18:15:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2008 18:15:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 28 19:16:50 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kut6b-00051U-2L for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Oct 2008 19:15:49 +0100 Original-Received: from localhost ([127.0.0.1]:41802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kut5U-0005CS-RK for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Oct 2008 14:14:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kut5C-0005CN-RZ for help-gnu-emacs@gnu.org; Tue, 28 Oct 2008 14:14:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kut5B-0005CB-Lc for help-gnu-emacs@gnu.org; Tue, 28 Oct 2008 14:14:22 -0400 Original-Received: from [199.232.76.173] (port=55594 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kut5B-0005C8-I6 for help-gnu-emacs@gnu.org; Tue, 28 Oct 2008 14:14:21 -0400 Original-Received: from mail.geekisp.com ([216.168.135.169]:19032 helo=starfish.geekisp.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kut5B-0005xy-Hx for help-gnu-emacs@gnu.org; Tue, 28 Oct 2008 14:14:21 -0400 Original-Received: (qmail 3977 invoked by uid 1003); 28 Oct 2008 18:12:41 -0000 Original-Received: from [192.168.1.11] (localhost.geekisp.com [127.0.0.1]) by localhost.geekisp.com (tmda-ofmipd) with ESMTP; Tue, 28 Oct 2008 14:12:39 -0400 User-Agent: Thunderbird 2.0.0.17 (X11/20080929) In-Reply-To: X-Delivery-Agent: TMDA/1.1.11 (Ladyburn) X-Primary-Address: toby@dr-qubit.org X-detected-operating-system: by monty-python.gnu.org: OpenBSD 3.0-3.9 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:59213 Archived-At: Corey Foote wrote: > Is there a way to embed external application (such as firefox) inside > an Emacs buffer and use Emacs to control them? If not, would it be > possible to simply send an external application (again like firefox) > a command from within emacs without it being embedded. For example, > say I was working on an HTML page in emacs and wanted to preview my > changes by refreshing the page in firefox. I would just like to be > able to say something like M-x refresh-firefox, and not have to click > over to the firefox window to his refresh myself. What would be > required to add this feature? This doesn't answer your general question, but for getting Firefox to reload the page you're editing, what about setting the browser tab to reload every few seconds? There are a number of Firefox extensions that do that (e.g. Tab Mix Plus). HTH, Toby