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: window groups Date: Fri, 30 May 2008 09:08:05 +0200 Message-ID: <483FA7D5.2090102@gmx.at> References: <483D4E9A.9020001@gmx.at> <483E76D9.1060406@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1212135318 15506 80.91.229.12 (30 May 2008 08:15:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 May 2008 08:15:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 30 10:15:49 2008 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 1K1zm8-0002QT-CW for ged-emacs-devel@m.gmane.org; Fri, 30 May 2008 10:15:48 +0200 Original-Received: from localhost ([127.0.0.1]:44623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1zlM-0003yJ-Ac for ged-emacs-devel@m.gmane.org; Fri, 30 May 2008 04:15:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1zgZ-0001SE-2A for emacs-devel@gnu.org; Fri, 30 May 2008 04:10:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1zgX-0001Ra-KH for emacs-devel@gnu.org; Fri, 30 May 2008 04:10:02 -0400 Original-Received: from [199.232.76.173] (port=52916 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1zgX-0001RL-5i for emacs-devel@gnu.org; Fri, 30 May 2008 04:10:01 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:37313) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1K1zgW-00053Z-2B for emacs-devel@gnu.org; Fri, 30 May 2008 04:10:00 -0400 Original-Received: (qmail invoked by alias); 30 May 2008 07:09:59 -0000 Original-Received: from 62-47-55-43.adsl.highway.telekom.at (EHLO [62.47.55.43]) [62.47.55.43] by mail.gmx.net (mp020) with SMTP; 30 May 2008 09:09:59 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19FgqBkEkZFJjADnU/sTrlB8hCIT8jTgF+2vWfxNv xlgJxE/f73RMsq User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:98051 Archived-At: > - Assert that layouts change in a conceivable way. > > I am not sure what distinction is meant by "a conceivable way". > Did you mean some other word instead of "conceivable"? I meant "predictable". > Technically, group numbers get assigned like window numbers. It would > be possible, albeit inefficient, to avoid using numbers: Some group > identifier must get stored together with each window-configuration. > > Can you create an object (even a cons cell) to represent the window > group? It just has to be unique, different from the cons cell used > for any other window group. I can - but what should the cons cell store? I want to compare group identifiers quickly in C code and I want to store them as list structure on file. > > It seems unclean that the group disappears if you happen > > to reduce it to just one window. > > Currently, an invariant requires that group root windows are internal > Emacs windows. Hence `delete-window' automatically dissolves a group as > soon as it has one visible member. I suppose it wouldn't be difficult > to relax that invariant. > > I think that change is essential for practical use, and also needed > for simplicity. OK