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: Wed, 01 Jan 2020 11:07:22 +0800 Message-ID: <87d0c33mdx.5.fsf@jidanni.org> References: <87imlxlrrv.5.fsf@jidanni.org> <87mub85ri0.fsf@web.de> <87h81f3our.5.fsf@jidanni.org> <87v9pv28qu.fsf@web.de> 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="51714"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38818@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 01 04:08:12 2020 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 1imUMk-000DJy-SZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Jan 2020 04:08:11 +0100 Original-Received: from localhost ([::1]:47916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imUMj-0001Q5-NH for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 Dec 2019 22:08:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44342) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imUMd-0001Pi-7h for bug-gnu-emacs@gnu.org; Tue, 31 Dec 2019 22:08:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imUMc-0003Cb-6p for bug-gnu-emacs@gnu.org; Tue, 31 Dec 2019 22:08:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57642) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1imUMb-0003B1-R9 for bug-gnu-emacs@gnu.org; Tue, 31 Dec 2019 22:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1imUMb-0005Qg-Mb for bug-gnu-emacs@gnu.org; Tue, 31 Dec 2019 22:08: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: Wed, 01 Jan 2020 03:08: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.157784805520835 (code B ref 38818); Wed, 01 Jan 2020 03:08:01 +0000 Original-Received: (at 38818) by debbugs.gnu.org; 1 Jan 2020 03:07:35 +0000 Original-Received: from localhost ([127.0.0.1]:35382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imUMB-0005Pz-4T for submit@debbugs.gnu.org; Tue, 31 Dec 2019 22:07:35 -0500 Original-Received: from bonobo.birch.relay.mailchannels.net ([23.83.209.22]:54787) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imUM8-0005Pp-8n for 38818@debbugs.gnu.org; Tue, 31 Dec 2019 22:07:33 -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 014A32C0E18; Wed, 1 Jan 2020 03:07:31 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a50.g.dreamhost.com (100-96-87-40.trex.outbound.svc.cluster.local [100.96.87.40]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 8E99A2C0B5B; Wed, 1 Jan 2020 03:07:30 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a50.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); Wed, 01 Jan 2020 03:07:30 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Company-Invention: 6bf8ed0c22b66711_1577848050817_2830853735 X-MC-Loop-Signature: 1577848050817:1821002942 X-MC-Ingress-Time: 1577848050817 Original-Received: from pdx1-sub0-mail-a50.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a50.g.dreamhost.com (Postfix) with ESMTP id BEC2C816EE; Tue, 31 Dec 2019 19:07:27 -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=BYQmy6WSBSp16rG//3 cyblDYvQE=; b=KMSMGtBdQIBQOGdq8nt4ssY/II4EYGiAefkkhJmupph9YSkTzP OtVtZEg8YOHnvCqODsWcAMHsn3tK6E0RY0sgCnYWuN+xj+vppglRiQ5pwundfd8A 0Y3JXLozIT92PA3smn62u62cMCNgZpklkNM+ySYNVA2Ff+S9DPz8ewQOs= Original-Received: from jidanni.org (220-140-4-189.dynamic-ip.hinet.net [220.140.4.189]) (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-a50.g.dreamhost.com (Postfix) with ESMTPSA id 873A781689; Tue, 31 Dec 2019 19:07:26 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a50 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrvdefkedgheegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhffffkgggtgfesthekredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecuffhomhgrihhnpegvlhdrshhonecukfhppedvvddtrddugedtrdegrddukeelnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepvddvtddrudegtddrgedrudekledprhgvthhurhhnqdhprghthheppeeruhhtfhdqkeerueerheeimhfphefnihehhegsveekreepucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqedpmhgrihhlfhhrohhmpehjihgurghnnhhisehjihgurghnnhhirdhorhhgpdhnrhgtphhtthhopehruhgurghlihgtshesghhmgidrrghtnecuvehluhhsthgv rhfuihiivgeptd 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:174002 Archived-At: Yup, confirmation when edited or marks sounds good. Otherwise if the user really wanted to keep the buffer around, he could just do C-x C-b to switch to another buffer. Wait, looking at C-h b, i dired-maybe-insert-subdir j dired-goto-file k dired-do-kill-lines l dired-do-redisplay m dired-mark n dired-next-line o dired-find-file-other-window p dired-previous-line q quit-window s dired-sort-toggle-or-edit t dired-toggle-marks u dired-unmark v dired-view-file w dired-copy-filename-as-kill x dired-do-flagged-delete y dired-show-file-type So we "see" the problem is caused by just reusing quit-window instead of = a more tailored dired command... One also notices dired-clean-up-buffers-too is a variable defined in =E2=80=98dired-x.el= =E2=80=99. So previously people had been working on related problems, but never got around to all the left over directories. MH> But... if the default is the same as now, you would not gain any adva= ntage, MH> since you can already change the key binding without much effort. Actually I don't know how to bind kill-buffer to q and not have it still ask me which buffer, but just kill it (marks and all, for now I guess.) I'm not a lisp wiz.