[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch proposal: display symbol source code in help buffers
From: |
Arthur Miller |
Subject: |
Re: Patch proposal: display symbol source code in help buffers |
Date: |
Tue, 21 Sep 2021 01:45:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Ihor Radchenko <yantar92@gmail.com> writes:
> Stefan Kangas <stefankangas@gmail.com> writes:
>
>>> Opening help buffer for B is easy - <F1> f <RET> with point at the B's
>>> call. However, without source code being shown in the help buffer, if I
>>> try to hit s, the narrowing is removed and the point is moved to a
>>> function definition. Not convenient.
>>
>> I'm not arguing against the new feature here, but is the above a bug?
>
> My comment was to resolve your puzzled state about usefulness of the new
> feature ;)
Yes. Thank you very much :). I realized that later. It seems like I was reading
thread upside-down. Just me being goofy after nights of baby feeding and 3 hours
cycle living.
>> It seems to me that `help-view-source' should respect the users
>> narrowing, for example by querying to open a new indirect buffer or
>> something in that case.
>
> That would make sense. Yet, even without narrowing, I personally do not
> like that the point moves from the defun I am working on to other
> function definition.
>
> Also, a subtle difference between showing the source code in help buffer
> and jumping to the defun is how much text is shown. In the help buffer,
> source code is effectively "narrowed" to defun - no surrounding code is
> shown.
>
> Best,
> Ihor
- Patch proposal: display symbol source code in help buffers, Arthur Miller, 2021/09/19
- Re: Patch proposal: display symbol source code in help buffers, Lars Ingebrigtsen, 2021/09/20
- Re: Patch proposal: display symbol source code in help buffers, Stefan Kangas, 2021/09/20
- Re: Patch proposal: display symbol source code in help buffers, Lars Ingebrigtsen, 2021/09/20
- Re: Patch proposal: display symbol source code in help buffers, Ihor Radchenko, 2021/09/20
- Re: Patch proposal: display symbol source code in help buffers, Stefan Kangas, 2021/09/20
- Re: Patch proposal: display symbol source code in help buffers, martin rudalics, 2021/09/20
- Re: Patch proposal: display symbol source code in help buffers, Ihor Radchenko, 2021/09/20
- Re: Patch proposal: display symbol source code in help buffers,
Arthur Miller <=
- Re: Patch proposal: display symbol source code in help buffers, Lars Ingebrigtsen, 2021/09/21
- Re: Patch proposal: display symbol source code in help buffers, Ihor Radchenko, 2021/09/21
- Re: Patch proposal: display symbol source code in help buffers, Stefan Kangas, 2021/09/21
- Re: Patch proposal: display symbol source code in help buffers, Eli Zaretskii, 2021/09/21
- Re: Patch proposal: display symbol source code in help buffers, Ihor Radchenko, 2021/09/21
- Re: Patch proposal: display symbol source code in help buffers, Lars Ingebrigtsen, 2021/09/21
- Re: Patch proposal: display symbol source code in help buffers, martin rudalics, 2021/09/21
- Re: Patch proposal: display symbol source code in help buffers, Arthur Miller, 2021/09/20
- Re: Patch proposal: display symbol source code in help buffers, Stefan Kangas, 2021/09/21
- Re: Patch proposal: display symbol source code in help buffers, Arthur Miller, 2021/09/20