From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Delete marked files from dired Date: Fri, 02 Jun 2017 23:47:52 +0200 Message-ID: <87k24u9i47.fsf@debian.uxu> References: <868tlbqp8j.fsf@local.lan> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1496440122 32136 195.159.176.226 (2 Jun 2017 21:48:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Jun 2017 21:48:42 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 02 23:48:37 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGuQt-0007ur-FX for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Jun 2017 23:48:35 +0200 Original-Received: from localhost ([::1]:51552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGuQv-0003An-Ki for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Jun 2017 17:48:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGuQP-0003AO-CR for help-gnu-emacs@gnu.org; Fri, 02 Jun 2017 17:48:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGuQL-00076Q-GC for help-gnu-emacs@gnu.org; Fri, 02 Jun 2017 17:48:05 -0400 Original-Received: from [195.159.176.226] (port=59374 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGuQL-00075Y-A7 for help-gnu-emacs@gnu.org; Fri, 02 Jun 2017 17:48:01 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dGuQC-000643-L3 for help-gnu-emacs@gnu.org; Fri, 02 Jun 2017 23:47:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 43 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:Kc4fAUPQWBnHz1R4iHO+4vdtnDg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113328 Archived-At: Yuri Khan writes: >> He is marking them with keys * s which is >> `dired-mark-subdir-files'. x, or >> `dired-do-flagged-delete' doesn't work then (it >> does for d, `dired-flag-file-deletion', as you >> mention) but perhaps the OP was unaware of that >> method as well so why not. > > Does somebody remember the story of different marks? > > I mean, Dired has D for flagging for deletion, * for > marking for most other operations, and a command to > change one mark to another. Ibuffer has D for > killing and > for other operations. I don't remember because I never knew, but there can be tons of application. For example, one target file and one source; then hit a key to invoke source on target (e.g., move a file into a dir or feed indata from a text file as argument to an executable). In this case, I suspect it is to separate deletion from everything else, as a convenience/security mechanism. Which makes sense! > Most other file managers have just one kind of mark > and it works the same way for copying, moving, > and deleting. One counterexample is Gnus, tho not a generic file manager, in practice is/could be just that with respect to mail/articles/posts, which are/can be stored as individual files (depending on backend). In Gnus, there are tons of markings, even parallel systems: e.g., one that tells the message have been opened (or "read"), R, and one that tells it has been answered, a. -- underground experts united http://user.it.uu.se/~embe8573