From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 01:10:57 2011 Received: (at submit) by debbugs.gnu.org; 17 Jul 2011 05:10:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiJd3-0006Zg-Jp for submit@debbugs.gnu.org; Sun, 17 Jul 2011 01:10:57 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiJZz-0006UU-1U for submit@debbugs.gnu.org; Sun, 17 Jul 2011 01:07:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QiJZt-0001SM-1B for submit@debbugs.gnu.org; Sun, 17 Jul 2011 01:07:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:45635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiJZs-0001SI-W1 for submit@debbugs.gnu.org; Sun, 17 Jul 2011 01:07:40 -0400 Received: from eggs.gnu.org ([140.186.70.92]:58646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiJZr-00023M-TU for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2011 01:07:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QiJZr-0001S7-03 for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2011 01:07:39 -0400 Received: from mout.perfora.net ([74.208.4.194]:57282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiJZq-0001Ry-S7 for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2011 01:07:38 -0400 Received: from dellap.mousecar.net (dsl093-011-016.cle1.dsl.speakeasy.net [66.93.11.16]) by mrelay.perfora.net (node=mrus2) with ESMTP (Nemesis) id 0MKpbM-1QiJZm3WZU-000CtD; Sun, 17 Jul 2011 01:07:37 -0400 Message-ID: <4E226E0A.6010601@mousecar.com> Date: Sun, 17 Jul 2011 01:07:22 -0400 From: ken User-Agent: Thunderbird 2.0.0.24 (X11/20110622) MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: Feature req: Remembering emacs frames, windows, buffer position to subsequent session References: <20110716204736.5d3e63ef@chaostal.de> <87ei1qqawk.wl%v.plechinger@gmail.com> <20110717013918.7fd31f15@chaostal.de> In-Reply-To: <20110717013918.7fd31f15@chaostal.de> X-Enigmail-Version: 0.96.0 OpenPGP: id=5AD091E7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:XAKhj2sfuC1Bk4UTM0UKCL0lsGaw3qdJUb4Im/ZELd/ Nzd/z3UWvGMxe6prQtns+zBqvNLSC1sRONOGyF3fGKelVB4KnR sA+4mc35hejrcWl4px/6KWRUKEKVthg8zMMAbYx8GyELu0Qapv 9DingMyJNmJ0hP8TpJFmC7i/8R//5ZIQg2Kr3qizqaV2K4gss6 kSOnrA4V5CwN4fOGN8kBbvlip4aY5lSBSdNwE8MZVE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 17 Jul 2011 01:10:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: gebser@mousecar.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Often I'll have five or more frames open, some split vertically, perhaps a couple split horizontally, all of them with different files (or "buffers") in them-- though in some instances it's possible to have the same buffer in more than one window or frame. When I close emacs down and then invoke it again, I'd like to have the same windows come up, split the same way, with the same buffers/files in each frame and window, and even with the frames in the same location onscreen as they were in the prior session. In short, the current session should be set up exactly like the prior session at the time it was closed. Yes, this is asking quite a bit. So I'll add one more thing. In Linux and other OSs employing X it's possible to have multiple viewports (i.e., desktops) and to place any GUI application into any viewport. So it's possible that all emacs windows might not be all in the same viewport... six emacs frames could be positioned in two, four, or more different viewports. Accurately positioning all of them in the correct viewports would constitute a thorough recreation of the previous session. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 05:46:48 2011 Received: (at 9105) by debbugs.gnu.org; 17 Jul 2011 09:46:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiNw0-0004QZ-5b for submit@debbugs.gnu.org; Sun, 17 Jul 2011 05:46:48 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QiNvx-0004QN-UY for 9105@debbugs.gnu.org; Sun, 17 Jul 2011 05:46:46 -0400 Received: (qmail invoked by alias); 17 Jul 2011 09:46:39 -0000 Received: from 62-47-46-64.adsl.highway.telekom.at (EHLO [62.47.46.64]) [62.47.46.64] by mail.gmx.net (mp037) with SMTP; 17 Jul 2011 11:46:39 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19uG3gXqoBuj2Nf1FP3e4EhXxRlJhtB+h+9UN5QS1 ZzrIduH6NWgWic Message-ID: <4E22AF7A.1080102@gmx.at> Date: Sun, 17 Jul 2011 11:46:34 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: gebser@mousecar.com Subject: Re: bug#9105: Feature req: Remembering emacs frames, windows, buffer position to subsequent session References: <20110716204736.5d3e63ef@chaostal.de> <87ei1qqawk.wl%v.plechinger@gmail.com> <20110717013918.7fd31f15@chaostal.de> <4E226E0A.6010601@mousecar.com> In-Reply-To: <4E226E0A.6010601@mousecar.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 9105 Cc: 9105@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) > Often I'll have five or more frames open, some split vertically, perhaps > a couple split horizontally, all of them with different files (or > "buffers") in them-- though in some instances it's possible to have the > same buffer in more than one window or frame. When I close emacs down > and then invoke it again, I'd like to have the same windows come up, > split the same way, with the same buffers/files in each frame and > window, and even with the frames in the same location onscreen as they > were in the prior session. In short, the current session should be set > up exactly like the prior session at the time it was closed. All this should be doable now using the functions `window-state-get' and `window-state-put'. Could you try implementing this in desktop.el? martin From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 09:16:36 2011 Received: (at 9105) by debbugs.gnu.org; 17 Jul 2011 13:16:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiRD1-0002UB-Kb for submit@debbugs.gnu.org; Sun, 17 Jul 2011 09:16:36 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiRCz-0002Tx-Mj for 9105@debbugs.gnu.org; Sun, 17 Jul 2011 09:16:34 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p6HDGQsH010900 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 17 Jul 2011 13:16:27 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p6HDGPxv000055 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 17 Jul 2011 13:16:25 GMT Received: from abhmt104.oracle.com (abhmt104.oracle.com [141.146.116.56]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p6HDGK6D004158; Sun, 17 Jul 2011 08:16:20 -0500 Received: from dradamslap1 (/10.159.38.176) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 17 Jul 2011 06:16:19 -0700 From: "Drew Adams" To: "'martin rudalics'" , References: <20110716204736.5d3e63ef@chaostal.de> <87ei1qqawk.wl%v.plechinger@gmail.com> <20110717013918.7fd31f15@chaostal.de><4E226E0A.6010601@mousecar.com> <4E22AF7A.1080102@gmx.at> Subject: RE: bug#9105: Feature req: Remembering emacs frames, windows, buffer position to subsequent session Date: Sun, 17 Jul 2011 06:16:14 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4E22AF7A.1080102@gmx.at> Thread-Index: AcxEZtBc31Oqlel8TUeJgdiq9kQxRgAHJFYw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4E22E0AC.0035:SCFMA922111,ss=1,re=-4.000,fgs=0 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 9105 Cc: 9105@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) > All this should be doable now using the functions > `window-state-get' and > `window-state-put'. Could you try implementing this in desktop.el? Please do it in a separate library, and keep it decoupled from Desktop. Yes, it should be possible and easy to use it in conjunction with Desktop. But it should also be possible to use each separately, and preferably without loading the other. These are two different functionalities which can be useful if used together. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 11:56:36 2011 Received: (at 9105) by debbugs.gnu.org; 17 Jul 2011 15:56:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiThr-0006TL-Uh for submit@debbugs.gnu.org; Sun, 17 Jul 2011 11:56:36 -0400 Received: from mout.perfora.net ([74.208.4.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiThq-0006T5-7S for 9105@debbugs.gnu.org; Sun, 17 Jul 2011 11:56:35 -0400 Received: from dellap.mousecar.net (dsl093-011-016.cle1.dsl.speakeasy.net [66.93.11.16]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0MQPjQ-1QugWd3aay-00UdpB; Sun, 17 Jul 2011 11:56:24 -0400 Message-ID: <4E230619.6090205@mousecar.com> Date: Sun, 17 Jul 2011 11:56:09 -0400 From: ken User-Agent: Thunderbird 2.0.0.24 (X11/20110622) MIME-Version: 1.0 To: martin rudalics , GNU Emacs List Subject: Re: bug#9105: Feature req: Remembering emacs frames, windows, buffer position to subsequent session References: <20110716204736.5d3e63ef@chaostal.de> <87ei1qqawk.wl%v.plechinger@gmail.com> <20110717013918.7fd31f15@chaostal.de> <4E226E0A.6010601@mousecar.com> <4E22AF7A.1080102@gmx.at> In-Reply-To: <4E22AF7A.1080102@gmx.at> X-Enigmail-Version: 0.96.0 OpenPGP: id=5AD091E7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:htvMiWcABV+TYNdHOP7V8GjWxsL7fie2qr6zzjlj31S ifz4MHl3v7AuaF0JeJIZIjSk2AYu/6/txJw1texy+oSWE2EQOl MbKWG+JNBYCAmbesbd+NXx+u511J9jLzUulkwWEvvFJzHEYSYL +Ywzvp0X5uiFyAT0OVV3MsMWD6TZWwoWL4F23wzA/eM3HLgWV0 zmf4ZckMXTySvnBjW5UR817TCW825EY9Nx/ADSGYYY= X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: 9105 Cc: 9105@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: gebser@mousecar.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) On 07/17/2011 05:46 AM martin rudalics wrote: >> Often I'll have five or more frames open, some split vertically, perhaps >> a couple split horizontally, all of them with different files (or >> "buffers") in them-- though in some instances it's possible to have the >> same buffer in more than one window or frame. When I close emacs down >> and then invoke it again, I'd like to have the same windows come up, >> split the same way, with the same buffers/files in each frame and >> window, and even with the frames in the same location onscreen as they >> were in the prior session. In short, the current session should be set >> up exactly like the prior session at the time it was closed. > > All this should be doable now using the functions `window-state-get' and > `window-state-put'. Could you try implementing this in desktop.el? > > martin Thanks, Martin! Where do I find these two functions? Once I download them, would it make any difference if I put them in my emacs-path rather than inserting them in or appending them to desktop.el? Thanks++, ken From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 13:42:31 2011 Received: (at 9105) by debbugs.gnu.org; 17 Jul 2011 17:42:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QiVMN-0000ex-GN for submit@debbugs.gnu.org; Sun, 17 Jul 2011 13:42:31 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QiVML-0000ek-Al for 9105@debbugs.gnu.org; Sun, 17 Jul 2011 13:42:30 -0400 Received: (qmail invoked by alias); 17 Jul 2011 17:42:22 -0000 Received: from 62-47-36-2.adsl.highway.telekom.at (EHLO [62.47.36.2]) [62.47.36.2] by mail.gmx.net (mp007) with SMTP; 17 Jul 2011 19:42:22 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+hkpZtdZmh0ut2mPYBAoBUFfaobzl5wQ81SrFBN0 BrscKSoMJcuDLQ Message-ID: <4E231EFA.3000206@gmx.at> Date: Sun, 17 Jul 2011 19:42:18 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: gebser@mousecar.com Subject: Re: bug#9105: Feature req: Remembering emacs frames, windows, buffer position to subsequent session References: <20110716204736.5d3e63ef@chaostal.de> <87ei1qqawk.wl%v.plechinger@gmail.com> <20110717013918.7fd31f15@chaostal.de> <4E226E0A.6010601@mousecar.com> <4E22AF7A.1080102@gmx.at> <4E230619.6090205@mousecar.com> In-Reply-To: <4E230619.6090205@mousecar.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 9105 Cc: 9105@debbugs.gnu.org, GNU Emacs List X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) > Where do I find these two functions? In window.el of the development version, that is Emacs 24.0.50.1. > Once I download them, would it make any difference if I put them in my > emacs-path rather than inserting them in or appending them to desktop.el? You will have to install Emacs 24 on your system. After that you will have to write two functions - one that writes for each frame the value returned by `window-state-get' on file together with the parameters of the frame, and one that reads the values from file, creates a new frame for each entry, and uses `window-state-put' to restore the window layouts within that frame. All this after you have recreated the buffers visiting files. And you have to decide what to do with windows whose buffers did not visit a file in the old session. martin From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 19:28:14 2011 Received: (at 9105) by debbugs.gnu.org; 17 Jul 2011 23:28:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qiakw-0000fS-B7 for submit@debbugs.gnu.org; Sun, 17 Jul 2011 19:28:14 -0400 Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qiaku-0000fF-T4 for 9105@debbugs.gnu.org; Sun, 17 Jul 2011 19:28:13 -0400 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id C5EBB6E8058; Sun, 17 Jul 2011 16:28:06 -0700 (PDT) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id B9AAB451C0AC; Sun, 17 Jul 2011 16:28:05 -0700 (PDT) From: Juri Linkov To: gebser@mousecar.com Subject: Re: bug#9105: Feature req: Remembering emacs frames, windows, buffer position to subsequent session Organization: JURTA References: <20110716204736.5d3e63ef@chaostal.de> <87ei1qqawk.wl%v.plechinger@gmail.com> <20110717013918.7fd31f15@chaostal.de> <4E226E0A.6010601@mousecar.com> Date: Mon, 18 Jul 2011 01:54:55 +0300 In-Reply-To: <4E226E0A.6010601@mousecar.com> (ken's message of "Sun, 17 Jul 2011 01:07:22 -0400") Message-ID: <87oc0sk036.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9105 Cc: 9105@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) > Yes, this is asking quite a bit. So I'll add one more thing. In Linux > and other OSs employing X it's possible to have multiple viewports > (i.e., desktops) and to place any GUI application into any viewport. So > it's possible that all emacs windows might not be all in the same > viewport... six emacs frames could be positioned in two, four, or more > different viewports. Accurately positioning all of them in the correct > viewports would constitute a thorough recreation of the previous session. Do you know what commands can move Emacs frames to different viewports? From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 19:28:18 2011 Received: (at 9105) by debbugs.gnu.org; 17 Jul 2011 23:28:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qial0-0000fl-HH for submit@debbugs.gnu.org; Sun, 17 Jul 2011 19:28:18 -0400 Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qiakx-0000fJ-Ev for 9105@debbugs.gnu.org; Sun, 17 Jul 2011 19:28:15 -0400 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id EF45C6E80A2; Sun, 17 Jul 2011 16:28:09 -0700 (PDT) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 49E54451C0AC; Sun, 17 Jul 2011 16:28:07 -0700 (PDT) From: Juri Linkov To: "Drew Adams" Subject: Re: bug#9105: Feature req: Remembering emacs frames, windows, buffer position to subsequent session Organization: JURTA References: <20110716204736.5d3e63ef@chaostal.de> <87ei1qqawk.wl%v.plechinger@gmail.com> <20110717013918.7fd31f15@chaostal.de> <4E226E0A.6010601@mousecar.com> <4E22AF7A.1080102@gmx.at> Date: Mon, 18 Jul 2011 01:57:12 +0300 In-Reply-To: (Drew Adams's message of "Sun, 17 Jul 2011 06:16:14 -0700") Message-ID: <87mxgcil2y.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9105 Cc: 'martin rudalics' , gebser@mousecar.com, 9105@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) > Please do it in a separate library, and keep it decoupled from Desktop. Yes, it > should be possible and easy to use it in conjunction with Desktop. But it > should also be possible to use each separately, and preferably without loading > the other. Most of the functionality of desktop.el is already duplicated in savehist.el and saveplace.el because they use different formats. So remembering Emacs frames and windows could be implemented separately in two places: in desktop.el and in a new library like savewindows.el or saveframes.el. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 19:28:23 2011 Received: (at 9105) by debbugs.gnu.org; 17 Jul 2011 23:28:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qial4-0000fy-QY for submit@debbugs.gnu.org; Sun, 17 Jul 2011 19:28:22 -0400 Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qiakz-0000fM-NI for 9105@debbugs.gnu.org; Sun, 17 Jul 2011 19:28:18 -0400 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 645D06E805F; Sun, 17 Jul 2011 16:28:12 -0700 (PDT) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 65510451C0AC; Sun, 17 Jul 2011 16:28:11 -0700 (PDT) From: Juri Linkov To: martin rudalics Subject: Re: bug#9105: Feature req: Remembering emacs frames, windows, buffer position to subsequent session Organization: JURTA References: <20110716204736.5d3e63ef@chaostal.de> <87ei1qqawk.wl%v.plechinger@gmail.com> <20110717013918.7fd31f15@chaostal.de> <4E226E0A.6010601@mousecar.com> <4E22AF7A.1080102@gmx.at> <4E230619.6090205@mousecar.com> <4E231EFA.3000206@gmx.at> Date: Mon, 18 Jul 2011 01:59:11 +0300 In-Reply-To: <4E231EFA.3000206@gmx.at> (martin rudalics's message of "Sun, 17 Jul 2011 19:42:18 +0200") Message-ID: <87mxgch68s.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9105 Cc: 9105@debbugs.gnu.org, gebser@mousecar.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) > And you have to decide what to do with windows whose buffers did not > visit a file in the old session. This is possible already by specifying `desktop-buffer-mode-handlers' to reconstruct non-persistent buffers like it's done by `Info-restore-desktop-buffer', `dired-restore-desktop-buffer', etc. Implenting it in more packages will save and restore more different buffers. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 18 04:53:08 2011 Received: (at 9105) by debbugs.gnu.org; 18 Jul 2011 08:53:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QijZZ-0004jo-0H for submit@debbugs.gnu.org; Mon, 18 Jul 2011 04:53:08 -0400 Received: from smtprelay-b22.telenor.se ([195.54.99.213]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QijZT-0004jH-3E for 9105@debbugs.gnu.org; Mon, 18 Jul 2011 04:53:02 -0400 Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b22.telenor.se (Postfix) with ESMTP id 9E862EA743 for <9105@debbugs.gnu.org>; Mon, 18 Jul 2011 10:52:53 +0200 (CEST) X-SENDER-IP: [85.225.45.26] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArVNANTzI05V4S0aPGdsb2JhbABTp20LAQEBATcyiH7DGoY8BKM9 X-IronPort-AV: E=Sophos;i="4.67,221,1309730400"; d="scan'208";a="208693551" Received: from c-1a2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.26]) by ipb1.telenor.se with ESMTP; 18 Jul 2011 10:52:53 +0200 Received: from anon-115-133.ipredate.net (unknown [93.182.133.115]) by coolsville.localdomain (Postfix) with ESMTPSA id 89E6D7FA05A; Mon, 18 Jul 2011 10:52:51 +0200 (CEST) Message-ID: <4E23F461.3050107@swipnet.se> Date: Mon, 18 Jul 2011 10:52:49 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Juri Linkov Subject: Re: bug#9105: Feature req: Remembering emacs frames, windows, buffer position to subsequent session References: <20110716204736.5d3e63ef@chaostal.de> <87ei1qqawk.wl%v.plechinger@gmail.com> <20110717013918.7fd31f15@chaostal.de> <4E226E0A.6010601@mousecar.com> <87oc0sk036.fsf@mail.jurta.org> In-Reply-To: <87oc0sk036.fsf@mail.jurta.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 9105 Cc: 9105@debbugs.gnu.org, gebser@mousecar.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) Juri Linkov skrev 2011-07-18 00.54: >> Yes, this is asking quite a bit. So I'll add one more thing. In Linux >> and other OSs employing X it's possible to have multiple viewports >> (i.e., desktops) and to place any GUI application into any viewport. So >> it's possible that all emacs windows might not be all in the same >> viewport... six emacs frames could be positioned in two, four, or more >> different viewports. Accurately positioning all of them in the correct >> viewports would constitute a thorough recreation of the previous session. > > Do you know what commands can move Emacs frames to different viewports? > > With a window manager that supports extended window manager hints, it is a property: http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2507080. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 07 12:15:43 2011 Received: (at control) by debbugs.gnu.org; 7 Nov 2011 17:15:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RNSnO-0002av-Gw for submit@debbugs.gnu.org; Mon, 07 Nov 2011 12:15:43 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RNSnM-0002ao-Eu for control@debbugs.gnu.org; Mon, 07 Nov 2011 12:15:40 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RNSkZ-0005HK-Dg for control@debbugs.gnu.org; Mon, 07 Nov 2011 12:12:47 -0500 Date: Mon, 07 Nov 2011 12:12:47 -0500 Message-Id: Subject: control message for bug 9985 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) merge 9105 9985 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 22 05:30:55 2014 Received: (at 9105-done) by debbugs.gnu.org; 22 Sep 2014 09:30:55 +0000 Received: from localhost ([127.0.0.1]:48014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVzxO-0007LL-Vh for submit@debbugs.gnu.org; Mon, 22 Sep 2014 05:30:55 -0400 Received: from mout.gmx.net ([212.227.17.21]:58129) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVzxK-0007Kc-Ql for 9105-done@debbugs.gnu.org; Mon, 22 Sep 2014 05:30:51 -0400 Received: from [188.22.37.133] ([188.22.37.133]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LkSOt-1Y21qs0ILj-00cT0C for <9105-done@debbugs.gnu.org>; Mon, 22 Sep 2014 11:30:49 +0200 Message-ID: <541FE6DA.6050106@gmx.at> Date: Mon, 22 Sep 2014 11:07:38 +0200 From: martin rudalics MIME-Version: 1.0 To: 9105-done@debbugs.gnu.org Subject: Re: Feature req: Remembering emacs frames, windows, buffer position to subsequent session References: <541F129D.3000402@gmx.at> In-Reply-To: <541F129D.3000402@gmx.at> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:jsZ11sYLHlmaAIsl7Ik7DeuNkLUYKB+YMl9zC2GKI1at/FmcteA KGw1t8WznLmrHOTB+hCz9rgK3q5Y6tcbgcGxsXgdRopHT0cHQMABvbnTw3Pb1jLn/sDezGL 49UIbyNTxbUMjosI8KRJ46562m2xwPLtxPLLfEvd49DJpTy/9W+Rr/DTHrgdRGO2N3dhEUh OG2Wl/vQJDPVJ2vDSjiTA== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 9105-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Often I'll have five or more frames open, some split vertically, perhaps > a couple split horizontally, all of them with different files (or > "buffers") in them-- though in some instances it's possible to have the > same buffer in more than one window or frame. When I close emacs down > and then invoke it again, I'd like to have the same windows come up, > split the same way, with the same buffers/files in each frame and > window, and even with the frames in the same location onscreen as they > were in the prior session. In short, the current session should be set > up exactly like the prior session at the time it was closed. Thanks to Juanma's frameset functions `desktop-save-mode' should do that now by default. Closing this bug. Thanks, martin From unknown Fri Jun 20 07:27:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 20 Oct 2014 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator