all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg via help-gnu-emacs <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
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	[thread overview]
Message-ID: <86a7f7d1dm.fsf_-_@zoho.eu> (raw)
In-Reply-To: CAH0GyZCr+P4+PBsGjx+LL9nJAjnZP20J_Bp4D6gNHfL8jh9cnA@mail.gmail.com

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




  reply	other threads:[~2019-05-27 21:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.13.1558800003.32735.help-gnu-emacs@gnu.org>
2019-05-25 22:55 ` help-gnu-emacs Digest, Vol 198, Issue 87 Budi
2019-05-27 21:38   ` Emanuel Berg via help-gnu-emacs [this message]
2019-05-29  4:47   ` Xavier Maillard
2019-05-29  5:04     ` Emanuel Berg via help-gnu-emacs
2019-05-30 12:35       ` Jean Louis
2019-05-30 14:40         ` Emanuel Berg via help-gnu-emacs
2019-05-31  5:01       ` Xavier Maillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86a7f7d1dm.fsf_-_@zoho.eu \
    --to=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.