From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Window configurations Date: Fri, 11 Jun 2010 09:52:38 -0400 Message-ID: References: <4BB4CF6B.2000007@alice.it> <87r5liqv8f.fsf@mail.jurta.org> <4BEA74DC.2060103@gmx.at> <87y6fns8qo.fsf@mail.jurta.org> <4BECF4D6.9030707@gmx.at> <87632na2af.fsf@mail.jurta.org> <4C03F1B5.8040708@gmx.at> <4C04D1BF.9070902@gmx.at> <87zkzcse1j.fsf@mail.jurta.org> <4C08B53C.7040304@gmx.at> <877hmezpvu.fsf@mail.jurta.org> <4C0A47BF.7010202@gmx.at> <87d3w5nuki.fsf@mail.jurta.org> <4C0B7AA6.2090400@gmx.at> <4C0CF6EB.8010705@gmx.at> <4C0E4068.1000604@gmx.at> <4C12381E.4030205@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276264395 18230 80.91.229.12 (11 Jun 2010 13:53:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Jun 2010 13:53:15 +0000 (UTC) Cc: Juri Linkov , Emacs To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 11 15:53:13 2010 connect(): No such file or directory 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 1ON4fW-0002vF-8Z for ged-emacs-devel@m.gmane.org; Fri, 11 Jun 2010 15:53:12 +0200 Original-Received: from localhost ([127.0.0.1]:42436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ON4fS-00072y-U4 for ged-emacs-devel@m.gmane.org; Fri, 11 Jun 2010 09:53:07 -0400 Original-Received: from [140.186.70.92] (port=38613 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ON4fH-0006u2-20 for emacs-devel@gnu.org; Fri, 11 Jun 2010 09:52:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ON4f2-0005wg-Au for emacs-devel@gnu.org; Fri, 11 Jun 2010 09:52:41 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:56781 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ON4f2-0005wU-7I for emacs-devel@gnu.org; Fri, 11 Jun 2010 09:52:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAGTcEUxMCqeQ/2dsb2JhbACeenK/DoUYBIx6 X-IronPort-AV: E=Sophos;i="4.53,403,1272859200"; d="scan'208";a="67840675" Original-Received: from 76-10-167-144.dsl.teksavvy.com (HELO pastel.home) ([76.10.167.144]) by ironport2-out.pppoe.ca with ESMTP; 11 Jun 2010 09:52:38 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id BA91F8056; Fri, 11 Jun 2010 09:52:38 -0400 (EDT) In-Reply-To: <4C12381E.4030205@gmx.at> (martin rudalics's message of "Fri, 11 Jun 2010 15:20:30 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:125735 Archived-At: > Initially, I wanted to store a pointer to a window's buffer list in a > window configuration but that apparently breaks things when restoring > the configuration. IIUC I'd have to copy window buffer lists when > saving a configuration since otherwise they can get messed up by an > intermittent `delq'. Copying buffer lists is 100% not worth the > trouble. Hence any change to a window's buffer list that happens inside > a window excursion will get recorded (including selections that happen > inside a window that is deleted when the configuration is restored). I'm not sure if keeping window's buffer-lists in window-configs would be a good thing, and/or if it's worth the trouble, but we could use a new Fremq rather Fdelq. Stefan