From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: `k' in Dired with inserted subdirectories. Date: Fri, 16 Jul 2004 12:08:48 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200407131955.i6DJtDt10122@raven.dms.auburn.edu> <200407152116.i6FLGxM07737@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1089994222 30126 80.91.224.253 (16 Jul 2004 16:10:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Jul 2004 16:10:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jul 16 18:10:04 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BlVHf-0004Uq-00 for ; Fri, 16 Jul 2004 18:10:03 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BlVHf-0002RH-00 for ; Fri, 16 Jul 2004 18:10:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BlVKC-0007RG-Iy for emacs-devel@quimby.gnus.org; Fri, 16 Jul 2004 12:12:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BlVJO-0006yH-Ju for emacs-devel@gnu.org; Fri, 16 Jul 2004 12:11:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BlVJM-0006xJ-TX for emacs-devel@gnu.org; Fri, 16 Jul 2004 12:11:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BlVJM-0006wo-N7 for emacs-devel@gnu.org; Fri, 16 Jul 2004 12:11:48 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BlVGT-0004LI-56 for emacs-devel@gnu.org; Fri, 16 Jul 2004 12:08:49 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BlVGS-0006Ax-HI; Fri, 16 Jul 2004 12:08:48 -0400 Original-To: Luc Teirlinck In-reply-to: <200407152116.i6FLGxM07737@raven.dms.auburn.edu> (message from Luc Teirlinck on Thu, 15 Jul 2004 16:16:59 -0500 (CDT)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25771 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25771 If you use this command with a prefix argument to kill the line for a file that is a directory, which the Dired buffer also displays as a subdirectory, then it deletes that subdirectory from the buffer as well. That is ok except that the middle clause is clumsy. How about this? If you use this command with a prefix argument to kill the line for a file that is a subdirectory, and you've displayed the subdirectory's contents in the Dired buffer with \\\\[dired-insert-subdir], it deletes that subdirectory from the buffer as well. I was thinking only about using this in Dired mode, but now that you mention the issue, I am not sure whether it is better to use \\. When you're not in Dired mode, i won't do this. Maybe it is clearer to say M-x dired-insert-subdir in that case. I am not sure. Thanks for working on this.