From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Quit and Close Emacs Special Windows Date: Tue, 30 Jun 2020 13:04:57 -0400 Message-ID: References: <87ftaej5pp.fsf.ref@ergus.i-did-not-set--mail-host-address--so-tickle-me> <87ftaej5pp.fsf@ergus.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22504"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 30 19:13:37 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqJhb-0006Br-VN for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Jun 2020 19:05:47 +0200 Original-Received: from localhost ([::1]:44644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqJha-0002eB-Vc for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Jun 2020 13:05:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqJgv-0001jF-4k for emacs-devel@gnu.org; Tue, 30 Jun 2020 13:05:05 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:44904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqJgs-0002MU-Nh for emacs-devel@gnu.org; Tue, 30 Jun 2020 13:05:04 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 08B8280A02; Tue, 30 Jun 2020 13:05:01 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id C341D80207; Tue, 30 Jun 2020 13:04:58 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1593536698; bh=TcggewkWX33NcGYcoknIEAFc/7CSpSKWkyCoGwOtUd0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=mTG7yV3ZWvrMMv3+MLddXBN45EpiVYGNmFydSNdQjbV+4MUI9G8hhD8w7H+YWmdt8 AuxRlJtfjv0giz8/NSD96QuHZp8NQs9GZKBpFL2TjqYrD9bC6yjUhezsYdphafFOdD o+keyQuuF6mhbYa4oxnj7+yfAODQHbTv9pkfe+sK4MadpEjjdn9WdnXb1pCL8DfIBO vPwaAcqj/J3CwAO+uJHlRFX4MIMYrYKm5LGV3f2eu3cXnxwBwdsh3TLGPSJeDyCbeL kicFqtgxlJCVEw7o8/uy4d972JDj8hoVDKYTU0B0C0ctjfXzjgw02V5BwkFygPmz8E plrqrfEQwf6WQ== Original-Received: from alfajor (unknown [157.52.0.200]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 9270E120AE8; Tue, 30 Jun 2020 13:04:58 -0400 (EDT) In-Reply-To: <87ftaej5pp.fsf@ergus.i-did-not-set--mail-host-address--so-tickle-me> (Ergus's message of "Mon, 29 Jun 2020 16:40:23 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/30 13:05:01 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:252595 Archived-At: > I have been reading this site: > > https://christiantietze.de/posts/2019/10/emacs-quit-special-windows/ > > and I am wondering why we don't provide an option to enable this > behaviour by default in some cases without needing the "hack" in the > link. It doesn't seems to be too complex to implement right? What do you mean by "this behavior"? I just tried emacs -Q M-x compile ..select the compilation window... q and sure enough I was back to a single-window setup. So, IIUC we already provide "this behavior". > I know it is just a detail, but in some cases (like when using man or > compile mode, or reading a function documentation, or after executing > magit commands) it doesn't make sense to keep the buffer in the buffer > list after pressing q in 90% of the times. I don't understand the connection with the previous paragraph. Stefan