[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mct cc8a5c1 09/70: Mention temp-buffer-resize-mode in t
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mct cc8a5c1 09/70: Mention temp-buffer-resize-mode in the docs |
Date: |
Thu, 11 Nov 2021 03:57:41 -0500 (EST) |
branch: externals/mct
commit cc8a5c145836aeeb76faf3109560c3663c87871c
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Mention temp-buffer-resize-mode in the docs
---
README.org | 14 +++++++++++++-
mct.info | 33 +++++++++++++++++++++++----------
mct.texi | 14 +++++++++++++-
3 files changed, 49 insertions(+), 12 deletions(-)
diff --git a/README.org b/README.org
index f625554..d819fe5 100644
--- a/README.org
+++ b/README.org
@@ -324,7 +324,7 @@ And with more options:
(mct-mode 1)
#+end_src
-Other useful extras from the Emacs source code:
+Other useful extras from the Emacs source code (read their doc strings):
#+begin_src emacs-lisp
(setq enable-recursive-minibuffers t)
@@ -333,6 +333,18 @@ Other useful extras from the Emacs source code:
(file-name-shadow-mode 1)
(minibuffer-depth-indicate-mode 1)
(minibuffer-electric-default-mode 1)
+
+;;; Temporary window height
+
+;; Evaluate: (info "(emacs) Temporary Displays")
+;;
+;; Or read: ;;
<https://www.gnu.org/software/emacs/manual/html_node/emacs/Temporary-Displays.html>.
+
+(setq temp-buffer-max-height (lambda (buf) (/ (window-height) 4)))
+;; OR
+;; (setq temp-buffer-max-height (lambda (buf) (/ (frame-height) 4)))
+
+(temp-buffer-resize-mode 1)
#+end_src
* Keymaps
diff --git a/mct.info b/mct.info
index 3900910..63b687c 100644
--- a/mct.info
+++ b/mct.info
@@ -327,7 +327,8 @@ Minimal setup:
(mct-mode 1)
- Other useful extras from the Emacs source code:
+ Other useful extras from the Emacs source code (read their doc
+strings):
(setq enable-recursive-minibuffers t)
(setq minibuffer-eldef-shorten-default t)
@@ -336,6 +337,18 @@ Minimal setup:
(minibuffer-depth-indicate-mode 1)
(minibuffer-electric-default-mode 1)
+ ;;; Temporary window height
+
+ ;; Evaluate: (info "(emacs) Temporary Displays")
+ ;;
+ ;; Or read: ;;
<https://www.gnu.org/software/emacs/manual/html_node/emacs/Temporary-Displays.html>.
+
+ (setq temp-buffer-max-height (lambda (buf) (/ (window-height) 4)))
+ ;; OR
+ ;; (setq temp-buffer-max-height (lambda (buf) (/ (frame-height) 4)))
+
+ (temp-buffer-resize-mode 1)
+
File: mct.info, Node: Keymaps, Next: Extensions, Prev: Sample setup, Up:
Top
@@ -971,15 +984,15 @@ Node: Cyclic behaviour5906
Node: Selecting candidates7637
Node: Installation10343
Node: Sample setup11428
-Node: Keymaps13110
-Node: Extensions13754
-Node: Alternatives14549
-Node: Acknowledgements14942
-Node: GNU Free Documentation License15551
-Node: Indices40906
-Node: Function index41076
-Node: Variable index41726
-Node: Concept index42690
+Node: Keymaps13529
+Node: Extensions14173
+Node: Alternatives14968
+Node: Acknowledgements15361
+Node: GNU Free Documentation License15970
+Node: Indices41325
+Node: Function index41495
+Node: Variable index42145
+Node: Concept index43109
End Tag Table
diff --git a/mct.texi b/mct.texi
index e15bd9e..ea12bd4 100644
--- a/mct.texi
+++ b/mct.texi
@@ -370,7 +370,7 @@ And with more options:
(mct-mode 1)
@end lisp
-Other useful extras from the Emacs source code:
+Other useful extras from the Emacs source code (read their doc strings):
@lisp
(setq enable-recursive-minibuffers t)
@@ -379,6 +379,18 @@ Other useful extras from the Emacs source code:
(file-name-shadow-mode 1)
(minibuffer-depth-indicate-mode 1)
(minibuffer-electric-default-mode 1)
+
+;;; Temporary window height
+
+;; Evaluate: (info "(emacs) Temporary Displays")
+;;
+;; Or read: ;;
<https://www.gnu.org/software/emacs/manual/html_node/emacs/Temporary-Displays.html>.
+
+(setq temp-buffer-max-height (lambda (buf) (/ (window-height) 4)))
+;; OR
+;; (setq temp-buffer-max-height (lambda (buf) (/ (frame-height) 4)))
+
+(temp-buffer-resize-mode 1)
@end lisp
@node Keymaps
- [elpa] branch externals/mct created (now b5f4222), ELPA Syncer, 2021/11/11
- [elpa] externals/mct 2d77307 04/70: Add "Acknowledgements" section to the manual, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 144a32f 05/70: Add internal function to show completions, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 769b1a8 02/70: Use remap where applicable, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 6bd2457 03/70: Ensure that display-line-numbers-mode is bound, ELPA Syncer, 2021/11/11
- [elpa] externals/mct cc8a5c1 09/70: Mention temp-buffer-resize-mode in the docs,
ELPA Syncer <=
- [elpa] externals/mct 91586c4 10/70: Fix documentation about manual install method, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 79b2643 07/70: Remove unused user-error message, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 609fd0a 12/70: Move findex and vindex annotations to their actual mentions, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 4882ed6 17/70: Note display-buffer in mct-display-buffer-action, ELPA Syncer, 2021/11/11
- [elpa] externals/mct e75a6c6 19/70: Update mct-display-buffer-action with sample conf, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 982b4ee 20/70: Note mct-completions-format needs mct-mode restart, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 1b0ab0b 21/70: Untabify and re-indent, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 5c0e138 22/70: Recompile texi/info manuald, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 45c272e 25/70: Add a .dir-locals.el file, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 295bac0 28/70: Generate mct.info and mct.texi using a Makefile, ELPA Syncer, 2021/11/11