[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33870: 27.0.50; xref-goto-xref not configurable
From: |
Juri Linkov |
Subject: |
bug#33870: 27.0.50; xref-goto-xref not configurable |
Date: |
Mon, 21 Jan 2019 22:59:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> Like we already have such functions as window-in-direction and
>> windmove-display-in-direction, the new function could have a similar name
>> display-buffer-in-direction.
>
> OK (unless we find something better).
We urgently need this. I discovered another case that will benefit from it.
Currently it can be rewritten as in this patch but I don't like how it requires
a non-trivial alist. Could these be replaced with something simpler?
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index 52c0b5b74d..e90d70359f 100644
--- a/lisp/wid-edit.el
+++ b/lisp/wid-edit.el
@@ -252,7 +252,11 @@ widget-choose
(define-key map [?\M--] 'negative-argument)
(save-window-excursion
(let ((buf (get-buffer " widget-choose")))
- (fit-window-to-buffer (display-buffer buf))
+ (display-buffer
+ buf
+ '(display-buffer-maybe-below-selected
+ (window-height . fit-window-to-buffer)
+ (preserve-size nil . t)))
(let ((cursor-in-echo-area t)
(arg 1))
(while (not value)
- bug#33870: 27.0.50; xref-goto-xref not configurable, (continued)
- bug#33870: 27.0.50; xref-goto-xref not configurable, Juri Linkov, 2019/01/10
- bug#33870: 27.0.50; xref-goto-xref not configurable, martin rudalics, 2019/01/11
- bug#33870: 27.0.50; xref-goto-xref not configurable, Juri Linkov, 2019/01/12
- bug#33870: 27.0.50; xref-goto-xref not configurable, martin rudalics, 2019/01/13
- bug#33870: 27.0.50; xref-goto-xref not configurable, Juri Linkov, 2019/01/13
- bug#33870: 27.0.50; xref-goto-xref not configurable, martin rudalics, 2019/01/14
- bug#33870: 27.0.50; xref-goto-xref not configurable, Juri Linkov, 2019/01/19
- bug#33870: 27.0.50; xref-goto-xref not configurable, martin rudalics, 2019/01/20
- bug#33870: 27.0.50; xref-goto-xref not configurable, Juri Linkov, 2019/01/20
- bug#33870: 27.0.50; xref-goto-xref not configurable, martin rudalics, 2019/01/21
- bug#33870: 27.0.50; xref-goto-xref not configurable,
Juri Linkov <=
- bug#33870: 27.0.50; xref-goto-xref not configurable, martin rudalics, 2019/01/24
- bug#33870: 27.0.50; xref-goto-xref not configurable, Juri Linkov, 2019/01/27
- bug#33870: 27.0.50; xref-goto-xref not configurable, martin rudalics, 2019/01/28
- bug#33870: 27.0.50; xref-goto-xref not configurable, Juri Linkov, 2019/01/28
- bug#33870: 27.0.50; xref-goto-xref not configurable, martin rudalics, 2019/01/29
- bug#33870: 27.0.50; xref-goto-xref not configurable, Juri Linkov, 2019/01/29
- bug#33870: 27.0.50; xref-goto-xref not configurable, Drew Adams, 2019/01/29
- bug#33870: 27.0.50; xref-goto-xref not configurable, Juri Linkov, 2019/01/30
- bug#33870: 27.0.50; xref-goto-xref not configurable, Drew Adams, 2019/01/30
- bug#33870: 27.0.50; xref-goto-xref not configurable, martin rudalics, 2019/01/30