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: Stefan Kangas
Subject: Re: Patch proposal: display symbol source code in help buffers
Date: Mon, 20 Sep 2021 00:43:00 -0700

Ihor Radchenko <yantar92@gmail.com> writes:

> Consider scenario when you are editing some-file.el and narrowed the
> buffer to a defun A. Then, you need to examine source code of another
> function B also defined in some-file.el.
>
> 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?

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.



reply via email to

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