From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#24518: 25.2.50; dired-mark-extension with prefix arg fails Date: Sat, 24 Sep 2016 21:30:11 +0900 (JST) Message-ID: References: <837fa1cy6l.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1474720287 21855 195.159.176.226 (24 Sep 2016 12:31:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Sep 2016 12:31:27 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Tino Calancha , 24518@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 24 14:31:23 2016 Return-path: Envelope-to: geb-bug-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 1bnm6s-000433-5w for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Sep 2016 14:31:14 +0200 Original-Received: from localhost ([::1]:32901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnm6q-0000UN-8G for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Sep 2016 08:31:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnm6j-0000Ti-TT for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 08:31:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnm6g-00017E-Qq for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 08:31:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnm6g-000175-NL for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 08:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bnm6g-0005uC-DS for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 08:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Sep 2016 12:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24518 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 24518-submit@debbugs.gnu.org id=B24518.147472022322650 (code B ref 24518); Sat, 24 Sep 2016 12:31:02 +0000 Original-Received: (at 24518) by debbugs.gnu.org; 24 Sep 2016 12:30:23 +0000 Original-Received: from localhost ([127.0.0.1]:33976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnm63-0005tF-7I for submit@debbugs.gnu.org; Sat, 24 Sep 2016 08:30:23 -0400 Original-Received: from mail-pa0-f46.google.com ([209.85.220.46]:33265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnm61-0005t3-IE for 24518@debbugs.gnu.org; Sat, 24 Sep 2016 08:30:21 -0400 Original-Received: by mail-pa0-f46.google.com with SMTP id hm5so48397061pac.0 for <24518@debbugs.gnu.org>; Sat, 24 Sep 2016 05:30:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=mL7UCtyaX0S38gdsU2lxOxtgts22fPoiBCqMPueSuas=; b=IZM+zM/eaBpdSMhBOII7v/mZZOUFjUHTJ1epOhJEJQJC4R/hISV27lW9IIHgh8tzOE +k1mg5IXpWQuQfRmz4btJ7A5js2C2Vv9Sx7tF4xVnnOn+qVFz6pKgzHNIC9M9qBDu3tr s1FpB/tjEaYx0YLMYwVTWpN/yXDuit9eKNFEhYy0TFRnXHdwXW42Pp8btglOALgo6Cur XVlGuQ1/l/XOsvAjqyLEgmNYVPHSVRf0N1kPGCzBhsZVAN0B9kqvkh1Q8f4qqfpAaSk6 R/CrZxHP9nEGfPHtl9OXSTz2CyRSXvbyw57MZdmTKbSQsFM2zgvsRI/XXQCbCtkhdBd/ yV2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=mL7UCtyaX0S38gdsU2lxOxtgts22fPoiBCqMPueSuas=; b=RJb40NMwDy0PwL0iD0OqwTw2ovTY113M13Pvnm9it54CyC/Asx2zy2+/j+fu3/9UtG Ae3fxmIFOcPpS+kt2J+aknPRl1zbyC3jxUk+lc5sn9yR/u5jhXGUQTFzgc/DFMpp0zl2 WoJudmCDEGJJi9Q11wE3tZCjnSZGZphUOWMiOH/kRIaj5/KGbSltnvBYZHYed88ms2cF kcGFFg8IkKYp9mOmpEq38M3wqgW5jitr5Mo7DJJlGvhPWcrq9e88rmCCrAb3wVMnwAJg bKbtBvJ+Qo9TutqCrvURtfqSPCW5IeEvCff3tGG1wgeaRJunnVRy5JkBQyi6hu6hm2DF gzTg== X-Gm-Message-State: AE9vXwM2ugtKpb6JdZUYTMrEcActsrHC09FIA4ukO7w0OfNby6pZ44tPsRioq/dR0Klbrg== X-Received: by 10.66.251.131 with SMTP id zk3mr21465263pac.176.1474720215826; Sat, 24 Sep 2016 05:30:15 -0700 (PDT) Original-Received: from calancha-pc (57.92.100.220.dy.bbexcite.jp. [220.100.92.57]) by smtp.gmail.com with ESMTPSA id n77sm18437494pfj.31.2016.09.24.05.30.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Sep 2016 05:30:15 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <837fa1cy6l.fsf@gnu.org> 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: 208.118.235.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:123630 Archived-At: On Sat, 24 Sep 2016, Eli Zaretskii wrote: > This loses the feature whereby the user could also specify the > character to use as the marker. Try "C-u 65 * . el RET" to see what > that does. That feature has never being available since `dired-x' was added to Emacs in 1994: the bug came from the very first commit. No user will miss that feature because nobody ever could use it. > While using the numeric code of a character sounds like a kludge, the > current implementation seems to do that deliberately. It might make > sense to use 'c' instead of 'P' there, I think, but your patch totally > changes the semantics of the prefix argument, so I'm not sure I can > endorse such a change. Sure, we could use 'c' and fix it. We could provide such feature not working in >20 years without nobody oppening a bug report. That sounds like a not useful feature at all. People often mark and unmark, but much less people mark with other marks than ?*. If they really want that, they still can call the function non interactively, or use `dired-change-marks'. Prompting user for the mark character is annoying: 99% of the times i just want to be asked about the extension Believe me, using a prefix argument for unmark is very useful. IMO, my proposal makes a better command: *) Interactively, this command will handle its optional argument as `dired-mark-files-regexp': a prefix argument sets marker-char ?\s, i.e., unmark files. *) In non interactive calls, the meaning of marker-char is, again, as `dired-mark-files-regexp': the character to use for mark the files. For me this uniform behaviour between these two marking commands is a very nice thing.