From unknown Thu Jun 19 14:24:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22894: 25.1.50; dired-mark: Not remark a marked file Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Mar 2016 10:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22894 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 22894@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.145699960029675 (code B ref -1); Thu, 03 Mar 2016 10:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Mar 2016 10:06:40 +0000 Received: from localhost ([127.0.0.1]:58607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abQ9Y-0007iZ-9F for submit@debbugs.gnu.org; Thu, 03 Mar 2016 05:06:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34359) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abQ9W-0007iN-VD for submit@debbugs.gnu.org; Thu, 03 Mar 2016 05:06:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abQ9Q-0003ad-Rg for submit@debbugs.gnu.org; Thu, 03 Mar 2016 05:06:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abQ9Q-0003aZ-O6 for submit@debbugs.gnu.org; Thu, 03 Mar 2016 05:06:32 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abQ9P-0001bi-J9 for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 05:06:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abQ9L-0003a6-92 for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 05:06:31 -0500 Received: from calancha-ilc.kek.jp ([130.87.234.234]:55106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abQ9K-0003Zv-Mc for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 05:06:27 -0500 Received: by calancha-ilc.kek.jp (Postfix, from userid 500) id 6AF0195DC; Thu, 3 Mar 2016 19:09:40 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by calancha-ilc.kek.jp (Postfix) with ESMTP id 06F1E865 for ; Thu, 3 Mar 2016 19:09:40 +0900 (JST) Date: Thu, 3 Mar 2016 19:09:39 +0900 (JST) From: Tino Calancha X-X-Sender: calancha@calancha-ilc.kek.jp Message-ID: User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="1468197610-828568964-1456999780=:27140" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --1468197610-828568964-1456999780=:27140 Content-Type: text/plain; format=flowed; charset=US-ASCII * lisp/dired.el (dired-mark-files-in-region,dired-mark): A marked file can be remarked just: 1) To mark for deletion. 2) To unmark it, that is, the mark changes to `?\\s'. 3) If its marked for deletion, a different mark can be assigned. The purpose of this changes is to prevent changing accidentally the mark of a file. Current code allow to change marks on files very easily. Marking many files using several markers may need some time, with some regexp gimnastics. Its a pity if someone accidentaly change one of the marks. For instance, using `dired-mark-files-in-region', the last/first file in the region could be included unintentionally changing the mark of one file. I'm not sure if allow 1) or to ban it. I'm not sure if someone find this thread useful either :-) In GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.29) of 2016-03-03 built on calancha-pc Repository revision: 887f6126c5ce9084f93083765ac026ca6b28175c --1468197610-828568964-1456999780=:27140 Content-Type: text/plain; charset=US-ASCII; name=dired_no_remark.patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=dired_no_remark.patch ZGlmZiAtLWdpdCBhL2xpc3AvZGlyZWQuZWwgYi9saXNwL2RpcmVkLmVsDQpp bmRleCA2Yzc0NDVjLi4wNTdlNTMzIDEwMDY0NA0KLS0tIGEvbGlzcC9kaXJl ZC5lbA0KKysrIGIvbGlzcC9kaXJlZC5lbA0KQEAgLTMyMTUsMjAgKzMyMTUs MjkgQEAgZGlyZWQtZmlsZS1tYXJrZXINCiAJICAgICAgIChmb2xsb3dpbmct Y2hhcikpKSkpKQ0KIA0KIChkZWZ1biBkaXJlZC1tYXJrLWZpbGVzLWluLXJl Z2lvbiAoc3RhcnQgZW5kKQ0KKyAgIk1hcmsgYWxsIGZpbGVzIGluc2lkZSB0 aGUgcmVnaW9uIGluIHRoZSBEaXJlZCBidWZmZXIuDQorVGhlIG1hcmsgTUFS SyBvZiBhIGZpbGUgYWxyZWFkeSBtYXJrZWQgb25seSBjaGFuZ2VzIGlmOg0K KzEpIE1BUksgZXF1YWxzIHRvIGBkaXJlZC1kZWwtbWFya2VyJy4NCisyKSBg ZGlyZWQtbWFya2VkLWNoYXInIGVxdWFscyB0byBgP1xccycgb3IgYGRpcmVk LWRlbC1tYXJrZXInLiINCisNCiAgIChsZXQgKChpbmhpYml0LXJlYWQtb25s eSB0KSkNCiAgICAgKGlmICg+IHN0YXJ0IGVuZCkNCi0JKGVycm9yICJzdGFy dCA+IGVuZCIpKQ0KLSAgICAoZ290by1jaGFyIHN0YXJ0KQkJCTsgYXNzdW1l ZCBhdCBiZWdpbm5pbmcgb2YgbGluZQ0KKyAgICAoZXJyb3IgInN0YXJ0ID4g ZW5kIikpDQorICAgIChnb3RvLWNoYXIgc3RhcnQpICAgICAgICAgICA7IGFz c3VtZWQgYXQgYmVnaW5uaW5nIG9mIGxpbmUNCiAgICAgKHdoaWxlICg8IChw b2ludCkgZW5kKQ0KICAgICAgIDs7IFNraXAgc3ViZGlyIGxpbmUgYW5kIGZv bGxvd2luZyBnYXJiYWdlIGxpa2UgdGhlIGB0b3RhbCcgbGluZToNCiAgICAg ICAod2hpbGUgKGFuZCAoPCAocG9pbnQpIGVuZCkgKGRpcmVkLWJldHdlZW4t ZmlsZXMpKQ0KLQkoZm9yd2FyZC1saW5lIDEpKQ0KLSAgICAgIChpZiAoYW5k IChub3QgKGxvb2tpbmctYXQtcCBkaXJlZC1yZS1kb3QpKQ0KLQkgICAgICAg KGRpcmVkLWdldC1maWxlbmFtZSBuaWwgdCkpDQotCSAgKHByb2duDQotCSAg ICAoZGVsZXRlLWNoYXIgMSkNCi0JICAgIChpbnNlcnQgZGlyZWQtbWFya2Vy LWNoYXIpKSkNCi0gICAgICAoZm9yd2FyZC1saW5lIDEpKSkpDQorICAgIChm b3J3YXJkLWxpbmUgMSkpDQorICAgICAgKHdoZW4gKGFuZCAobm90IChsb29r aW5nLWF0LXAgZGlyZWQtcmUtZG90KSkNCisgICAgICAgICAgICAgICAgIChv ciAobG9va2luZy1hdC1wICJeICIpDQorICAgICAgICAgICAgICAgICAgICAg KGxvb2tpbmctYXQtcCAoY29uY2F0ICJeIiAocmVnZXhwLXF1b3RlIChjaGFy LXRvLXN0cmluZyBkaXJlZC1kZWwtbWFya2VyKSkpKQ0KKyAgICAgICAgICAg ICAgICAgICAgIChlcSBkaXJlZC1tYXJrZXItY2hhciA/XHMpDQorICAgICAg ICAgICAgICAgICAgICAgKGVxIGRpcmVkLW1hcmtlci1j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bmctYXQtcCAoY29uY2F0ICJeIiAocmVnZXhwLXF1b3RlIChjaGFy LXRvLXN0cmluZyBkaXJlZC1kZWwtbWFya2VyKSkpKQ0KKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgKGVxIGRpcmVkLW1hcmtlci1j aGFyID9ccykNCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIChlcSBkaXJlZC1tYXJrZXItY2hhciBkaXJlZC1kZWwtbWFya2VyKSkN CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoZGVsZXRlLWNoYXIg MSkgKGluc2VydCBkaXJlZC1tYXJrZXItY2hhcikpKSkpKSkpKQ0KIA0KIChk ZWZ1biBkaXJlZC11bm1hcmsgKGFyZyAmb3B0aW9uYWwgaW50ZXJhY3RpdmUp DQogICAiVW5tYXJrIHRoZSBmaWxlIGF0IHBvaW50IGluIHRoZSBEaXJlZCBi dWZmZXIuDQo= --1468197610-828568964-1456999780=:27140-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 03 06:13:41 2016 Received: (at control) by debbugs.gnu.org; 3 Mar 2016 11:13:41 +0000 Received: from localhost ([127.0.0.1]:58639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abRCP-0000ql-9p for submit@debbugs.gnu.org; Thu, 03 Mar 2016 06:13:41 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:48421) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abRCN-0000qd-Lf for control@debbugs.gnu.org; Thu, 03 Mar 2016 06:13:39 -0500 Received: from host86-187-68-58.range86-187.btcentralplus.com ([86.187.68.58] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1abRBt-0001JP-3P for control@debbugs.gnu.org; Thu, 03 Mar 2016 12:13:09 +0100 Date: Thu, 03 Mar 2016 11:13:07 +0000 Message-Id: <87mvqfhl18.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #22894 X-MailScanner-ID: 1abRBt-0001JP-3P X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1457608389.35574@65t+/rEja+VOuQeFwOgqFA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tags 22894 patch From unknown Thu Jun 19 14:24:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22894: 25.1.50; dired-mark: Not remark a marked file Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Mar 2016 15:35:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22894 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Tino Calancha Cc: 22894@debbugs.gnu.org Received: via spool by 22894-submit@debbugs.gnu.org id=B22894.1457105649664 (code B ref 22894); Fri, 04 Mar 2016 15:35:05 +0000 Received: (at 22894) by debbugs.gnu.org; 4 Mar 2016 15:34:09 +0000 Received: from localhost ([127.0.0.1]:33664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abrk1-0000Ae-FQ for submit@debbugs.gnu.org; Fri, 04 Mar 2016 10:34:09 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:47247) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abrjz-0000AV-Oj for 22894@debbugs.gnu.org; Fri, 04 Mar 2016 10:34:08 -0500 Received: from 2.150.35.31.tmi.telenormobil.no ([2.150.35.31] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1abrjH-0004PL-3S; Fri, 04 Mar 2016 16:33:23 +0100 From: Lars Ingebrigtsen In-Reply-To: (Tino Calancha's message of "Thu, 3 Mar 2016 19:09:39 +0900 (JST)") Date: Fri, 04 Mar 2016 12:31:21 +0000 Message-ID: <87r3fql90m.fsf@gnus.org> References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1abrjH-0004PL-3S X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1457710403.43388@pfWz2qmUOG1ZA+oP9DsrnA X-Spam-Status: No X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Tino Calancha writes: > Marking many files using several markers may need some time, with > some regexp gimnastics. Its a pity if someone accidentaly change > one of the marks. For instance, using `dired-mark-files-in-region', > the last/first file in the region could be included unintentionally > changing the mark of one file. > > I'm not sure if allow 1) or to ban it. > I'm not sure if someone find this thread useful either :-) [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.91.224.195 listed in list.dnswl.org] 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Tino Calancha writes: > Marking many files using several markers may need some time, with > some regexp gimnastics. Its a pity if someone accidentaly change > one of the marks. For instance, using `dired-mark-files-in-region', > the last/first file in the region could be included unintentionally > changing the mark of one file. > > I'm not sure if allow 1) or to ban it. > I'm not sure if someone find this thread useful either :-) [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.91.224.195 listed in list.dnswl.org] 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date Tino Calancha writes: > Marking many files using several markers may need some time, with > some regexp gimnastics. Its a pity if someone accidentaly change > one of the marks. For instance, using `dired-mark-files-in-region', > the last/first file in the region could be included unintentionally > changing the mark of one file. > > I'm not sure if allow 1) or to ban it. > I'm not sure if someone find this thread useful either :-) You're right. :-) I think if the user tries to change the marks in a region, then the marks in the region should be changed. So I'm not sure I understand the use case at all... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Thu Jun 19 14:24:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22894: 25.1.50; dired-mark: Not remark a marked file Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Mar 2016 13:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22894 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 22894@debbugs.gnu.org Received: via spool by 22894-submit@debbugs.gnu.org id=B22894.14571850918686 (code B ref 22894); Sat, 05 Mar 2016 13:39:01 +0000 Received: (at 22894) by debbugs.gnu.org; 5 Mar 2016 13:38:11 +0000 Received: from localhost ([127.0.0.1]:34363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acCPL-0002G2-FM for submit@debbugs.gnu.org; Sat, 05 Mar 2016 08:38:11 -0500 Received: from calancha-ilc.kek.jp ([130.87.234.234]:57599) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acCPJ-0002Fk-Fs for 22894@debbugs.gnu.org; Sat, 05 Mar 2016 08:38:10 -0500 Received: by calancha-ilc.kek.jp (Postfix, from userid 500) id 92794DA83; Sat, 5 Mar 2016 22:41:18 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by calancha-ilc.kek.jp (Postfix) with ESMTP id 784EE54C0 for <22894@debbugs.gnu.org>; Sat, 5 Mar 2016 22:41:18 +0900 (JST) Date: Sat, 5 Mar 2016 22:41:18 +0900 (JST) From: Tino Calancha X-X-Sender: calancha@calancha-ilc.kek.jp In-Reply-To: <87r3fql90m.fsf@gnus.org> Message-ID: References: <87r3fql90m.fsf@gnus.org> User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > You're right. :-) I think if the user tries to change the marks in a > region, then the marks in the region should be changed. So I'm not sure > I understand the use case at all... User can change the marks with: 1) `dired-change-marks': this is, IMO, the recommended way: you control what you want to change, let's say, the mark 'F' into the mark 'G'. 2) Calling `dired-mark-files-regexp': the patch does't prevent this function changing mark 'F' into `dired-marker-char'. 3) Calling `dired-flag-file-deletion', that is, changing from mark 'F' to 'D' (that is what i called before 1) in previous comunication). 4) In two steps: unmarking the file, and after that marking it. What i am trying to prevent is related with `dired-mark' and `dired-mark-files-in-region'. The former is bound to 'm'. I can imagine someone, keeping push the 'm' button to mark a bunch of files, and releasing such button one fraction of seocnd late, so one marked file with 'F' get remarked by `dired-marker-char'. Similar thing could happen if using the second function setting the region not very carefully (pick uping one additional file up/down in the region). The patch just prevent in this two function, one marked file be remarked. Those files still not marked are marked. I am against to restrict users, and i understand this thread is controversial, but i use a lot these features and i believe it could prevent people (including me) doing unintentional changes. From unknown Thu Jun 19 14:24:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22894: 25.1.50; dired-mark: Not remark a marked file Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Mar 2016 14:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22894 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 22894@debbugs.gnu.org Received: via spool by 22894-submit@debbugs.gnu.org id=B22894.145718660810961 (code B ref 22894); Sat, 05 Mar 2016 14:04:02 +0000 Received: (at 22894) by debbugs.gnu.org; 5 Mar 2016 14:03:28 +0000 Received: from localhost ([127.0.0.1]:34371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acCnn-0002qj-Pd for submit@debbugs.gnu.org; Sat, 05 Mar 2016 09:03:27 -0500 Received: from calancha-ilc.kek.jp ([130.87.234.234]:57605) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acCnl-0002qS-M8 for 22894@debbugs.gnu.org; Sat, 05 Mar 2016 09:03:26 -0500 Received: by calancha-ilc.kek.jp (Postfix, from userid 500) id 5A435DA83; Sat, 5 Mar 2016 23:06:32 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by calancha-ilc.kek.jp (Postfix) with ESMTP id E9EBE642E for <22894@debbugs.gnu.org>; Sat, 5 Mar 2016 23:06:32 +0900 (JST) Date: Sat, 5 Mar 2016 23:06:32 +0900 (JST) From: Tino Calancha X-X-Sender: calancha@calancha-ilc.kek.jp In-Reply-To: <87r3fql90m.fsf@gnus.org> Message-ID: References: <87r3fql90m.fsf@gnus.org> User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) >i believe it could prevent people (including me) doing unintentional >changes. I miss a point: certainly we could use 'dired-undo' so i lost my main argument. I still don't like `dired-mark' remarking but now becames a matter of taste, so i agree to keep the things as they are. From unknown Thu Jun 19 14:24:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22894: 25.1.50; dired-mark: Not remark a marked file Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Mar 2016 19:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22894 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Tino Calancha , 22894@debbugs.gnu.org Received: via spool by 22894-submit@debbugs.gnu.org id=B22894.145720435813565 (code B ref 22894); Sat, 05 Mar 2016 19:00:01 +0000 Received: (at 22894) by debbugs.gnu.org; 5 Mar 2016 18:59:18 +0000 Received: from localhost ([127.0.0.1]:35792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acHQ6-0003Wj-F2 for submit@debbugs.gnu.org; Sat, 05 Mar 2016 13:59:18 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:20607) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acHQ4-0003WV-C9 for 22894@debbugs.gnu.org; Sat, 05 Mar 2016 13:59:16 -0500 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u25Ix8E3000443 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 5 Mar 2016 18:59:09 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u25Ix8t6027858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 5 Mar 2016 18:59:08 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u25Ix7AX014192; Sat, 5 Mar 2016 18:59:08 GMT MIME-Version: 1.0 Message-ID: Date: Sat, 5 Mar 2016 10:59:06 -0800 (PST) From: Drew Adams References: <87r3fql90m.fsf@gnus.org> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0021.oracle.com [156.151.31.71] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Tino, > What i am trying to prevent is related with `dired-mark' and > `dired-mark-files-in-region'. The former is bound to 'm'. I can > imagine someone, keeping push the 'm' button to mark a bunch of files, > and releasing such button one fraction of seocnd late, so one marked > file with 'F' get remarked by `dired-marker-char'. > Similar thing could happen if using the second function setting the > region not very carefully (pick uping one additional file up/down > in the region). >=20 > The patch just prevent in this two function, one marked file be > remarked. Those files still not marked are marked. Doesn't sound like a great idea, to me. At most it should be optional behavior: a user choice. Novice users, whom one could think might benefit most from this protection, will not benefit from it, because they are not likely to have changed marks. (In my experience, very few people are even aware of the ability to change marks, and this is true even of people who have been developing and maintaining Emacs.) > I am against to restrict users, and i understand this thread is > controversial, but i use a lot these features and i believe it > could prevent people (including me) doing unintentional changes. But also intentional changes. Users who know about and use the ability to change marks should be able to mark over changed marks with `*', including with `m' and using the region. You say that you have been using this feature for a while and appreciate it. That is the best argument for it, I guess. If this behavior is optional then it is OK, but I don't see a great use case for it. And you mention undo, which also argues against this. From unknown Thu Jun 19 14:24:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22894: 25.1.50; dired-mark: Not remark a marked file Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jul 2016 03:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22894 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Tino Calancha Cc: 22894@debbugs.gnu.org Received: via spool by 22894-submit@debbugs.gnu.org id=B22894.146734337519345 (code B ref 22894); Fri, 01 Jul 2016 03:23:02 +0000 Received: (at 22894) by debbugs.gnu.org; 1 Jul 2016 03:22:55 +0000 Received: from localhost ([127.0.0.1]:32982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIp2d-00051s-3H for submit@debbugs.gnu.org; Thu, 30 Jun 2016 23:22:55 -0400 Received: from mail-io0-f173.google.com ([209.85.223.173]:33926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIp2c-00051Z-2j; Thu, 30 Jun 2016 23:22:54 -0400 Received: by mail-io0-f173.google.com with SMTP id g13so89244725ioj.1; Thu, 30 Jun 2016 20:22:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=WOVzyfthC5BLqbZ3rqGHsIHbkida4mkMLBPZaZUXNp0=; b=MO2Ez8ndULb6Jol2lWqyxZBo/7JNEt9Y2jigYhdF4jHIOWKn/R5B0PgSu5xab2ZrjM t/nTblhvtt3/SW5R7qFKKhPeJocfkEd/HiuFX0wKj1hiM5l+Nt0vZOTIo/Ft6hx6Nf+B NmxEsnvbHmXcpVtMGHGkTlfdwwHNQ2I34myU2vcYSpYSbRG8Pa0hAbImNtDVrXZVuUbn TyRt8GlDlm/Ezfv+SvEBy9jR8UtWEDxl9pQqk8q+yktgHnWcxSEq4oSq91UlfQy1ocVe KHjTUkKCC7BQSp5B8Z0qVW9DVp9F2v+i8OWumGBlSub5dmXhESS+ZLnlfGZxe82ROeSI p28Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=WOVzyfthC5BLqbZ3rqGHsIHbkida4mkMLBPZaZUXNp0=; b=EeQpkJh6qgulbCc8a+nclujrnp13Usa8PHr9SDSWvVcKU84fkml8rRFRyVv323BFVV C9N4lVl0vqJQ8RfSCqwzm47yVMLOpg7ZT4FHjWNrwD2MxczHWkhKMiC1F9DNCwci3kmP hTZP/Hh0JtER+N2yM+Fp0u7u9dTl4xxu7OSsadMVJGWSKYb6ePYO0oEXSFAjmTpbEU6Z yQtQcA9OXzQFyJrAdmgjw/YLfnzrjCueo94NuXRMcF3Vi32qgyAmThf6f1KJjF01cl+o PEKfKklWfCijMNoTuACwvFJAD2mrIyDneCJPIPxHSKzoj8yXR7GnVitfJUx/H/It0hbP b4pQ== X-Gm-Message-State: ALyK8tKz8KvyAVxfkb3C2J716IbTwTLsKcOBKJXQgi972mJv3PZ3s1AqACWJr2JFDlN3gw== X-Received: by 10.107.3.104 with SMTP id 101mr17952298iod.40.1467343368506; Thu, 30 Jun 2016 20:22:48 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id l131sm2441873iol.13.2016.06.30.20.22.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jun 2016 20:22:48 -0700 (PDT) From: npostavs@users.sourceforge.net References: <87r3fql90m.fsf@gnus.org> Date: Thu, 30 Jun 2016 23:22:54 -0400 In-Reply-To: (Tino Calancha's message of "Sat, 5 Mar 2016 23:06:32 +0900 (JST)") Message-ID: <877fd6hwj5.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 22894 wontfix close 22894 quit Tino Calancha writes: >> i believe it could prevent people (including me) doing unintentional >> changes. > I miss a point: certainly we could use 'dired-undo' so i lost my main > argument. > I still don't like `dired-mark' remarking but now becames a matter of > taste, so i agree to keep the things as they are. Hence closing.