[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/other-frame-window 6a6de0e 14/16: Package other-frame-w
From: |
Stefan Monnier |
Subject: |
[elpa] externals/other-frame-window 6a6de0e 14/16: Package other-frame-window; improve description |
Date: |
Tue, 1 Dec 2020 16:38:35 -0500 (EST) |
branch: externals/other-frame-window
commit 6a6de0ecddc6afedf6f991e8b4971278b9ce221c
Author: Stephen Leake <stephen_leake@stephe-leake.org>
Commit: Stephen Leake <stephen_leake@stephe-leake.org>
Package other-frame-window; improve description
* packages/other-frame-window/other-frame-window.el: Improve description
in Commentary, for list-packages. Mention display-buffer-alist, not
display-buffer-overriding-action.
---
other-frame-window.el | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/other-frame-window.el b/other-frame-window.el
index dfa40e6..9c1f9ba 100644
--- a/other-frame-window.el
+++ b/other-frame-window.el
@@ -25,17 +25,33 @@
;;
;;; Commentary:
;;
-;; C-x 7 <command> causes a buffer displayed by <command>
-;; to appear in another window in the same frame; a window
+;; other-frame-window provides prefix key sequences to control where a
+;; new buffer is created by a subsequent command. With no prefix, the
+;; buffer is created where the command decides (nominally the currently
+;; selected window). Prefix C-x 7 causes the buffer to appear in
+;; another window in the same frame; a window is created if necessary.
+;; Prefix C-x 9 causes the buffer to appear in another frame; a frame
;; is created if necessary.
;;
-;; C-x 9 <command> causes a buffer displayed by <command>
-;; to appear in another frame; a frame is created if necessary.
+;; Some commands display new buffers in other than the currently
+;; selected window, which defeats the purpose of ‘other-frame-window’ in
+;; the absense of a prefix. To override that, customize
+;; ‘display-buffer-alist’ for those commands. For example, to override
+;; ‘gud-gdb’:
+;;
+;; (add-to-list
+;; 'display-buffer-alist
+;; (cons "\\*gud"
+;; (cons 'display-buffer-same-window nil)))
+;; )
+;;
+;; Other key bindings provided by other-frame-window:
;;
;; C-x W moves the current buffer to another window in the same frame.
;;
;; C-x F moves the current buffer to another frame.
;;
+;;
;; In addition, C-x 7 and C-x 9 can be followed by these keys:
;;
;; 0 - deletes the current window.
@@ -62,13 +78,6 @@
;;
;; To extend this list, add key bindings to ‘ofw-transient-map’.
;;
-;; Some code in Emacs uses an explicit list of actions in a call to
-;; display-buffer, which can defeat the purpose of
-;; other-frame-window. To override that, add:
-;;
-;; (setq display-buffer-overriding-action (cons (list
'display-buffer-same-window) nil))
-;;
-;; to your Emacs init file.
;;;; Usage:
;;
@@ -308,15 +317,6 @@ m - compose mail in another window/frame.
o - select another window/frame.
r - find-file-read-only in another window/frame.
-
-To extend this list, add key bindings to ‘ofw-transient-map’.
-
-To override default Emacs behavior in the absence of a prefix, do:
-
-\(setq display-buffer-overriding-action
- (cons (list 'display-buffer-same-window) nil))
-
-in your init file.
"
:global t
- [elpa] externals/other-frame-window 9875a19 03/16: * other-frame-window.el: Disable more carefully; add transient map, (continued)
- [elpa] externals/other-frame-window 9875a19 03/16: * other-frame-window.el: Disable more carefully; add transient map, Stefan Monnier, 2020/12/01
- [elpa] externals/other-frame-window 034d510 11/16: * packages/other-frame-window: add text for list-packages long description, Stefan Monnier, 2020/12/01
- [elpa] externals/other-frame-window 7939a1b 08/16: Fix some quoting problems in doc strings, Stefan Monnier, 2020/12/01
- [elpa] externals/other-frame-window 9228aab 06/16: * other-frame-window.el: Use new prefix-command features, Stefan Monnier, 2020/12/01
- [elpa] externals/other-frame-window 97e41af 05/16: Bump version of other-frame-window.el, Stefan Monnier, 2020/12/01
- [elpa] externals/other-frame-window 88820e3 07/16: Bump version of other-frame-window.el, Stefan Monnier, 2020/12/01
- [elpa] externals/other-frame-window e4aa050 10/16: * packages/other-frame-window: bump version; improve minor mode doc string, Stefan Monnier, 2020/12/01
- [elpa] externals/other-frame-window 061ffe1 09/16: Clear executable bit for Emacs Lisp files., Stefan Monnier, 2020/12/01
- [elpa] externals/other-frame-window c706e22 12/16: * packages/other-frame-window/other-frame-window.el: improve description, Stefan Monnier, 2020/12/01
- [elpa] externals/other-frame-window 7477b00 15/16: Other-frame-window: bump version to publish changes, Stefan Monnier, 2020/12/01
- [elpa] externals/other-frame-window 6a6de0e 14/16: Package other-frame-window; improve description,
Stefan Monnier <=
- [elpa] externals/other-frame-window a5ef264 13/16: Minor improvements in other-frame-window, Stefan Monnier, 2020/12/01
- [elpa] externals/other-frame-window df437ff 16/16: * .gitignore: New file, Stefan Monnier, 2020/12/01