emacs-devel
[Top][All Lists]
Advanced

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

Re: master f117b5df4d: Add new functions eol and bol


From: Lars Ingebrigtsen
Subject: Re: master f117b5df4d: Add new functions eol and bol
Date: Fri, 19 Aug 2022 16:08:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Kangas <stefankangas@gmail.com> writes:

> How about `point-bol' (while making `point-at-bol' obsolete to avoid
> confusion)?

That's a possibility.  But then somebody would have to take on the
dreary job of going through the >600 places where point-at-bol/eol is
used in the Emacs tree and decide whether to use `point-bol' or
`line-beginning-position'.

My guesstimate is that `point-bol' is the correct answer in more than
90% of the cases, so the upside to this plan is that Emacs would, in
general, end up faster afterwards.



reply via email to

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