Subject: Re: bug#55847: 29.0.50; line-number-at-pos ignores absolute parameter when checking position range

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 09 Jun 2022 14:43:02 +0200

Antoine Kalmbach <[email-masked]> writes:

> Right, so as long as pos is within the narrowed region, but the line
> number is counted from the absolute beginning of the buffer.  Well,
> I would understand "disregarding narrowing" as doing an implicit
> (save-restriction (widen) ...) anyway. 

It's slightly ambiguous.

I've now changed the function to work in Emacs 29 as in earlier versions.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no