bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39902: 28.0.50; Marking in dired with active region


From: Drew Adams
Subject: bug#39902: 28.0.50; Marking in dired with active region
Date: Tue, 10 Mar 2020 09:33:59 -0700 (PDT)

Thanks for the details.  Sorry about not getting it.

> > `C-u 99999 m' starting where you left off?
> 
> I could do that.  I didn't use to use these keys because I just
> ... wanted to use the region.  Plus, maybe I don't want to continue with
> all of the remaining files but only a subset?

OK.  Confirming:

1. You could use `C-u <some number> m', and it would
   be about as easy (number of keystrokes).  You
   might have to guess <some number>, if you wanted
   only some of the remaining files.

2. The point is that, regardless of _why_ you might
   want to mark the files in the region, doing that
   should just work, where "work" means that any file
   with any part of its line in the active region
   gets marked.  (Likewise, for unmarking, flagging,
   changing marks, etc.)

   As you put it:

   > I expect marking in dired with region active to
   > always behave the same no matter why I do it.

As I think I've indicated, I agree 100%.  And I think
the fix is trivial, and it has already been given in
this thread (more than once).  The bug, found by
Stephen Berman, was presumably just a typo in the
first place:

(progn (goto-char end) (line-beginning-position))
should be
(progn (goto-char end) (line-end-position))

Hopefully someone will apply that fix.

> If you didn't understand now I'm willing to pay a
> flight to Germany so I can show you ;-)

In a short while, flights will be almost free, in
money terms - unfortunately for world health. ;-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]