From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.bugs Subject: bug#9105: Feature req: Remembering emacs frames, windows, buffer position to subsequent session Date: Sun, 17 Jul 2011 11:56:09 -0400 Message-ID: <4E230619.6090205__17657.0398537026$1310919065$gmane$org@mousecar.com> References: <20110716204736.5d3e63ef@chaostal.de> <87ei1qqawk.wl%v.plechinger@gmail.com> <20110717013918.7fd31f15@chaostal.de> <4E226E0A.6010601@mousecar.com> <4E22AF7A.1080102@gmx.at> Reply-To: gebser@mousecar.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1310919065 4598 80.91.229.12 (17 Jul 2011 16:11:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 17 Jul 2011 16:11:05 +0000 (UTC) Cc: 9105@debbugs.gnu.org To: martin rudalics , GNU Emacs List Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 17 18:11:01 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QiTvp-0008Ae-1i for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jul 2011 18:11:01 +0200 Original-Received: from localhost ([::1]:58253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiTvo-0008Jw-0c for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jul 2011 12:11:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiTiK-0004Mp-JF for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2011 11:57:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QiTiI-0006oY-Rj for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2011 11:57:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiTiI-0006oU-Mb for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2011 11:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QiTiH-0006Tx-T7; Sun, 17 Jul 2011 11:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ken Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Jul 2011 15:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9105 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9105-submit@debbugs.gnu.org id=B9105.131091819624886 (code B ref 9105); Sun, 17 Jul 2011 15:57:01 +0000 Original-Received: (at 9105) by debbugs.gnu.org; 17 Jul 2011 15:56:36 +0000 Original-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 Original-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 Original-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 User-Agent: Thunderbird 2.0.0.24 (X11/20110622) In-Reply-To: <4E22AF7A.1080102@gmx.at> X-Enigmail-Version: 0.96.0 OpenPGP: id=5AD091E7 X-Provags-ID: V02:K0:htvMiWcABV+TYNdHOP7V8GjWxsL7fie2qr6zzjlj31S ifz4MHl3v7AuaF0JeJIZIjSk2AYu/6/txJw1texy+oSWE2EQOl MbKWG+JNBYCAmbesbd+NXx+u511J9jLzUulkwWEvvFJzHEYSYL +Ywzvp0X5uiFyAT0OVV3MsMWD6TZWwoWL4F23wzA/eM3HLgWV0 zmf4ZckMXTySvnBjW5UR817TCW825EY9Nx/ADSGYYY= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 17 Jul 2011 11:57:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49350 Archived-At: 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