all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thorsten Bonow <thorsten.bonow@post.rwth-aachen.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Embedding external application in emacs (or using emacs to control exeternal application)
Date: Tue, 28 Oct 2008 19:05:05 +0100	[thread overview]
Message-ID: <87wsfs7fzi.fsf@post.rwth-aachen.de> (raw)
In-Reply-To: mailman.2283.1225215552.25473.help-gnu-emacs@gnu.org

>>>>> "Corey" == Corey Foote <coreyfoote@hotmail.com> writes:

    Corey> Is there a way to embed external application (such as firefox) inside
    Corey> an Emacs buffer and use Emacs to control them? If not, would it be
    Corey> possible to simply send an external application (again like firefox)
    Corey> a command from within emacs without it being embedded. For example,
    Corey> say I was working on an HTML page in emacs and wanted to preview my
    Corey> changes by refreshing the page in firefox. I would just like to be
    Corey> able to say something like M-x refresh-firefox, and not have to click
    Corey> over to the firefox window to his refresh myself. What would be
    Corey> required to add this feature?

    Corey>

Hi,

I don't think your first scenario is possible, but here I'm way out of my
depth. Just guessing because I don't know of any other "embedded" app.

Case two is possible.

You could look up "browse-url" in the emacs manual: Commands for interaction
with a browser.

But Emacs is able to start (a)synchronous subprocesses with or without a shell,
so calling another app with the current file-name as option should be
possible. All this is documented in the GNU Emacs Lisp Reference Manual. Search
for `start-process'.

Hope this helps

Toto


Contact information and PGP key at
http://www.withouthat.org/~toto/contact.html

It wasn't a healthy attitude, but it wasn't really a healthy world.

Friedman, Kinky (1993), A case of Lone Star. New York (Wings Books),
391


       reply	other threads:[~2008-10-28 18:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2283.1225215552.25473.help-gnu-emacs@gnu.org>
2008-10-28 18:05 ` Thorsten Bonow [this message]
2008-10-28 18:13   ` Embedding external application in emacs (or using emacs to control exeternal application) Thorsten Bonow
2008-10-28 18:47     ` Allan Gottlieb
     [not found]     ` <mailman.2302.1225219691.25473.help-gnu-emacs@gnu.org>
2008-10-28 19:13       ` Thorsten Bonow
2008-10-28 18:59   ` Corey Foote
     [not found]   ` <mailman.2304.1225220395.25473.help-gnu-emacs@gnu.org>
2008-10-28 19:19     ` Thorsten Bonow
2008-10-29  7:24 ` Tim X
2008-10-28 17:32 Corey Foote
2008-10-28 17:12 ` Toby Cubitt
2008-10-28 17:59 ` Drew Adams

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=87wsfs7fzi.fsf@post.rwth-aachen.de \
    --to=thorsten.bonow@post.rwth-aachen.de \
    --cc=help-gnu-emacs@gnu.org \
    /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.