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: Robert Pluim
Subject: Re: master f117b5df4d: Add new functions eol and bol
Date: Fri, 19 Aug 2022 16:14:00 +0200

>>>>> On Fri, 19 Aug 2022 17:04:04 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Stefan Kangas <stefankangas@gmail.com>
    >> Date: Fri, 19 Aug 2022 06:55:27 -0700
    >> 
    >> Lars Ingebrigtsen <larsi@gnus.org> writes:
    >> 
    >> > Bikeshed welcome about the names, though.  I considered `point-bol', 
for
    >> > instance, but that's very similar to `point-at-bol' (which is an alias
    >> > for `line-beginning-position').
    >> 
    >> How about `point-bol' (while making `point-at-bol' obsolete to avoid
    >> confusion)?

    Eli> How about position-at-bol or pos-at-bol?

    Eli> (IMO, it's confusing to talk about "point at SOMEWHERE" because that's
    Eli> not how we use the term "point", except in the context of describing
    Eli> point's position.)

I agree. "point" is "here", itʼs not at eol/bol unless itʼs moved
there.

Weʼre talking about the characteristics of whatʼs at the beginning/end
of the line, which suggests `position-of-bol' and `position-of-eol'
(or even `pos-of-bol').


Robert
-- 



reply via email to

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