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: Mon, 20 Sep 2021 17:04:35 +0800

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 ;)

> 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



reply via email to

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