From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg via help-gnu-emacs Newsgroups: gmane.emacs.help Subject: "How to change/set default height/size help window [...]" (was: Re: help-gnu-emacs Digest, Vol 198, Issue 87) Date: Mon, 27 May 2019 23:38:13 +0200 Message-ID: <86a7f7d1dm.fsf_-_@zoho.eu> References: Reply-To: Emanuel Berg Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="155785"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 27 23:38:39 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hVNKJ-000eNo-R9 for geh-help-gnu-emacs@m.gmane.org; Mon, 27 May 2019 23:38:39 +0200 Original-Received: from localhost ([127.0.0.1]:53181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVNKI-0001VU-Rc for geh-help-gnu-emacs@m.gmane.org; Mon, 27 May 2019 17:38:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVNK5-0001Uu-9K for help-gnu-emacs@gnu.org; Mon, 27 May 2019 17:38:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVNK2-0001Un-83 for help-gnu-emacs@gnu.org; Mon, 27 May 2019 17:38:25 -0400 Original-Received: from [195.159.176.226] (port=41998 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVNK2-0001RW-2E for help-gnu-emacs@gnu.org; Mon, 27 May 2019 17:38:22 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hVNJz-000e31-SW for help-gnu-emacs@gnu.org; Mon, 27 May 2019 23:38:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: never Cancel-Lock: sha1:nNyuWoG11i5inSkkbkfpK7ptFc8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120654 Archived-At: Budi wrote: > How to change/set default height/size help > window below mode line to other than default > which is half of full emacs window when the > help is invoked ? Use the source, Luke! This sounds like the thing you should examine: ;;; Automatic resizing of temporary buffers. (defcustom temp-buffer-max-height (lambda (buffer) (if (and (display-graphic-p) (eq (selected-window) (frame-root-window))) (/ (x-display-pixel-height) (frame-char-height) 2) (/ (- (frame-height) 2) 2))) "Maximum height of a window displaying a temporary buffer. This is effective only when Temp Buffer Resize mode is enabled. The value is the maximum height (in lines) which `resize-temp-buffer-window' will give to a window displaying a temporary buffer. It can also be a function to be called to choose the height for such a buffer. It gets one argument, the buffer, and should return a positive integer. At the time the function is called, the window to be resized is selected." :type '(choice integer function) :group 'help :version "24.3") From: line 1077 @ /usr/share/emacs/25.1/lisp/help.el.gz If you don't have the source on a Debian or Debian-like system, get it with the "emacs-el" package. ... Wait - *I* don't have that package installed! "State: not installed" Yet I have the source?! How did that happen? :O -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal