From: Lukasz Pawelczyk <havner@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: "16909@debbugs.gnu.org" <16909@debbugs.gnu.org>
Subject: bug#16909: 24.3; scrolling *Completions* window with tab sometimes chooses a wrong window
Date: Wed, 5 Mar 2014 00:22:35 +0100 [thread overview]
Message-ID: <B2D380CE-9E64-4B6A-A287-A7E0C593DB94@gmail.com> (raw)
In-Reply-To: <53123279.6070203@gmx.at>
On 1 Mar 2014, at 20:18, martin rudalics <rudalics@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
next prev parent reply other threads:[~2014-03-04 23:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-28 16:41 bug#16909: 24.3; scrolling *Completions* window with tab sometimes chooses a wrong window Lukasz Pawelczyk
2014-02-28 18:24 ` martin rudalics
2014-02-28 18:28 ` Lukasz Pawelczyk
2014-03-01 11:54 ` martin rudalics
2014-03-01 12:11 ` Lukasz Pawelczyk
2014-03-01 19:18 ` martin rudalics
2014-03-04 23:22 ` Lukasz Pawelczyk [this message]
2014-03-05 7:26 ` martin rudalics
2014-03-05 9:48 ` Lukasz Pawelczyk
2014-03-05 14:03 ` martin rudalics
2014-03-06 10:43 ` Lukasz Pawelczyk
2014-03-06 17:27 ` martin rudalics
2022-02-13 9:16 ` Lars Ingebrigtsen
2022-03-13 20:35 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B2D380CE-9E64-4B6A-A287-A7E0C593DB94@gmail.com \
--to=havner@gmail.com \
--cc=16909@debbugs.gnu.org \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).