From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Annoying window/frame-configuration registers Date: Tue, 29 Mar 2011 02:39:14 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1301359188 9770 80.91.229.12 (29 Mar 2011 00:39:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2011 00:39:48 +0000 (UTC) Cc: Leo , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 29 02:39:43 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 1Q4MyE-0003J6-FB for ged-emacs-devel@m.gmane.org; Tue, 29 Mar 2011 02:39:42 +0200 Original-Received: from localhost ([127.0.0.1]:59384 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4MyE-0002KV-29 for ged-emacs-devel@m.gmane.org; Mon, 28 Mar 2011 20:39:42 -0400 Original-Received: from [140.186.70.92] (port=40312 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4My8-0002IP-GH for emacs-devel@gnu.org; Mon, 28 Mar 2011 20:39:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4My7-0005cT-C3 for emacs-devel@gnu.org; Mon, 28 Mar 2011 20:39:36 -0400 Original-Received: from mail-ew0-f41.google.com ([209.85.215.41]:42834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4My7-0005cJ-7R for emacs-devel@gnu.org; Mon, 28 Mar 2011 20:39:35 -0400 Original-Received: by ewy9 with SMTP id 9so1402500ewy.0 for ; Mon, 28 Mar 2011 17:39:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=VPQsPLOmKQceZ5eLiVmHAJHrpe330co8gQQLLGp8Bkc=; b=RZwWeB90l2aFaiwglBcJBca1GhKxsSml8M1AC4TC2UNeV00diVwltLBvhkPT6d809p WEqeFuYoicO+qvsdrSZHeJvfUi6X8yLZ+saqOIfQTSQ3PR77G3gFBVIrDUpVjKwPnUMh zRXug2Y1LCPzx5pfTk4Mfc7CJgCo4oiizSOYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=LRTBCBhozdqPdV7FwixWFbGTtp0qpTwxIXwew2z5xwlYnZ5AwqOySbc8laMsCfZfuN J0W/iOFi+SauoKgJzFfago1eqQBj36KdYuzaz3vrI/iFEjBnuMLCSlRiJxQYYxJVE8Kx yT4tKJKA3FlIdh9D2j9urlqd13KmLFkXbSp+I= Original-Received: by 10.213.110.17 with SMTP id l17mr1641932ebp.83.1301359174199; Mon, 28 Mar 2011 17:39:34 -0700 (PDT) Original-Received: by 10.213.33.200 with HTTP; Mon, 28 Mar 2011 17:39:14 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 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:137825 Archived-At: On Mon, Mar 28, 2011 at 8:12 PM, Stefan Monnier wrote: >> I think the frame/window configuration registers are doing too much by >> restoring point. Any objection to changing that behaviour? Thanks > > The window-config code needs to be overhauled, indeed. =C2=A0E.g. so as t= o be > able to restore a window config in another frame. > Your change might be OK, but only if it affects the behavior of > registers but not of the many internal uses of window-configs. There is some code for that in winsav.el in nXhtml. (Though everything can't be restored on the elisp level.)