From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.help Subject: Perspectives (was Re: "grouping" buffers) Date: Sun, 31 May 2020 12:33:50 +0900 Message-ID: <95B8F5A7-55B0-4BF3-98E0-7D56C115C055@traduction-libre.org> References: <1c50f47a-0ade-0eeb-c8df-1566d4518902@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="39491"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs mailing list To: Douglas Lewan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 31 05:34:21 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jfEjs-000A9f-Fl for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 31 May 2020 05:34:20 +0200 Original-Received: from localhost ([::1]:56042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfEjr-0007FM-Cf for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 30 May 2020 23:34:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfEjZ-0007F0-5g for help-gnu-emacs@gnu.org; Sat, 30 May 2020 23:34:01 -0400 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:49427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfEjX-00027A-BV for help-gnu-emacs@gnu.org; Sat, 30 May 2020 23:34:00 -0400 Original-Received: from [10.0.1.13] (pl19991.ag0304.nttpc.ne.jp [128.53.64.23]) (Authenticated sender: jean.christophe.helary@traduction-libre.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id EA2A0240003; Sun, 31 May 2020 03:33:54 +0000 (UTC) In-Reply-To: <1c50f47a-0ade-0eeb-c8df-1566d4518902@gmail.com> X-Mailer: Apple Mail (2.3608.80.23.2.2) Received-SPF: pass client-ip=217.70.178.230; envelope-from=jean.christophe.helary@traduction-libre.org; helo=relay10.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/30 23:33:56 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123194 Archived-At: > On May 28, 2020, at 6:02, Douglas Lewan wrote: >=20 > 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) ? >=20 > 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. >=20 > 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. --=20 Jean-Christophe Helary @brandelune http://mac4translators.blogspot.com