From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: patch for optional inhibit of delete-other-windows(IDE feature) Date: Sat, 26 Apr 2008 08:56:26 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1209193260 363 80.91.229.12 (26 Apr 2008 07:01:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2008 07:01:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 26 09:01:35 2008 connect(): Connection refused 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 1JpePW-0008FC-Hb for ged-emacs-devel@m.gmane.org; Sat, 26 Apr 2008 09:01:26 +0200 Original-Received: from localhost ([127.0.0.1]:38065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpeOq-0004iZ-BU for ged-emacs-devel@m.gmane.org; Sat, 26 Apr 2008 03:00:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JpeOm-0004iU-2e for emacs-devel@gnu.org; Sat, 26 Apr 2008 03:00:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JpeOk-0004iI-Lg for emacs-devel@gnu.org; Sat, 26 Apr 2008 03:00:39 -0400 Original-Received: from [199.232.76.173] (port=50350 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpeOk-0004iF-GR for emacs-devel@gnu.org; Sat, 26 Apr 2008 03:00:38 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JpeOk-00065u-Bk for emacs-devel@gnu.org; Sat, 26 Apr 2008 03:00:38 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64] helo=gate.verona.se) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JpeOi-0007cI-Rh for emacs-devel@gnu.org; Sat, 26 Apr 2008 03:00:37 -0400 Original-Received: from chopper (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id m3Q70OdE012779; Sat, 26 Apr 2008 09:00:25 +0200 In-Reply-To: (Stefan Monnier's message of "Fri, 25 Apr 2008 21:25:18 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.4-2.6 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:95971 Archived-At: Stefan Monnier writes: >> If the windows plist window-operation-behaviour-flags >> delete-other-windows is t, the window is not electable for deletion when >> delete-other-windows is run. > > I'd rather add window-parameter and set-window-parameter. After all, > most objects have such things and it's useful for more than just > "behavior flags". > > Such an addition is useful in general and can be installed right away. Ok, I will model it like set-frame-parameter, frame-parameter. Thanks for the tip! > > As for the introduction of special meaning for some parameters so as to > influence delete-other-windows, while I think it may work well, I'd > rather first see it fully developed and shown to be a good fit for ECB, > before installing it. This is because there's a good chance that it may > not work quite as needed at first and that the design requires some > rounds of refinement until it's really what we want. How do you feel about the current interface: delete-other-windows t, inhibits delete-other-windows other-window numeric arg, the arg will group windows together, when other-window is performed, only windows in the same group are considered. I plan to do this by adding an argument to next_window. The parameters might obvioulsy be renamed. > So I suggest you work on a separate branch for that. I have set up a local bzr branch to work in, that should be enough right? > > > Stefan -- Joakim Verona