From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: jonetsu Newsgroups: gmane.emacs.help Subject: Re: Saving a window configuration ? Date: Thu, 7 Mar 2019 16:22:39 -0500 Message-ID: <20190307162239.75c6a032@mistral> References: <20190306173922.7c25b601@mistral> <83wolbbbzk.fsf@gnu.org> <20190307130954.119349a7@mistral> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="83654"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 07 22:24:47 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h20VQ-000LdQ-W3 for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Mar 2019 22:24:45 +0100 Original-Received: from localhost ([127.0.0.1]:59695 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h20VP-0002bF-SG for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Mar 2019 16:24:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h20Tg-0001Yl-76 for help-gnu-emacs@gnu.org; Thu, 07 Mar 2019 16:22:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h20Td-0004B0-LQ for help-gnu-emacs@gnu.org; Thu, 07 Mar 2019 16:22:55 -0500 Original-Received: from pmta31.teksavvy.com ([76.10.157.38]:41823) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1h20Ta-000422-2R for help-gnu-emacs@gnu.org; Thu, 07 Mar 2019 16:22:51 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2HPBgA7i4Fc/0Tb1BhkHgEfBgeBToIOg?= =?us-ascii?q?VkSJ40CjFs1AYh4hQmLZzgBhDoCAgEBAoQ1IzgSAQEDAQEBBgEDAgICaSiFTAE?= =?us-ascii?q?EATocKAsIAwkYJQ8SGB4ZhQADDQitBId7DYIeIoENi0OBP0CBEYMSgleCd4UUA?= =?us-ascii?q?ooEhzM7kXAzCYM2jBGDMiUMgWyIdjiID5ICjSwigVZwFYMnkGkkMIEBAQYBAQE?= =?us-ascii?q?VCBMFBQEBjDcBAQ?= X-IPAS-Result: =?us-ascii?q?A2HPBgA7i4Fc/0Tb1BhkHgEfBgeBToIOgVkSJ40CjFs1AYh?= =?us-ascii?q?4hQmLZzgBhDoCAgEBAoQ1IzgSAQEDAQEBBgEDAgICaSiFTAEEATocKAsIAwkYJ?= =?us-ascii?q?Q8SGB4ZhQADDQitBId7DYIeIoENi0OBP0CBEYMSgleCd4UUAooEhzM7kXAzCYM?= =?us-ascii?q?2jBGDMiUMgWyIdjiID5ICjSwigVZwFYMnkGkkMIEBAQYBAQEVCBMFBQEBjDcBA?= =?us-ascii?q?Q?= X-IronPort-AV: E=Sophos;i="5.58,453,1544504400"; d="scan'208";a="82554915" Original-Received: from 24-212-219-68.cable.teksavvy.com (HELO mistral) ([24.212.219.68]) by smtp.teksavvy.com with ESMTP; 07 Mar 2019 16:22:39 -0500 In-Reply-To: X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 76.10.157.38 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:119575 Archived-At: On Thu, 07 Mar 2019 19:48:39 +0100 Robert Pluim wrote: > This sounds like you want to use 'desktop-save'/'desktop-read' in > combination with 'desktop-restore-frames t' (along with specifying a > project directory every time you call those functions) > > desktop.el might be overkill though, it saves a lot of state. Although it does not seem to store frame sizes and positions, from the Wikemacs description. But it can be used with bookmarks in such a way as to have several saved desktops to choose from. OTOH, Wikemacs points to psession.el which do save frame info (eg. last window configuration) along with buffers. I will give psession a try.