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: Arthur Miller
Subject: Re: Patch proposal: display symbol source code in help buffers
Date: Tue, 21 Sep 2021 21:13:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

>>>> If you fit the window showing *Help* to its buffer, there is no room
>>>> left.
>>>
>>> It would be nice to make it fit to N lines in height, and C columns in 
>>> width,
>>> i.e. to make it fit to certain size.
>>
>> Who would specify that "certain size"?
>
> In bug#45688 I proposed on displaying the Help buffer to call a hook
> like temp-buffer-window-setup-hook or temp-buffer-window-show-hook
> with the default value shrink-window-if-larger-than-buffer or
> fit-window-to-buffer.  Then users can customize it and remove
> resizing that will make it more useful for anyone who needs
> to reuse the Help window to visit source code.

That sounds like useful approach. Something like:

(defcustom help-buffer-default-height 25
  "The default height of a help-buffer window."
  :type 'fixnum
  :group 'help
  :version "28.1") <-- :-)



reply via email to

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