GNU bug report logs - #22894
25.1.50; dired-mark: Not remark a marked file

Previous Next

Package: emacs;

Reported by: Tino Calancha <f92capac <at> gmail.com>

Date: Thu, 3 Mar 2016 10:07:02 UTC

Severity: wishlist

Tags: patch, wontfix

Found in version 25.1.50

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #19 received at 22894 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Tino Calancha <f92capac <at> gmail.com>, 22894 <at> debbugs.gnu.org
Subject: RE: bug#22894: 25.1.50; dired-mark: Not remark a marked file
Date: Sat, 5 Mar 2016 10:59:06 -0800 (PST)
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).
> 
> 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.




This bug report was last modified 8 years and 326 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.