all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: How run many varied apps in Emacs like a window manager?
Date: Tue, 24 Feb 2009 02:50:22 +0100	[thread overview]
Message-ID: <87prh8a9i9.fsf@galatea.local> (raw)
In-Reply-To: 5bb20fe4-3da8-41ca-9a74-b4db81920c97@h16g2000yqj.googlegroups.com

"seberino@spawar.navy.mil" <seberino@spawar.navy.mil> writes:

> Possible to run many varied app in Emacs? In other words, I want to
> use Emacs like my window manager.
>
> I don't necessarily want to use apps (like mail and IRC) specific to
> Emacs...rather I want to use *arbitrary* apps in Emacs.
>
> I know about term-mode.  I don't know if that is the best or only way
> to do this.
>
> Does anyone do this?  Is it advisable?

Some X applications accept a -windowid argument.  You can get the
window ID of your emacs X frame, and give it to your applications so
they display in the emacs frame.

For example:

 xv -windowid $(xwininfo -int  2> /dev/null |awk '/Window id/{print $4}') \
    -maxpect -smooth *.jpg

xwininfo waits for a mouse click in some window and returns its window
ID amongst other information.

I guess the window-id frame parameter is the X window ID.

-- 
__Pascal Bourguignon__


      parent reply	other threads:[~2009-02-24  1:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-23 23:20 How run many varied apps in Emacs like a window manager? seberino
2009-02-24  1:33 ` emacsnews
2009-02-24  1:50 ` Pascal J. Bourguignon [this message]

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=87prh8a9i9.fsf@galatea.local \
    --to=pjb@informatimago.com \
    --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.