--- Begin Message ---
Subject: |
bug in display-buffer-below-selected |
Date: |
Sun, 03 Aug 2014 10:59:07 +0000 (GMT) |
Hello. I am seeing what I think is a bug in
display-buffer-below-selected in recent versions of emacs-24.3.
Namely, if you execute display-buffer-below-selected when the buffer
is already in a window below selected, you will get *two* windows
showing the buffer. A simple test is to run
(let ((buffer (get-buffer-create "test-buffer")))
(display-buffer-below-selected buffer nil)
(display-buffer-below-selected buffer nil))
in *scratch*.
This behavior seems to have been introduced in git commit
6a5d9e9a3247566bf69575444e2a1f75f5b3e021
in the emacs-24 branch of git://git.savannah.gnu.org/emacs.git
-T
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#18181: bug in display-buffer-below-selected |
Date: |
Fri, 29 Aug 2014 12:47:02 +0200 |
> > In revision#117435 of the emacs-24 branch I restored the old behavior
> > for the case where the buffer already appears below the selected window.
>
> Maybe the same would be good also for `display-buffer-at-bottom'
> to reuse the window already displayed at the bottom?
Done. I also now (re-)use the leftmost suitable window at the bottom of
the frame. Please have a look. Closing this bug.
Thanks, martin
PS: I apparently never received this mail here and only incidentally
found it now via http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18181.
--- End Message ---