help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Perspectives (was Re: "grouping" buffers)


From: Jean-Christophe Helary
Subject: Perspectives (was Re: "grouping" buffers)
Date: Sun, 31 May 2020 12:33:50 +0900


> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]