From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Saving a window configuration ? Date: Thu, 7 Mar 2019 10:50:09 -0800 (PST) Message-ID: <1958042b-c6ec-4e29-b411-b6e5181db768@default> 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: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="28582"; mail-complaints-to="usenet@blaine.gmane.org" To: jonetsu , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 07 20:07:25 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 1h1yMX-0007MI-Jp for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Mar 2019 20:07:25 +0100 Original-Received: from localhost ([127.0.0.1]:57687 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1yMW-00022T-GZ for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Mar 2019 14:07:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1y66-0003S8-0E for help-gnu-emacs@gnu.org; Thu, 07 Mar 2019 13:50:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1y63-0005Al-5t for help-gnu-emacs@gnu.org; Thu, 07 Mar 2019 13:50:25 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:40516) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h1y5z-00051W-VF for help-gnu-emacs@gnu.org; Thu, 07 Mar 2019 13:50:20 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x27IiQ07061838; Thu, 7 Mar 2019 18:50:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=0qDHz1ZhksCBiXaMsWe/4CUKArLhNALzdqScQ7AfDZw=; b=47y4x+7z1rJ+aJoj+hd34RW9A+lMm52Rnt7nGH4fjFJ94Urv9BPkh0teLxCDhOtD/rQP M2orfh//MxlE8Y8euIDq21HL9sAgMcr2Lg3KzR/QV//vUocFz2t/loziWfsHRMyxR2Gd qza4V1Hpx7KBQKI3KUcCs3oL1yD0eelz0DzegBrgBk7LZp/VoDtCiUwyQVf+0qd+1q7k wu+MqBI1/gsjMr9r+UYDGzioI2awrprDtGtjDxGdNoKzowXVUrujHaODlgsNUfFxAgJE 68LuVG5isNkSS5MSivLH2XUQcK819bS8jUNXePgYHKjafS6JU06KYg2ifgu3IISpgs2a Rw== Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2qyjfrv0h0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 Mar 2019 18:50:11 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x27IoABq022429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 7 Mar 2019 18:50:11 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x27IoA0T010938; Thu, 7 Mar 2019 18:50:10 GMT In-Reply-To: <20190307130954.119349a7@mistral> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4810.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9188 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903070127 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 156.151.31.85 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:119573 Archived-At: > > Yes, see frameset.el. >=20 > I'm afraid this is only half of it. From the comments: >=20 > ;; 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. >=20 > 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. >=20 > 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 Have you tried `desktop.el'?