From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Drew Adams <drew.adams@oracle.com>
Newsgroups: gmane.emacs.devel
Subject: RE: Quit and Close Emacs Special Windows
Date: Wed, 1 Jul 2020 13:55:30 +0000 (UTC)
Message-ID: <9e6c98fe-d6b6-4b2c-a992-e5c418aae6aa@default>
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>
 <jwv5zb8zdud.fsf-monnier+emacs@gnu.org>
 <6612E345-621D-4453-AE61-01E757B08765@aol.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="30773"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: emacs-devel@gnu.org
To: Ergus <spacibba@aol.com>, Stefan Monnier <monnier@iro.umontreal.ca>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 01 16:06:33 2020
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1jqdNh-0007u0-Fr
	for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Jul 2020 16:06:33 +0200
Original-Received: from localhost ([::1]:35964 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1jqdNg-0001Sb-E6
	for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Jul 2020 10:06:32 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59178)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <drew.adams@oracle.com>)
 id 1jqdF5-0002jC-Dc
 for emacs-devel@gnu.org; Wed, 01 Jul 2020 09:57:39 -0400
Original-Received: from userp2120.oracle.com ([156.151.31.85]:36646)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <drew.adams@oracle.com>)
 id 1jqdF3-0005vB-0X
 for emacs-devel@gnu.org; Wed, 01 Jul 2020 09:57:38 -0400
Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1])
 by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 061DtOgh080168;
 Wed, 1 Jul 2020 13:57:33 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : cc : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29;
 bh=R02n1Ikw3mfDSEXoVNYeGwBxHjrIvGOTwRLIednJiD8=;
 b=wcQ+DMtx2cCVEIV/xHT+Dt+quOiq0C5IdyDLCgsyVkJh2p+PqktJ4b1OdI/ZjPyJDNd1
 5bskKi211DFFksmOWJybPIgq8QJ9phE+eWwn0dILX5QLXKAMdtFbvMC20ptt8jiDQM41
 cXgPJOePZHZVaX9BH7ImpuydKXs144KVlIkC8SAeEc9sd+N+HPRulfS3bjzEJyKhEoiH
 q7paVdA9oR0dppE9i0xGtqRwPqYbc/YbzJlPzhYY30iF4GW3S7WonZpyk2JhddxDpxBH
 RobMOfp8hkDOC8mAi4CEosxcfF/U5H2/2PRJE6LE6g215i+wpI6bT7U6he86ORPBlrSz 7g== 
Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71])
 by userp2120.oracle.com with ESMTP id 31wxrnamtm-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
 Wed, 01 Jul 2020 13:57:33 +0000
Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1])
 by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 061DWjnp169851;
 Wed, 1 Jul 2020 13:55:32 GMT
Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236])
 by aserp3030.oracle.com with ESMTP id 31y52kb8a0-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Wed, 01 Jul 2020 13:55:32 +0000
Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9])
 by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 061DtVZl000926;
 Wed, 1 Jul 2020 13:55:32 GMT
In-Reply-To: <6612E345-621D-4453-AE61-01E757B08765@aol.com>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.5017.0 (x86)]
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9668
 signatures=668680
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
 phishscore=0 mlxscore=0
 adultscore=0 suspectscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000
 definitions=main-2007010100
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9668
 signatures=668680
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0
 mlxlogscore=999
 priorityscore=1501 impostorscore=0 bulkscore=0 clxscore=1015
 malwarescore=0 phishscore=0 adultscore=0 cotscore=-2147483648
 lowpriorityscore=0 suspectscore=0 spamscore=0 classifier=spam adjust=0
 reason=mlx scancount=1 engine=8.12.0-2004280000
 definitions=main-2007010100
Received-SPF: pass client-ip=156.151.31.85; envelope-from=drew.adams@oracle.com;
 helo=userp2120.oracle.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/01 09:57:35
X-ACL-Warn: Detected OS   = Linux 3.1-3.10 [fuzzy]
X-Spam_score_int: -63
X-Spam_score: -6.4
X-Spam_bar: ------
X-Spam_report: (-6.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-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." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: "Emacs-devel"
 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.devel:252607
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/252607>

> As "this behavior" I mean that pressing q
> effectively closes the buffer instead of keeping=20
> it around in the buffer list. When working in=20
> big projects with too many files usually there=20
> are too many *-...-* buffers (magit, compile,=20
> man, logs...).
>
> And the user needs to keep closing them=20
> constantly (with C-u q or explicitly)

OK, so Stefan was right. This is about not only
deleting the window but also killing the buffer.

I don't think you ever mentioned `C-u' with `q'
before (but I could be mistaken). I thought you
were only interested in deleting the window.
The code I showed was only about deleting the
window.

(FWIW, the Emacs jargon uses "kill" a buffer and
"delete" a window, not "close" a buffer.)