Subject: Re: bug#31240: 26.1; mouse-save-then-kill does not kill rectangles

From: martin rudalics <[email-masked]>
Date: Sun, 30 Sep 2018 19:50:06 +0200

Looking again at this part

+          (line (progn
+                  (forward-line 0)
+                  (count-lines (point-min) position))))

I now ask myself why you need to go to the beginning of the line at
all.  'count-lines' doesn't care about the actual position of point.
So you either have to do

                   (count-lines (point-min) (point))

or just do

	          (count-lines (point-min) position)

without going to the beginning of the line because POSITION and the
position at the beginning of its line should be on the same line.

 > This shouldn't be a problem, my copyright assignment was filed one or two months
 > ago, and since then I've contributed two patches which have already been merged.

Great.

martin