unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org>
To: Douglas Lewan <d.lewan2000@gmail.com>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Perspectives (was Re: "grouping" buffers)
Date: Sun, 31 May 2020 12:33:50 +0900	[thread overview]
Message-ID: <95B8F5A7-55B0-4BF3-98E0-7D56C115C055@traduction-libre.org> (raw)
In-Reply-To: <1c50f47a-0ade-0eeb-c8df-1566d4518902@gmail.com>



> On May 28, 2020, at 6:02, Douglas Lewan <d.lewan2000@gmail.com> wrote:
> 
> On 5/22/20 2:26 AM, Jean-Christophe Helary wrote:
>> Short of running multiple emacs sessions, is there a way to "group" buffers in a frame so as to have multiple frames with different contents (and possibly shared buffers) ?
> 
> I think you used the right term there: "frame". I could image code in my .emacs (or its brethren), to load individual projects each into its own frame.
> 
> If you're looking for something more general or flexible, then this could be an opportunity to write such a utility. I'm guessing you'll want a more precise description than ...'way to "group" buffers...'. (Or you might want to embrace writing prototypes and enduring false starts.)


I just found

https://github.com/nex3/perspective-el

"The Perspective package provides multiple named workspaces (or "perspectives") in Emacs, similar to multiple desktops in window managers like Awesome and XMonad, and Spaces on the Mac.

Each perspective has its own buffer list and its own window layout. This makes it easy to work on many separate projects without getting lost in all the buffers. Switching to a perspective activates its window configuration, and when in a perspective, only its buffers are available (by default).

Each Emacs frame has a distinct list of perspectives.

Perspective supports saving its state to a file, so long-lived work sessions may be saved and recovered as needed."

It looks like that's what I'm looking for.

It's not compatible with desktop.el because it offers its own facilities.

-- 
Jean-Christophe Helary @brandelune
http://mac4translators.blogspot.com




  reply	other threads:[~2020-05-31  3:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-22  6:26 "grouping" buffers Jean-Christophe Helary
2020-05-27 21:02 ` Douglas Lewan
2020-05-31  3:33   ` Jean-Christophe Helary [this message]
2020-05-27 22:58 ` Jakub Jankiewicz
2020-05-31  2:45   ` Jean-Christophe Helary
2020-05-31  3:49     ` Drew Adams
2020-05-31  5:02       ` Jean-Christophe Helary
2020-05-31  7:21         ` Yuri Khan
2020-05-31  7:34           ` Jean-Christophe Helary
2020-05-31 12:35             ` Perry Smith
2020-05-31 16:39         ` Drew Adams
2020-05-31 14:31     ` Eli Zaretskii
2020-05-31 14:41       ` Jean-Christophe Helary

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=95B8F5A7-55B0-4BF3-98E0-7D56C115C055@traduction-libre.org \
    --to=jean.christophe.helary@traduction-libre.org \
    --cc=d.lewan2000@gmail.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).