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: moving window handling into lisp Date: Sun, 16 Aug 2009 14:26:13 +0200 Message-ID: References: <87vdkpfbeg.fsf@lola.goethe.zz> <4A86DE30.8060902@gmx.at> <4A86F24D.4090103@gmx.at> <4A87DE88.6050209@gmx.at> <4A87F8C1.2010301@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250425613 11382 80.91.229.12 (16 Aug 2009 12:26:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Aug 2009 12:26:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 16 14:26:46 2009 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.50) id 1Mceov-0002Fk-AR for ged-emacs-devel@m.gmane.org; Sun, 16 Aug 2009 14:26:45 +0200 Original-Received: from localhost ([127.0.0.1]:35166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mceou-0008BQ-K9 for ged-emacs-devel@m.gmane.org; Sun, 16 Aug 2009 08:26:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MceoV-00081M-EU for emacs-devel@gnu.org; Sun, 16 Aug 2009 08:26:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MceoQ-00080B-Dx for emacs-devel@gnu.org; Sun, 16 Aug 2009 08:26:18 -0400 Original-Received: from [199.232.76.173] (port=55754 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MceoQ-000808-A0 for emacs-devel@gnu.org; Sun, 16 Aug 2009 08:26:14 -0400 Original-Received: from mail-yx0-f172.google.com ([209.85.210.172]:39912) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MceoQ-0000jQ-10 for emacs-devel@gnu.org; Sun, 16 Aug 2009 08:26:14 -0400 Original-Received: by yxe2 with SMTP id 2so3275602yxe.14 for ; Sun, 16 Aug 2009 05:26:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=t+oYSu1Aqfn2+S4bHHi+OnQrh7ksf1Oi+5jbtbdtUXk=; b=dJlxg6HNpidC+0d21FvC4zooZQXEyG0ELQaaPY3a+BWFsySIlfujtCIFrnAAp9N9gt QyI/i7PQ8WrRfnO5ifTgKeLSWQN7Ml41c8Mw9C5jb9iIQOiOKyIpTzwMEoxZH416MlqZ ZIS/vshoANJ6WKkav9bmaVipERcLNjKQdZ7co= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=pZNR7oAr2AYwKdOhDjia2ws6r4ID44iFqgbT7oLYLv8eEFuXnW1ce+N82nufHZ2ZUn SC9Hyvu+QdPquLFt29raWg1AN3IGm6MoZYEDpaSok1XrV2GjUY93/K1cqOPc/beDHw59 yXmvxspp94J0c/F7WH5QZ5VrZcw4Y9/Ywjw+g= Original-Received: by 10.100.78.16 with SMTP id a16mr2679655anb.180.1250425573416; Sun, 16 Aug 2009 05:26:13 -0700 (PDT) In-Reply-To: <4A87F8C1.2010301@gmx.at> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:114306 Archived-At: On Sun, Aug 16, 2009 at 2:17 PM, martin rudalics wrote: >> What is problematic with that if we save pointers to the old structure >> as I suggested? (I am not saying there aren't any problem, I just >> don't know what kind of problem you see.) > > We would have to save multiple before-frame-size-change window > configurations Why multiple? > compare them in a non-trivial way at every subsequent > frame-resizing Is not that exactly what we are doing when we are resizing? You just put back the original structure and try resizing again. > and get rid of saved configurations > when they are no more useful. There is only one: the "does-not-fit-configuration". And it should not be a window-configuration, just a pointer to the old windows. > All this is very non-trivial. > > martin >