[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/buffer-expose 03fc259 17/38: Fix ordering of buffer vie
From: |
Clemens Radermacher |
Subject: |
[elpa] externals/buffer-expose 03fc259 17/38: Fix ordering of buffer view (left>right, top>down) |
Date: |
Mon, 25 Feb 2019 13:38:00 -0500 (EST) |
branch: externals/buffer-expose
commit 03fc259319d174cffcba3475a7cfe951a19a9bc5
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>
Fix ordering of buffer view (left>right, top>down)
---
buffer-expose.el | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/buffer-expose.el b/buffer-expose.el
index 737f618..c03e6e9 100644
--- a/buffer-expose.el
+++ b/buffer-expose.el
@@ -394,15 +394,17 @@ Windows are orderd by `buffer-expose--next-window'."
(window-combination-resize t)
(ws (list (selected-window))))
(delete-other-windows)
+ (dotimes (_ (1- y))
+ (split-window-vertically)
+ (dotimes (_ (1- x))
+ (push (split-window-horizontally) ws)
+ (other-window 1))
+ (other-window 1)
+ (push (selected-window) ws))
(dotimes (_ (1- x))
(push (split-window-horizontally) ws)
- (dotimes (_ (1- y))
- (push (split-window-vertically) ws))
- (other-window y))
- (dotimes (_ (1- y))
- (push (split-window-vertically) ws))
+ (other-window 1))
(balance-windows)
- ;; TODO: order left to right
(setq buffer-expose--window-list
(nreverse ws))))
- [elpa] externals/buffer-expose 8dec782 07/38: Require cl-lib, (continued)
- [elpa] externals/buffer-expose 8dec782 07/38: Require cl-lib, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose ea8d671 11/38: Fix regex list type, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose e78ca06 21/38: Cleanup, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose c0034f5 26/38: Code reordering, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose 5748ffb 34/38: Update docstrings, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose c5eb139 16/38: Add custom command example, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose e52f55d 06/38: Filter completions buffer by default, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose 07ac8cf 12/38: Create window list without redisplay, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose 428568c 09/38: Add regex option for buffers to hide, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose 814a557 36/38: Fix copyright, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose 03fc259 17/38: Fix ordering of buffer view (left>right, top>down),
Clemens Radermacher <=
- [elpa] externals/buffer-expose 963b107 33/38: Update description, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose 5e58e22 19/38: Refactor buffer-expose--other-window, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose eebf28a 30/38: Cleanup, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose c47728e 18/38: Don't use other-window which records the switch, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose bb95721 22/38: More cleanup, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose e4b865e 24/38: Introduce user option to wrap around for vertical movement, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose 972a18d 08/38: Add cl-lib to package requires, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose 0c189ad 32/38: Add buffer-expose-major-mode binding, Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose 7e83772 23/38: Don't advice select-window. Use internal selection function instead., Clemens Radermacher, 2019/02/25
- [elpa] externals/buffer-expose 6fbc680 37/38: Code reordering, Clemens Radermacher, 2019/02/25