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 17:24:16 -0700 (PDT)

> (progn (goto-char end) (line-beginning-position))
> should NOT be replaced with
> (progn (goto-char end) (line-end-position))

I see.  Yes.  We can decide how to handle that
corner case.  If the region end is bolp then
`1-' it.  That's one possibility.

(progn (goto-char end)
         (when (bolp) (backward-char))
         (line-end-position))

This feature/problem is not a big deal, IMO.
I think what Michael is asking for is pretty
straightforward, as is the code needed.





reply via email to

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