[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20206: 25.0.50; [PATCH] keep diff-mode's window visible when we visi
From: |
martin rudalics |
Subject: |
bug#20206: 25.0.50; [PATCH] keep diff-mode's window visible when we visit sources from diff-mode |
Date: |
Thu, 26 Mar 2015 19:58:53 +0100 |
> - (pop-to-buffer (current-buffer))
Something must be wrong here. According to its doc-string
`pop-to-buffer' should
"Select buffer BUFFER in some window, preferably a different one."
But I nowhere see that it tries to enforce that. Am I blind? And
`display-buffer' should not use the selected window either, after all
it's likely the most recently used one. Could you please debug this in
order to explain why the selected window gets used in all these cases?
> + (pop-to-buffer (current-buffer) '(display-buffer-use-some-window
(inhibit-same-window . t)))
In any case `display-buffer-use-some-window' as sole action doesn't look
right. It should be preceded by `display-buffer-reuse-window' and
`display-buffer-pop-up-window'. And `pop-to-buffer' should do that
already.
Thanks, martin
- bug#20206: 25.0.50; [PATCH] keep diff-mode's window visible when we visit sources from diff-mode, Dima Kogan, 2015/03/26
- bug#20206: 25.0.50; [PATCH] keep diff-mode's window visible when we visit sources from diff-mode, Eli Zaretskii, 2015/03/26
- bug#20206: 25.0.50; [PATCH] keep diff-mode's window visible when we visit sources from diff-mode,
martin rudalics <=
- bug#20206: 25.0.50; [PATCH] keep diff-mode's window visible when we visit sources from diff-mode, Dima Kogan, 2015/03/28
- bug#20206: 25.0.50; [PATCH] keep diff-mode's window visible when we visit sources from diff-mode, martin rudalics, 2015/03/28
- bug#20206: 25.0.50; [PATCH] keep diff-mode's window visible when we visit sources from diff-mode, Dima Kogan, 2015/03/28
- bug#20206: 25.0.50; [PATCH] keep diff-mode's window visible when we visit sources from diff-mode, martin rudalics, 2015/03/29
- bug#20206: 25.0.50; [PATCH] keep diff-mode's window visible when we visit sources from diff-mode, Dima Kogan, 2015/03/29
- bug#20206: 25.0.50; [PATCH] keep diff-mode's window visible when we visit sources from diff-mode, martin rudalics, 2015/03/30
bug#20206: 25.0.50; [PATCH] keep diff-mode's window visible when we visit sources from diff-mode, Dima Kogan, 2015/03/28