From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robin Dunn Newsgroups: gmane.emacs.help Subject: Re: save/restore frame positions Date: Wed, 17 May 2006 07:45:57 -0700 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <126mdph5alfgra0@corp.supernews.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1147880480 8440 80.91.229.2 (17 May 2006 15:41:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 May 2006 15:41:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 17 17:41:16 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FgO8l-0006hZ-Rb for geh-help-gnu-emacs@m.gmane.org; Wed, 17 May 2006 17:40:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FgO8l-0005WE-GD for geh-help-gnu-emacs@m.gmane.org; Wed, 17 May 2006 11:40:47 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!sn-xt-sjc-15!sn-xt-sjc-09!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Thunderbird 1.5.0.2 (X11/20060420) In-Reply-To: Original-X-Complaints-To: abuse@supernews.com Original-Lines: 16 Original-Xref: shelby.stanford.edu gnu.emacs.help:139479 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35104 Archived-At: Drew Adams wrote: > A frame configuration saves the sizes and positions (and more) of all > frames. It is not, however, persistent. What you want to do is save a frame > configuration across Emacs sessions. That is the only code you would need to > write. > > I believe, however, that there are already libraries that do that. > desktop.el is one that comes to mind, but I have never used it - someone > else can confirm or correct this. I also use desktop.el, and have for several years. It is primarily focused on saving the list of buffers with their files, directories, point and mark and various buffer-local variables. If it can save frame configs I haven't seen how to do it, but perhaps that would make a good extension... If I have some more time to spend on this perhaps I will give it a try.