From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: patch for optional inhibit of delete-other-windows(IDE feature) Date: Mon, 28 Apr 2008 13:56:23 +0100 Message-ID: <4815C977.3040502@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209387430 24258 80.91.229.12 (28 Apr 2008 12:57:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2008 12:57:10 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 28 14:57:45 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 1JqSv1-0003SU-9B for ged-emacs-devel@m.gmane.org; Mon, 28 Apr 2008 14:57:19 +0200 Original-Received: from localhost ([127.0.0.1]:38473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqSuK-0002N7-Pp for ged-emacs-devel@m.gmane.org; Mon, 28 Apr 2008 08:56:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JqSuH-0002N2-E1 for emacs-devel@gnu.org; Mon, 28 Apr 2008 08:56:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JqSuF-0002MW-Vc for emacs-devel@gnu.org; Mon, 28 Apr 2008 08:56:33 -0400 Original-Received: from [199.232.76.173] (port=49667 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqSuF-0002MT-Og for emacs-devel@gnu.org; Mon, 28 Apr 2008 08:56:31 -0400 Original-Received: from mk-outboundfilter-5-a-2.mail.uk.tiscali.com ([212.74.114.4]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JqSuF-000744-FF for emacs-devel@gnu.org; Mon, 28 Apr 2008 08:56:31 -0400 Original-X-Trace: 17007904/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag4FAHpmFUhTQxds/2dsb2JhbACBU6hB X-IP-Direction: IN Original-Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 28 Apr 2008 13:56:30 +0100 Original-Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 1CD531E0; Mon, 28 Apr 2008 13:56:27 +0100 (BST) User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D X-detected-kernel: by monty-python.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:96057 Archived-At: joakim@verona.se wrote: > 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. > The first definitely needs renaming. Its value is used to determine the behaviour of the current window (not other windows), and its value is used in the inverse way that the name suggests. Perhaps inhibit-deletion would be better. The downside is that the rename loses the association with the function delete-other-windows, but is that the only function that needs to look at this property anyway?