From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Annoying window/frame-configuration registers Date: Mon, 28 Mar 2011 20:51:24 +0200 Message-ID: <4D90D8AC.40306@gmx.at> References: 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 1301338926 27142 80.91.229.12 (28 Mar 2011 19:02:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Mar 2011 19:02:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 28 21:02:02 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4HhR-0003nq-R4 for ged-emacs-devel@m.gmane.org; Mon, 28 Mar 2011 21:02:02 +0200 Original-Received: from localhost ([127.0.0.1]:60812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4HaN-0006Ub-5K for ged-emacs-devel@m.gmane.org; Mon, 28 Mar 2011 14:54:43 -0400 Original-Received: from [140.186.70.92] (port=60099 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4HXN-0004zg-4L for emacs-devel@gnu.org; Mon, 28 Mar 2011 14:51:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4HXL-0007cf-Qo for emacs-devel@gnu.org; Mon, 28 Mar 2011 14:51:36 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:51245) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Q4HXL-0007by-Dv for emacs-devel@gnu.org; Mon, 28 Mar 2011 14:51:35 -0400 Original-Received: (qmail invoked by alias); 28 Mar 2011 18:51:32 -0000 Original-Received: from 62-47-42-27.adsl.highway.telekom.at (EHLO [62.47.42.27]) [62.47.42.27] by mail.gmx.net (mp061) with SMTP; 28 Mar 2011 20:51:32 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX191JbJ+I491rac40A6HAtGOY3tbyPbl7eiD/RnMo8 bthLtemAsMTRhU User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:137794 Archived-At: > For example, assume I set up Emacs windows/frames for a writing task. I > like the setup and it takes a few seconds to arrange it. So I save the > configuration to a register. As I progress with my writing, something > destroys the window/frame layout. When I restore the layout by C-x r j, > I find the point move to a surprising spot. > > I think the frame/window configuration registers are doing too much by > restoring point. Any objection to changing that behaviour? Thanks `jump-to-register' is a command which does "Move point to location stored in a register." Your change would keep `point' unaltered which doesn't fit the description of the function. I would write a new function say `restore-window-configuration-from-register' and try to find some key for it. martin