From: martin rudalics <rudalics@gmx.at>
To: Oleh Krehel <ohwoeowho@gmail.com>
Cc: 20100@debbugs.gnu.org
Subject: bug#20100: 24.4.91; Can't scroll a window while in minibuffer
Date: Fri, 13 Mar 2015 19:16:54 +0100 [thread overview]
Message-ID: <55032996.3080008@gmx.at> (raw)
In-Reply-To: <CAA01p3pAn2sx+yxV=E+VS22VgvsynNRUgkJrcrqnPCpjWvfiow@mail.gmail.com>
> You need to be in the minibuffer in order for the effect to occur,
> which you're not.
I know but you didn't give a recipe.
>> The fact that you apparently have to
>>
>> (setf (window-point wnd) (point))
>>
>> seems to suport my claim above, namely that `wnd' is not selected at
>> that time.
>
> It is selected, only the minibufer is interfering.
It apparently is _not_ selected (at least not in your snippet). With
emacs -Q evaluate the following code:
(let ((buffer (get-buffer-create "*buffer*"))
(window (selected-window))
(line 0))
(set-window-buffer nil buffer)
(with-current-buffer buffer
(while (< line 100)
(insert (format "%02d\n" line))
(setq line (1+ line))))
(with-selected-window (minibuffer-window)
(with-selected-window window
(goto-char (point-min))
(forward-line 25)
(recenter))
(insert "This is your minibuffer window!")
(sit-for 5)))
Can you see the difference?
martin
next prev parent reply other threads:[~2015-03-13 18:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-13 12:51 bug#20100: 24.4.91; Can't scroll a window while in minibuffer Oleh Krehel
2015-03-13 16:58 ` martin rudalics
2015-03-13 17:10 ` Oleh Krehel
2015-03-13 18:16 ` martin rudalics [this message]
2015-03-13 18:41 ` Oleh Krehel
2015-03-13 20:58 ` Eli Zaretskii
2015-03-14 8:17 ` martin rudalics
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55032996.3080008@gmx.at \
--to=rudalics@gmx.at \
--cc=20100@debbugs.gnu.org \
--cc=ohwoeowho@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.