[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 16d2268 320/399: Fix ivy-push/switch-view windows layout
From: |
Oleh Krehel |
Subject: |
[elpa] master 16d2268 320/399: Fix ivy-push/switch-view windows layout |
Date: |
Sat, 20 Jul 2019 14:57:48 -0400 (EDT) |
branch: master
commit 16d2268b9655db71e215b99609e176df580aaac9
Author: zsxh <address@hidden>
Commit: zsxh <address@hidden>
Fix ivy-push/switch-view windows layout
---
ivy.el | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git a/ivy.el b/ivy.el
index 679b81a..bc916ad 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3908,26 +3908,32 @@ Use `ivy-pop-view' to delete any item from `ivy-views'."
(let* ((wnd1 (selected-window))
(wnd2 (split-window-vertically))
(views (cdr view))
- (v (pop views)))
+ (v (pop views))
+ (temp-wnd))
(with-selected-window wnd1
(ivy-set-view-recur v))
(while (setq v (pop views))
(with-selected-window wnd2
- (ivy-set-view-recur v))
- (when views
- (setq wnd2 (split-window-vertically))))))
+ (when views
+ (setq temp-wnd (split-window-vertically)))
+ (ivy-set-view-recur v)
+ (when views
+ (setq wnd2 temp-wnd))))))
((eq (car view) 'horz)
(let* ((wnd1 (selected-window))
(wnd2 (split-window-horizontally))
(views (cdr view))
- (v (pop views)))
+ (v (pop views))
+ (temp-wnd))
(with-selected-window wnd1
(ivy-set-view-recur v))
(while (setq v (pop views))
(with-selected-window wnd2
- (ivy-set-view-recur v))
- (when views
- (setq wnd2 (split-window-horizontally))))))
+ (when views
+ (setq temp-wnd (split-window-horizontally)))
+ (ivy-set-view-recur v)
+ (when views
+ (setq wnd2 temp-wnd))))))
((eq (car view) 'file)
(let* ((name (nth 1 view))
(virtual (assoc name ivy--virtual-buffers))
- [elpa] master 895906e 309/399: counsel.el (counsel-descbinds-function): Add, (continued)
- [elpa] master 895906e 309/399: counsel.el (counsel-descbinds-function): Add, Oleh Krehel, 2019/07/20
- [elpa] master 4a37e1e 314/399: swiper.el (swiper-query-replace): Make eval-style replacement more accessible, Oleh Krehel, 2019/07/20
- [elpa] master dd2d495 312/399: swiper.el (swiper-all-thing-at-point): Add, Oleh Krehel, 2019/07/20
- [elpa] master 0576b61 315/399: .github/FUNDING.yml: Add, Oleh Krehel, 2019/07/20
- [elpa] master d060eea 313/399: swiper.el (swiper-query-replace): Add query-replace-compile-replacement, Oleh Krehel, 2019/07/20
- [elpa] master 09b9508 321/399: ivy.el (ivy--find-file-action): Fix for virtual buffers, Oleh Krehel, 2019/07/20
- [elpa] master 7d46450 311/399: Add more information about the collection argument in `ivy-read`., Oleh Krehel, 2019/07/20
- [elpa] master 676a8ee 318/399: swiper.el (swiper-isearch-current-match): Remove unused face, Oleh Krehel, 2019/07/20
- [elpa] master ba626e7 317/399: ivy.el (ivy-next-history-element): Use minibuffer-default for dired-dwim-target, Oleh Krehel, 2019/07/20
- [elpa] master 51e765e 316/399: ivy.el (ivy-partial): Return nil when comletion was not updated, Oleh Krehel, 2019/07/20
- [elpa] master 16d2268 320/399: Fix ivy-push/switch-view windows layout,
Oleh Krehel <=
- [elpa] master d260c48 322/399: swiper.el: Obey search-invisible, Oleh Krehel, 2019/07/20
- [elpa] master de8842e 323/399: Add ivy-switch-buffer-map to counsel-switch-buffer, Oleh Krehel, 2019/07/20
- [elpa] master 0d87297 326/399: counsel.el (counsel-open-buffer-file-externally): Cleanup, Oleh Krehel, 2019/07/20
- [elpa] master 7defba2 327/399: ivy.el (ivy-avy): Fix when there's a scroll, Oleh Krehel, 2019/07/20
- [elpa] master 07c65b3 325/399: ivy.el (ivy--set-index-dynamic-collection): Extract, Oleh Krehel, 2019/07/20
- [elpa] master 400d56f 319/399: counsel.el (counsel-open-buffer-file-externally): New function, Oleh Krehel, 2019/07/20
- [elpa] master 704b1de 328/399: ivy.el (ivy-avy): Allow to scroll with "C-v" and "M-v", Oleh Krehel, 2019/07/20
- [elpa] master 7183491 332/399: ivy.el (ivy--minibuffer-setup): Avoid extra call to ivy--exhibit, Oleh Krehel, 2019/07/20
- [elpa] master a249d15 329/399: ivy-test.el (ivy-avy): Only run if avy is installed, Oleh Krehel, 2019/07/20
- [elpa] master 15f8e10 330/399: .travis.yml: Add emacs-25.3 and emacs-26.2, Oleh Krehel, 2019/07/20