[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55847: 29.0.50; line-number-at-pos ignores absolute parameter when c
From: |
Lars Ingebrigtsen |
Subject: |
bug#55847: 29.0.50; line-number-at-pos ignores absolute parameter when checking position range |
Date: |
Thu, 09 Jun 2022 14:43:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Antoine Kalmbach <ane@iki.fi> 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