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: Sat, 20 Aug 2022 11:22:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Po Lu <luangruo@yahoo.com> writes:

> That isn't a very good name.  point-bol screams "point what?", where
> "what" could either be "at", "after", or "before".

Does `point-min' scream the same thing?

> How about "pos-at-bol" or "bol-from-point" (which would also accept an
> optional arg POINT, telling the function where to search from?)

I don't think that would be very useful in general -- if you look at how
these functions are used, you're usually traversing a buffer, and then
you find something, and then you want to do something with what you
find.



reply via email to

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