[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master f117b5df4d: Add new functions eol and bol
From: |
Po Lu |
Subject: |
Re: master f117b5df4d: Add new functions eol and bol |
Date: |
Sat, 20 Aug 2022 21:26:59 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Po Lu <luangruo@yahoo.com> writes:
>
>>> 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.
>>
>> Fair, though I meant the optional arg POINT specifically for
>> "bol-from-point", mainly to solve the naming problem.
>
> Sure, OK, but there's already an N optional here (which is used
> surprisingly much), so that'd mean `(bol-from-point nil 2)' (etc) a
> lot...
How about adding POINT after N? So it would be:
(bol-from-point 2)
or
(bol-from-point 2 point)
but then I guess the name should be "bol-at-n-from-point" instead, which
is a bit unwieldy...
- Re: master f117b5df4d: Add new functions eol and bol, (continued)
- Re: master f117b5df4d: Add new functions eol and bol, Stefan Kangas, 2022/08/22
- Re: master f117b5df4d: Add new functions eol and bol, Po Lu, 2022/08/22
- Re: master f117b5df4d: Add new functions eol and bol, Stefan Monnier, 2022/08/23
- Re: master f117b5df4d: Add new functions eol and bol, Richard Stallman, 2022/08/23
- Re: master f117b5df4d: Add new functions eol and bol, Po Lu, 2022/08/24
- Re: master f117b5df4d: Add new functions eol and bol, Stefan Monnier, 2022/08/24
Re: master f117b5df4d: Add new functions eol and bol, Po Lu, 2022/08/20
Re: master f117b5df4d: Add new functions eol and bol, Dmitry Gutov, 2022/08/19
- Re: master f117b5df4d: Add new functions eol and bol, Lars Ingebrigtsen, 2022/08/20
- Re: master f117b5df4d: Add new functions eol and bol, Gregory Heytings, 2022/08/20
- Re: master f117b5df4d: Add new functions eol and bol, Stefan Monnier, 2022/08/20
- Re: master f117b5df4d: Add new functions eol and bol, Stefan Kangas, 2022/08/20
- Re: master f117b5df4d: Add new functions eol and bol, Lars Ingebrigtsen, 2022/08/21
Re: master f117b5df4d: Add new functions eol and bol, Dmitry Gutov, 2022/08/20
RE: [External] : Re: master f117b5df4d: Add new functions eol and bol, Drew Adams, 2022/08/20