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: Sun, 25 Sep 2016 02:49:23 +0900 (JST) Message-ID: References: <837fa1cy6l.fsf@gnu.org> <8337kpcvdc.fsf@gnu.org> <874m554ey2.fsf@linux-m68k.org> <83y42hbe3g.fsf@gnu.org> <87oa3d2qho.fsf@linux-m68k.org> <83vaxlb5ge.fsf@gnu.org> <83r389b3j4.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 1474739430 21657 195.159.176.226 (24 Sep 2016 17:50:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Sep 2016 17:50:30 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Tino Calancha , schwab@linux-m68k.org, 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 19:50:21 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 1bnr5a-0003mv-VQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Sep 2016 19:50:15 +0200 Original-Received: from localhost ([::1]:34960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnr5Z-0001gX-CU for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Sep 2016 13:50:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnr5T-0001ec-Hr for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 13:50:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnr5O-0003G1-Ge for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 13:50:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnr5O-0003Fq-CY for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 13:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bnr5O-0006pQ-8d for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 13:50: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 17:50: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.147473937426213 (code B ref 24518); Sat, 24 Sep 2016 17:50:02 +0000 Original-Received: (at 24518) by debbugs.gnu.org; 24 Sep 2016 17:49:34 +0000 Original-Received: from localhost ([127.0.0.1]:34724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnr4w-0006oj-9P for submit@debbugs.gnu.org; Sat, 24 Sep 2016 13:49:34 -0400 Original-Received: from mail-pf0-f177.google.com ([209.85.192.177]:34083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnr4u-0006oV-KJ for 24518@debbugs.gnu.org; Sat, 24 Sep 2016 13:49:33 -0400 Original-Received: by mail-pf0-f177.google.com with SMTP id l25so3803210pfb.1 for <24518@debbugs.gnu.org>; Sat, 24 Sep 2016 10:49:32 -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=iAn3M4p3i7Cx31jtow8MdQg3tMVkJsToBeOvjYfrTfY=; b=FlNEgwxgHBLm+HSRjspAKkCcoI8+CKaq9jHBnj6PcGcgV3INQjr5rRvEb4xfN1uiX8 F0o1nPwZKbtIpgWdlaVafyIqzHtVy98v5l4o20TfsPuHR8j8KDC4EsbbQc57D9W3OEla 3UH7/MniddKfkfrPCAUMQcvU5qZfeP0fH4/TkVg1hsD7ThmGZIFokqdS7YAbTMsWTI1+ DKa3iRORj7IUNZUq4+x9dxNWARKhmOCf8C5/zzcVX6oT1/RfPE36SwVB72uO5UDgucAO 0qiDUWCeiRYOzbW5SrOrpwUZHdSH7oP0KsJoghZGADzy9P/eNYje5iC3pUrh4Gythn0n hJrg== 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=iAn3M4p3i7Cx31jtow8MdQg3tMVkJsToBeOvjYfrTfY=; b=Aef+EdTArOPxXjVawDaqMlQgHEdkyo+ui4d2pDam2nzM61VOLulvwi1+a1wZF6WAxm TwT0moYBQ3FJ6tbaaqgScjJ5a7FEwp+dvQA0H0k6ODterNvm2EG+utH2Yis5cPzjRBMI oQ3x8yVFh0j2Dj6vGr5H6+OWgdCWKfKfHJjN5+4k4aSdkWLqxjBsB+tC4rLpj0ERTCEP JL1bE4E4p4kcwIyG5vt/hio4E+GA8anlgk+56EKWwLw07uGnVrz18A1+bjW2PApRIZbQ 1UOjAn5QnPgmKkDXySFysQz1SqCcbHDb3/BltoIyMSwC8OHkpcXpFxOl1OeTbmyWh7vh HYmg== X-Gm-Message-State: AE9vXwMzceqUiM6yieuaoyYCfSFlQ/qaabweKErBZ2h6DqvME7Bc0DozdHgE7TnK8I2PAg== X-Received: by 10.98.207.130 with SMTP id b124mr23135421pfg.113.1474739366804; Sat, 24 Sep 2016 10:49:26 -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 m82sm19891435pfk.64.2016.09.24.10.49.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Sep 2016 10:49:26 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <83r389b3j4.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:123651 Archived-At: On Sat, 24 Sep 2016, Eli Zaretskii wrote: >> From: Tino Calancha >> Date: Sun, 25 Sep 2016 02:14:14 +0900 (JST) >> cc: Andreas Schwab , tino.calancha@gmail.com, >> 24518@debbugs.gnu.org >> >>> I believe my recent commit fixed all of the above >> Yeah, you fixed something, and we are exactly in the same point >> that before fixing such thing. We didn't get something better. > > We don't have this command signal an error anymore, do we? I think > that's a definite improvement. Yes, it is. But i doubt that in 22 years someone tried intentionally such behaviour: I guess you was the first in History when you proposed your example. Congratulations. > Besides, you yourself told me to fix the bug, so I did. Thank you very much. >> The point here is that a Dired user would expect/wish that the >> interactive call behaves differently. I do. >> Do you know how i noticed the bug? >> Because i assumed that a prefix argument will unmark as other >> Dired marks, and i got an error (!). > > But it isn't true that every Dired command that marks files will > unmark them if invoked with an argument. E.g., dired-mark doesn't. > So this doesn't look like a universal convention in Dired, only a > frequent feature. The reason why dired-mark do not follow that idiom is because we have a dedicated command dired-unmark. Indeed, you can see that it is very universal convention that if we don't have the dedicated-unmark-command for the task in hands, then the marking command _unmark_ with a prefix argument. > OTOH, since Dired allows the user to use different marker characters > in other places, IMO it is not very reasonable to exempt this > particular command. Especially since it did have a (semi-broken) way > of doing that. There better ways to mark with a different character in Dired than that. We should respect the 'prefix arg unmark' idiom. Regards