From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#38818: Dired: mention deleting buffers, not just windows Date: Tue, 31 Dec 2019 02:11:31 +0800 Message-ID: <8736d1lm3w.5.fsf@jidanni.org> References: <87imlxlrrv.5.fsf@jidanni.org> <285491e5-8cb7-55e9-f080-47bba6ed1d78@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="127475"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38818@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 30 19:12:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ilzWZ-000X0h-Sl for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Dec 2019 19:12:16 +0100 Original-Received: from localhost ([::1]:35486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilzWY-0001AZ-Nv for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Dec 2019 13:12:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60988) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilzWN-000172-AJ for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2019 13:12:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilzWM-0000k8-Af for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2019 13:12:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55614) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilzWL-0000k2-VC for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2019 13:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ilzWL-0007Fz-Pl for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2019 13:12:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87imlxlrrv.5.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Dec 2019 18:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38818 X-GNU-PR-Package: emacs Original-Received: via spool by 38818-submit@debbugs.gnu.org id=B38818.157772950327869 (code B ref 38818); Mon, 30 Dec 2019 18:12:01 +0000 Original-Received: (at 38818) by debbugs.gnu.org; 30 Dec 2019 18:11:43 +0000 Original-Received: from localhost ([127.0.0.1]:33354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilzW3-0007FR-Hq for submit@debbugs.gnu.org; Mon, 30 Dec 2019 13:11:43 -0500 Original-Received: from buffalo.birch.relay.mailchannels.net ([23.83.209.24]:19245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilzW1-0007FI-IP for 38818@debbugs.gnu.org; Mon, 30 Dec 2019 13:11:42 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 036696A1D93; Mon, 30 Dec 2019 18:11:40 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a42.g.dreamhost.com (100-96-85-12.trex.outbound.svc.cluster.local [100.96.85.12]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 550EF6A1D3D; Mon, 30 Dec 2019 18:11:39 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a42.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Mon, 30 Dec 2019 18:11:39 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Power-Sponge: 77e20f8e41acb045_1577729499742_4106568269 X-MC-Loop-Signature: 1577729499741:1682908399 X-MC-Ingress-Time: 1577729499741 Original-Received: from pdx1-sub0-mail-a42.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a42.g.dreamhost.com (Postfix) with ESMTP id 7C5829FFC8; Mon, 30 Dec 2019 10:11:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=ga4KZOn13xsCbTpzSe BoxOg4EcY=; b=H4OhF3XCFXosybxkIkVO5Xr5HgB8CA7TBgfYhzk8OxF7VCE7Mm t1HF1rmB2fE1mN9tqVNfu5g01euoXpmkwKMsFAGTWy1kAFPwvfeBaW8cholQYvaS YknjSl5pQsVDA2sMosOhX9SRuhhzXMdPN6h/0ju3rQvm8IzbpT0Zmt7dc= Original-Received: from jidanni.org (220-140-1-111.dynamic-ip.hinet.net [220.140.1.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a42.g.dreamhost.com (Postfix) with ESMTPSA id 542259FFB9; Mon, 30 Dec 2019 10:11:35 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a42 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrvdefhedguddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufhffkfggtgfgsehtkeertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucfkphepvddvtddrudegtddruddrudduudenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpedvvddtrddugedtrddurdduuddupdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepfeekkedukeesuggvsggsuhhgshdrghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173951 Archived-At: >>>>> "mr" =3D=3D martin rudalics writes: >> At (info "(emacs) Dired Enter") >>=20 >> Typing =E2=80=98q=E2=80=99 (=E2=80=98quit-window=E2=80=99) buries the = Dired buffer, and deletes its >> window if the window was created just for that buffer. >>=20 >> Add: >>=20 >> To delete the buffer instead of just burying it, type "1 q". mr> We can add that typing "q" with a prefix argument will kill the mr> buffer, Yes please do. As in (info "(elisp) Quitting Windows"). Which you might as well add a link to... mr> but I'm afraid we have no facility supplying ... >> To make deleting the buffer the default instead of burying it, use >> (setq ... ...) mr> ... that. OK, but there really should be a way. Else heavy dired users commonly end up with plenty of old buffers by the end of the day. (Note that if they toggled the default to now kill, instead of burying the buffer, they would need a way to make an exception. E.g., the argumen= t would then instead bury, not kill.) (Also let's say they have one or two dired buffers they really do want to keep around, despite their "q" hitting habit. Well then perhaps there should be a "dired-mark-this-buffer-as-q-kill-pro= of" command... Or maybe even a regexp list that the user can put in their .emacs file.)