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 13:09:54 -0500 Message-ID: <20190307130954.119349a7@mistral> References: <20190306173922.7c25b601@mistral> <83wolbbbzk.fsf@gnu.org> 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="191336"; 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 19:42:12 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 1h1xy8-000nfu-DE for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Mar 2019 19:42:12 +0100 Original-Received: from localhost ([127.0.0.1]:57189 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1xy6-0004O8-S0 for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Mar 2019 13:42:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1xSy-0002OU-7Q for help-gnu-emacs@gnu.org; Thu, 07 Mar 2019 13:10:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1xSw-0001CO-Ar for help-gnu-emacs@gnu.org; Thu, 07 Mar 2019 13:10:00 -0500 Original-Received: from pmta31.teksavvy.com ([76.10.157.38]:8900) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1xSu-0001A4-IZ for help-gnu-emacs@gnu.org; Thu, 07 Mar 2019 13:09:57 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2EBGACJXYFc/0Tb1BhkHAEBAR8EAQEFA?= =?us-ascii?q?QGBToEoNy9tSyESJ4NBiUGMVzUBjgGLZzgBhDoCAgEBAoQ1IzgSAQEDAQEBBgE?= =?us-ascii?q?DAgICaSiFTAEEATocKAsIAwkYJQ8qHhmFEAiscYooIoENAQEBAQGLPoE/QIQjh?= =?us-ascii?q?U6FFAKKBIczO5IjCYM2j0MlDIpiiEefLiKBVnAVgyeQaSQwgQEBBgEBARUIEwU?= =?us-ascii?q?FAQGMOQEB?= X-IPAS-Result: =?us-ascii?q?A2EBGACJXYFc/0Tb1BhkHAEBAR8EAQEFAQGBToEoNy9tSyE?= =?us-ascii?q?SJ4NBiUGMVzUBjgGLZzgBhDoCAgEBAoQ1IzgSAQEDAQEBBgEDAgICaSiFTAEEA?= =?us-ascii?q?TocKAsIAwkYJQ8qHhmFEAiscYooIoENAQEBAQGLPoE/QIQjhU6FFAKKBIczO5I?= =?us-ascii?q?jCYM2j0MlDIpiiEefLiKBVnAVgyeQaSQwgQEBBgEBARUIEwUFAQGMOQEB?= X-IronPort-AV: E=Sophos;i="5.58,451,1544504400"; d="scan'208";a="82240567" 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 13:09:54 -0500 In-Reply-To: <83wolbbbzk.fsf@gnu.org> 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:119572 Archived-At: On Thu, 07 Mar 2019 05:27:11 +0200 Eli Zaretskii wrote: > Yes, see frameset.el. I'm afraid this is only half of it. From the comments: ;; It should be noted that restoring the frames' windows depends on ;; the buffers they are displaying, but this package does not provide ;; any way to save and restore sets of buffers (see desktop.el for ;; that). So, it's up to the user of frameset.el to make sure that ;; any relevant buffer is loaded before trying to restore a frameset. If 15 files are opened and the frames are saved, then the files will need to be re-opened one by one and only after doing that can the saved positions and sized of the frames be restored to produce what's expected: restoring emacs like it was when last left, with all the files and all the frames. As far as I consider my query, this is pretty much half-cooked. What's the use of wanting to be able to restore emacs like it was with all the frame sizes and positions AND the files, in a single operation, if all the files have to be manually opened before ? If all the files have to be manually opened then might as well forget about the size and position of the frames and re-organize them. What I would like is to get back to emacs with the 15 files being displayed just like they were last time. The corollary to this mechanism would be that since it can do that, it can thus reload any other saved "buffers & frames" (B&F for short). So if I switch from one project to another I can save the current B&F and then switch to the other project's B&F in one operation, ready to continue from the exact same place it was left before. And later on switch back to the previous project's saved B&F