From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#9105: Feature req: Remembering emacs frames, windows, buffer position to subsequent session Date: Sun, 17 Jul 2011 11:46:34 +0200 Message-ID: <4E22AF7A.1080102@gmx.at> References: <20110716204736.5d3e63ef@chaostal.de> <87ei1qqawk.wl%v.plechinger@gmail.com> <20110717013918.7fd31f15@chaostal.de> <4E226E0A.6010601@mousecar.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1310896166 20470 80.91.229.12 (17 Jul 2011 09:49:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 17 Jul 2011 09:49:26 +0000 (UTC) Cc: 9105@debbugs.gnu.org To: gebser@mousecar.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 17 11:49:22 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 1QiNyU-0006zD-Pi for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jul 2011 11:49:22 +0200 Original-Received: from localhost ([::1]:43776 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiNyT-0006Rl-Ri for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jul 2011 05:49:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiNwH-00064G-3A for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2011 05:47:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QiNwF-0006P2-Kn for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2011 05:47:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiNwF-0006Ou-7V for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2011 05:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QiNwE-0004R1-IT; Sun, 17 Jul 2011 05:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics 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 09:47:02 +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.131089600917026 (code B ref 9105); Sun, 17 Jul 2011 09:47:02 +0000 Original-Received: (at 9105) by debbugs.gnu.org; 17 Jul 2011 09:46:49 +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 1QiNw0-0004QZ-5b for submit@debbugs.gnu.org; Sun, 17 Jul 2011 05:46:48 -0400 Original-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 Original-Received: (qmail invoked by alias); 17 Jul 2011 09:46:39 -0000 Original-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 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <4E226E0A.6010601@mousecar.com> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 17 Jul 2011 05:47:02 -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:49331 Archived-At: > 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