[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/popper 6a2ddcb354 073/102: Added tip to match shell buf
From: |
ELPA Syncer |
Subject: |
[elpa] externals/popper 6a2ddcb354 073/102: Added tip to match shell buffers |
Date: |
Fri, 8 Sep 2023 15:58:55 -0400 (EDT) |
branch: externals/popper
commit 6a2ddcb35432afb56f32e11518c2b6ae7795e8c0
Author: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Commit: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Added tip to match shell buffers
---
README.org | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/README.org b/README.org
index 25a9cdf04d..dff469e9e4 100644
--- a/README.org
+++ b/README.org
@@ -118,7 +118,8 @@ See the Customization section for details on specifying
buffer types as popups.
help-mode
compilation-mode))
(global-set-key (kbd "C-`") 'popper-toggle-latest)
- (global-set-key (kbd "M-`") 'popper-cycle)
+ (global-set-key (kbd "M-`") 'popper-cycle)
+ (global-set-key (kbd "C-M-`") 'popper-toggle-type)
(popper-mode +1)
(popper-echo-mode +1) ; For echo-area hints
#+END_SRC
@@ -144,6 +145,19 @@ To get started, customize this variable:
Will treat the following as popups: The Messages buffer, any buffer ending
in "Output*", and all help and compilation buffers.
+ *Note: Because of how some shell buffers are initialized in Emacs, you may
need to supply both the name and major mode to match them consistently*. Take
your pick:
+
+ #+BEGIN_SRC emacs-lisp
+ ;; Match eshell, shell, term and/or vterm buffers
+ (setq popper-reference-buffers
+ (append popper-reference-buffers
+ '("^\\*eshell.*\\*$" eshell-mode ;eshell as a popup
+ "^\\*shell.*\\*$" shell-mode ;shell as a popup
+ "^\\*term.*\\*$" term-mode ;term as a popup
+ "^\\*vterm.*\\*$" vterm-mode ;vterm as a popup
+ )))
+ #+END_SRC
+
As of v0.40, Popper also supports classifying a buffer as a popup based on
any user supplied predicate. This predicate (function) is called with the
buffer as argument and returns =t= if it should be considered a popup. Here is
an example with a predicate:
#+BEGIN_SRC emacs-lisp
- [elpa] externals/popper 767d4ffd0e 039/102: Modified README for clarity, (continued)
- [elpa] externals/popper 767d4ffd0e 039/102: Modified README for clarity, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 096078acea 040/102: Add `perspective`-based grouping function (#5), ELPA Syncer, 2023/09/08
- [elpa] externals/popper 0e16eb9b86 050/102: Tweaks to readme, major-mode identification code, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 0127de7161 052/102: Updated Readme for readability + handle project-current when nil, ELPA Syncer, 2023/09/08
- [elpa] externals/popper a29c603acd 055/102: Merge branch 'feature' of github.com:karthink/popper into feature, ELPA Syncer, 2023/09/08
- [elpa] externals/popper b9673ae612 059/102: Fix popper-window-height usage, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 9b1cff1b57 061/102: Popups are updated correctly now, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 032e75bf08 063/102: Added feature to show popups in echo area when cycling., ELPA Syncer, 2023/09/08
- [elpa] externals/popper 8d2b664465 067/102: Popper-echo will use up to 2 minibuffer lines by default, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 9e368e1d20 072/102: Clarify: Does not support popups in new frames, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 6a2ddcb354 073/102: Added tip to match shell buffers,
ELPA Syncer <=
- [elpa] externals/popper 2650056e0e 075/102: Dispatch action control with popper-echo, ELPA Syncer, 2023/09/08
- [elpa] externals/popper a50edecacf 080/102: Fix popper-mode-line for simple-modeline, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 3212241316 083/102: Fix #29: Error while modifying mode line. (#30), ELPA Syncer, 2023/09/08
- [elpa] externals/popper 50568b8af2 090/102: popper.el: Fix child-frame resetting popups, ELPA Syncer, 2023/09/08
- [elpa] externals/popper cc48e01219 091/102: Sort open popups by display time., ELPA Syncer, 2023/09/08
- [elpa] externals/popper f0038228eb 093/102: Silence compiler warnings on Emacs 29 (#44), ELPA Syncer, 2023/09/08
- [elpa] externals/popper 44752c5121 020/102: Better test for removing from display-buffer-alist, ELPA Syncer, 2023/09/08
- [elpa] externals/popper a507d3d441 022/102: Minor changes, increase version, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 71d77ae775 029/102: Typos in README, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 6ef0a670e5 032/102: Update README with more info, ELPA Syncer, 2023/09/08