From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: `k' in Dired with inserted subdirectories. Date: Thu, 15 Jul 2004 16:16:59 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200407152116.i6FLGxM07737@raven.dms.auburn.edu> References: <200407131955.i6DJtDt10122@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1089926460 2533 80.91.224.253 (15 Jul 2004 21:21:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Jul 2004 21:21:00 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jul 15 23:20:53 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 1BlDev-0006Bj-00 for ; Thu, 15 Jul 2004 23:20:53 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BlDev-0006r7-00 for ; Thu, 15 Jul 2004 23:20:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BlDhP-0002Aq-Re for emacs-devel@quimby.gnus.org; Thu, 15 Jul 2004 17:23:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BlDhM-0002AA-Kh for emacs-devel@gnu.org; Thu, 15 Jul 2004 17:23:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BlDhL-00029y-4l for emacs-devel@gnu.org; Thu, 15 Jul 2004 17:23:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BlDhL-00029v-18 for emacs-devel@gnu.org; Thu, 15 Jul 2004 17:23:23 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BlDds-0002OP-HS; Thu, 15 Jul 2004 17:19:48 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i6FLJluE001439; Thu, 15 Jul 2004 16:19:48 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i6FLGxM07737; Thu, 15 Jul 2004 16:16:59 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Wed, 14 Jul 2004 14:26:58 -0400) 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:25737 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25737 Richard Stallman wrote: If you use this command with a prefix argument to kill the line for a subdirectory, and you've dispayed the subdirectory contents in the buffer with \\[dired-insert-subdir], it kills the subdirectory's lines too. "with \\[dired-insert-subdir]" is a more precise and clear way to identify the case in question than any description could be. (This concerns the `dired-do-kill-lines' docstring.) I have two problems with the above: "the line for a subdirectory" could be misunderstood as the subdirectory header line and "\\[dired-insert-subdir]" is going to come out as `M-x dired-insert-subdir', unless C-h f was issued from a Dired buffer. This might look cryptic to non-Elisp users, thinking of this as `i'. \\\\[dired-insert-subdir] is going to come out worse if dired is not yet loaded. What about: 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.