[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb 48a311a 14/16: Fix bug in popup buffer window spli
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb 48a311a 14/16: Fix bug in popup buffer window splitting |
Date: |
Sun, 16 Jun 2019 12:23:09 -0400 (EDT) |
branch: externals/ebdb
commit 48a311a4255a78f197264ef763597d8e257d6aaf
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Fix bug in popup buffer window splitting
Fixes #77
Thanks to Alan Schmitt for reporting.
* ebdb-com.el (ebdb-pop-up-window): Size of popup window should be a
function of whether we're splitting horizontally or vertically, not
whether the original window is wider than it is tall.
---
ebdb-com.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ebdb-com.el b/ebdb-com.el
index 0565f89..d615dd6 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -1178,8 +1178,9 @@ popped up from."
(cadr pop))
((or (floatp (cadr pop)) (floatp ebdb-default-window-size))
(let ((flt (or (cadr pop) ebdb-default-window-size)))
- (round (* (max (window-total-width split-window)
- (window-total-height split-window))
+ (round (* (if (memq direction '(left right))
+ (window-total-width split-window)
+ (window-total-height split-window))
(- 1 flt)))))
((integerp ebdb-default-window-size)
ebdb-default-window-size))))
- [elpa] externals/ebdb updated (05b3270 -> 22895a4), Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb b4e5cd4 03/16: Quit EBDB window after message is sent in mu4e, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 480fc95 02/16: Fix functions for browsing anniversary dates, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 4a5ac62 05/16: Fix some plist-get calls to use tags, not symbols, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 688917f 04/16: Use previous object as default when editing anniversary field, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 16185b5 07/16: Fix docstring of ebdb-popup-window, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 2568b9a 10/16: Fix dumb bug in gnus and message window config, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 7a6794b 08/16: Further error with slots as keyword vs symbol, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 838103e 01/16: New option ebdb-default-window-size to control popup sizes, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 48a311a 14/16: Fix bug in popup buffer window splitting,
Eric Abrahamsen <=
- [elpa] externals/ebdb 1bcfaa1 12/16: Remove EBDB-Message buffer after killing or postponing message, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb e98b18a 06/16: New command ebdb-create-record-and-role, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 22895a4 16/16: Bump version to 0.6.9, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 7921f6a 11/16: Have ebdb-pop-up-window better honor ebdb-default-window-size, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 4e1ea30 15/16: Fix to "Remove EBDB-Message buffer after killing..." etc, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb b3dfcb8 13/16: New command ebdb-format-these-records, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 8f0251f 09/16: Give all MUAs their own version of ebdb-default-window-size, Eric Abrahamsen, 2019/06/16