GNU bug report logs -
#18181
bug in display-buffer-below-selected
Previous Next
Reported by: Trevor Jim <tjim <at> mac.com>
Date: Sun, 3 Aug 2014 15:24:01 UTC
Severity: minor
Tags: notabug
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 18181 <at> debbugs.gnu.org (full text, mbox):
> 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 is the intended behavior. `display-buffer-at-bottom' and
`display-buffer--maybe-pop-up-frame-or-window' also display the buffer a
second time even if it's already shown. The correct use of this is to
try `display-buffer-reuse-window' before `display-buffer-below-selected'.
> This behavior seems to have been introduced in git commit
> 6a5d9e9a3247566bf69575444e2a1f75f5b3e021
> in the emacs-24 branch of git://git.savannah.gnu.org/emacs.git
Can you please tell me which commit this was. I don't have git.
Thanks, martin
This bug report was last modified 10 years and 264 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.