Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Emacs and TMUX/StumpWM

127 views
Skip to first unread message

Thorsten

unread,
Feb 17, 2012, 4:19:36 AM2/17/12
to help-gn...@gnu.org
Hello List,
I think about using my window-managers (instead of something like
winring.el) to manage emacs windows. So I have to start up every buffer
I want in a separate window as a new frame then, or is there a way to
show emacs windows from the same frame in different tmux/stumpwm
windows?

cheers
--
Thorsten


Thorsten

unread,
Feb 17, 2012, 8:51:38 AM2/17/12
to help-gn...@gnu.org
Using emacs in server-client mode makes this question somehow pointless,
I just figured out - I can start a new emacs client in as many
WindowManager windows as I like to, and switch between the emacs clients
instead of the emacs frames.

cheers
--
Thorsten


Daniel Schoepe

unread,
Feb 18, 2012, 8:49:22 AM2/18/12
to Thorsten, help-gn...@gnu.org
On Fri, 17 Feb 2012 10:19:36 +0100, Thorsten <quin...@googlemail.com> wrote:
> Hello List,
> I think about using my window-managers (instead of something like
> winring.el) to manage emacs windows. So I have to start up every buffer
> I want in a separate window as a new frame then, or is there a way to
> show emacs windows from the same frame in different tmux/stumpwm
> windows?

Another thing in addition to running emacs as a daemon that might
interest you, is One-On-One Emacs [1] which basically aims at using
a separate frame for each emacs window.

[1] http://www.emacswiki.org/emacs/OneOnOneEmacs

Cheers,
Daniel

Harry Putnam

unread,
Feb 21, 2012, 1:27:17 PM2/21/12
to help-gn...@gnu.org
Daniel Schoepe <dan...@schoepe.org> writes:

> Another thing in addition to running emacs as a daemon that might
> interest you, is One-On-One Emacs [1] which basically aims at using
> a separate frame for each emacs window.
>
> [1] http://www.emacswiki.org/emacs/OneOnOneEmacs

Is this still being developed..? comments there are dated 2004.


Daniel Schoepe

unread,
Feb 21, 2012, 1:37:34 PM2/21/12
to Harry Putnam, help-gn...@gnu.org
I'm not sure (I don't use it myself), but the libraries seem to be the
ones from http://www.emacswiki.org/emacs/DrewsElispLibraries which seems
pretty active.

Cheers,
Daniel

Drew Adams

unread,
Feb 21, 2012, 1:53:42 PM2/21/12
to Daniel Schoepe, Harry Putnam, help-gn...@gnu.org
> > > Another thing in addition to running emacs as a daemon that might
> > > interest you, is One-On-One Emacs [1] which basically
> > > aims at using a separate frame for each emacs window.
> > >
> > > [1] http://www.emacswiki.org/emacs/OneOnOneEmacs
> >
> > Is this still being developed..? comments there are dated 2004.
>
> I'm not sure (I don't use it myself), but the libraries seem to be the
> ones from http://www.emacswiki.org/emacs/DrewsElispLibraries
> which seems pretty active.

Yes, it is still being developed/maintained/used.

Dunno what 2004 comments Harry is referring to. There have been ongoing
improvements to oneonone.el and the related libraries: 56 change-log comments
for oneonone.el since 2004, the most recent being from 2011/10. And the last
user comment at [1] dates from 2011/07.


Harry Putnam

unread,
Feb 22, 2012, 6:34:48 AM2/22/12
to help-gn...@gnu.org
On the cited page toward the bottom are a few comments with dates from
2004. Those were the only obvious dates I saw there.

Perhaps I am misunderstanding, or not noticing other more recent dates.


Harry Putnam

unread,
Feb 22, 2012, 6:41:28 AM2/22/12
to help-gn...@gnu.org
"Drew Adams" <drew....@oracle.com> writes:


[...]

> Yes, it is still being developed/maintained/used.

[...]

Drew, how does one experiment with this setup without involving their
main emacs installation?


Drew Adams

unread,
Feb 22, 2012, 10:55:23 AM2/22/12
to Harry Putnam, help-gn...@gnu.org
> >> > > [1] http://www.emacswiki.org/emacs/OneOnOneEmacs
>
> Drew, I may not understand what I'm looking at on the cited page but
> if you scroll down toward the bottom of the page you will see comments
> dated 2004.
>
> Its the only obvious dates on the page so I took them to mean
> something.
>
> On the cited page toward the bottom are a few comments with dates from
> 2004. Those were the only obvious dates I saw there.
>
> Perhaps I am misunderstanding, or not noticing other more
> recent dates.

The second user comment on the page (just after the `Comments (Log)' heading) is
dated 2004. That's only about 1/3 of the way down the page. Other comments
follow that, chronologically. Near the bottom of the page you'll see later
comments, e.g., from 2011.


Drew Adams

unread,
Feb 22, 2012, 11:14:14 AM2/22/12
to Harry Putnam, help-gn...@gnu.org
> > [1] http://www.emacswiki.org/emacs/OneOnOneEmacs
>
> Drew, how does one experiment with this setup without involving their
> main emacs installation?

Just as it says in the Commentary of oneonone.el
(http://www.emacswiki.org/emacs/oneonone.el), put this in your init file:

(require 'oneonone)
(1on1-emacs)

Remove those two lines after you're done experimenting. That's all.

You might also want to add this or equivalent to your .emacs while
experimenting, to make buffers named `*...*' be special-display (dedicated
windows, different background, etc.):

(when (if (fboundp 'display-graphic-p)
(display-graphic-p)
window-system)
(defconst special-display-regexps '("[ ]?[*][^*]+[*]")))

Note that [1] mentions several other files, besides `oneonone.el', which are
also part of my attempt to make frames more usable (One-On-One Emacs). None are
required by library `oneonone.el', however. This doc section gives a brief
description of them: http://www.emacswiki.org/cgi-bin/wiki/OneOnOneEmacs#toc5.

In particular, I would suggest trying `fit-frame.el', `autofit-frame.el', and
`thumb-frm.el'. (Library `thumb-frm.el' requires `frame-cmds.el', which
requires `frame-fns.el'.)

HTH.


Harry Putnam

unread,
Feb 22, 2012, 6:31:44 AM2/22/12
to Drew Adams, help-gn...@gnu.org
"Drew Adams" <drew....@oracle.com> writes:

[...]

>> > > [1] http://www.emacswiki.org/emacs/OneOnOneEmacs
>> >
>> > Is this still being developed..? comments there are dated 2004.

>> I'm not sure (I don't use it myself), but the libraries seem to be the
>> ones from http://www.emacswiki.org/emacs/DrewsElispLibraries
>> which seems pretty active.
>
> Yes, it is still being developed/maintained/used.
>
> Dunno what 2004 comments Harry is referring to. There have been ongoing
> improvements to oneonone.el and the related libraries: 56 change-log comments
> for oneonone.el since 2004, the most recent being from 2011/10. And the last
> user comment at [1] dates from 2011/07.

0 new messages