emacs-devel
[Top][All Lists]
Advanced

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

Re: Patch proposal: display symbol source code in help buffers


From: Ihor Radchenko
Subject: Re: Patch proposal: display symbol source code in help buffers
Date: Fri, 01 Oct 2021 22:14:27 +0800

Eli Zaretskii <eliz@gnu.org> writes:

>> > And why do you use 1 instead of point-min?
>> 
>> Mostly because I prefer to state it explicitly to not confuse BOB with
>> beginning of a narrow.  Is there any scenario when BOB is not at 1?
>
> When the buffer is narrowed, of course.  Suppose some Help function
> decides for some reason to narrow the buffer: then 1 won't work
> anymore the way you intended.

I understand. But then (point-min) will not be the actual beginning of
(bare) buffer.  That's why I used 1 explicitly to not confuse beginning
of norrowed part of the buffer with the actual beginning of the buffer.

Best,
Ihor



reply via email to

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