From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.bugs Subject: bug#1259: quit-window does not kill the window Date: Fri, 14 Nov 2008 16:10:26 +0100 Message-ID: References: <491D318C.80402@gmx.at> <491D7FF3.4050507@gmx.at> Reply-To: Juanma Barranquero , 1259@emacsbugs.donarmstrong.com 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 1226676689 28835 80.91.229.12 (14 Nov 2008 15:31:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2008 15:31:29 +0000 (UTC) Cc: 1259@emacsbugs.donarmstrong.com To: "martin rudalics" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 14 16:32:30 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L10eo-0000Wp-JF for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Nov 2008 16:32:26 +0100 Original-Received: from localhost ([127.0.0.1]:40765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L10dg-0002KU-FM for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Nov 2008 10:31:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L10ck-000274-1j for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 10:30:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L10ce-00024o-Tv for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 10:30:17 -0500 Original-Received: from [199.232.76.173] (port=43123 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L10ce-00024g-JI for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 10:30:12 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34231) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L10ce-0003cx-OI for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 10:30:13 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAEFU7GO025934; Fri, 14 Nov 2008 07:30:08 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAEFK3ZJ023113; Fri, 14 Nov 2008 07:20:03 -0800 X-Loop: don@donarmstrong.com Resent-From: "Juanma Barranquero" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 14 Nov 2008 15:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1259 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1259-submit@emacsbugs.donarmstrong.com id=B1259.122667543021666 (code B ref 1259); Fri, 14 Nov 2008 15:20:03 +0000 Original-Received: (at 1259) by emacsbugs.donarmstrong.com; 14 Nov 2008 15:10:30 +0000 Original-Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAEFAQx1021660 for <1259@emacsbugs.donarmstrong.com>; Fri, 14 Nov 2008 07:10:28 -0800 Original-Received: by yw-out-2324.google.com with SMTP id 3so647830ywj.31 for <1259@emacsbugs.donarmstrong.com>; Fri, 14 Nov 2008 07:10:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=LDKjyrY9hNNQyKumwaYIIn6h6O+WZ5Vcjlgg67TJHGc=; b=o08K/p714GeBskOFwCrhBhsGEzgrZeYsUBXgyK2e6PKzfSjkIGYlSeFyTqxO1Lp3uk llEemKP5KDc24ZPAidB9+lq0plT5do1ThHWYVL2FJb9K4yRsivSnBJbNTyomyclrow5W eoYGZzZzADSZxrHfi8tY2JlGFMyxD7u/DofI4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=grb8qvAjGBGC306KZyhNlx3ATz1Vb6ifDPhGhGgySfdvryFghlDhUXQp3WoomxYzEf UjEQ7fHu1s3tAbPJeIIIaPyCl3K7nr3v8uyGTnXrwv+2ai6pRvwtybcowmEdO3mjFte6 QMMEoWeBhsIRu4+FJb1IdLLCWPJYGAfBCUR8M= Original-Received: by 10.100.197.7 with SMTP id u7mr524414anf.72.1226675426575; Fri, 14 Nov 2008 07:10:26 -0800 (PST) Original-Received: by 10.100.13.13 with HTTP; Fri, 14 Nov 2008 07:10:26 -0800 (PST) In-Reply-To: <491D7FF3.4050507@gmx.at> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 14 Nov 2008 10:30:17 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22340 Archived-At: On Fri, Nov 14, 2008 at 14:41, martin rudalics wrote: > Deleting the window iff it's explicitly specified strikes me as > non-intuitive. I think quit-window conflates two interfaces, one for humans that does not kill the window, and another for elisp that allows killing it; that second interface does not need to be "interactively intuitive", but certainly is not illogical (the programmer is taking the pain to explicitly pass a window instead of using the default, after all). I just happened to be using interactively the second interface. > Anyway, the version below should do that. > > Please give it another try. It works as expected now for quit-window and my-quit-window. I've only tested my common use of the function, though: single frame, one window (plus the one killed by quit-window). Thanks for fixing this, Juanma