GNU bug report logs -
#16909
24.3; scrolling *Completions* window with tab sometimes chooses a wrong window
Previous Next
Reported by: Lukasz Pawelczyk <havner <at> gmail.com>
Date: Fri, 28 Feb 2014 16:49:01 UTC
Severity: normal
Tags: moreinfo
Found in version 24.3
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #23 received at 16909 <at> debbugs.gnu.org (full text, mbox):
On 1 Mar 2014, at 20:18, martin rudalics <rudalics <at> gmx.at> wrote:
> > How is this supposed to work?
> > The problem is _during_ the Completions buffer is shown, when we're hitting
> > Tab, not when we're done. Besides its window is usually closed
> > automatically.
>
> We have to detect the moment when the window is closed automatically
> anyway. At that time we can either kill the buffer or reset
> `other-window-scroll-buffer’.
I’m still not sure that even using this variable is a wise idea. It might be used
by a user to configure his things. A simple custom function that will always scroll
*Completions* window seems like a better choice. You can always scroll
by buffer name. No need to force the usage of scroll-other-window function.
> > Killing the buffer won't make the scroll-other-window work
> > the usuall way.
>
> How comes? Ahh... I see. If `other-window-scroll-buffer' is non-nil
> and the buffer was killed in the meantime `display-buffer' throws an
> arg out of range error. That's silly ... should be fixed now.
I meant that if you only kill the buffer (after we used autocomplete) and
then user will scroll-other-window (for whatever reason) it won’t behave as
if its value is nil. We’d have to make it nil as well (as you mentioned now).
> > This would work I imagine. But don't do this in general when the
> > Completions buffer is shown, but only when we use autocomplete
> > functionality with Tab _and_ the buffer is shown.
>
> Could you try doing that? I have no idea where to start.
If I had an idea where to start I would have sent a patch instead of reporting a bug :-/
--
Regards,
Havner
This bug report was last modified 3 years and 69 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.