From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#38502: 27.0.50; minibuffer-scroll-other-window with multiple frames Date: Fri, 06 Dec 2019 02:02:53 +0200 Organization: LINKOV.NET Message-ID: <875zius4lu.fsf@mail.linkov.net> References: <874kyezjbd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="48869"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 38502@debbugs.gnu.org To: noah Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 06 01:22:55 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1id1OX-000CVr-Aq for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Dec 2019 01:22:53 +0100 Original-Received: from localhost ([::1]:34042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1id1OW-0001NI-5q for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Dec 2019 19:22:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43948) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1id1M3-0008Cv-RS for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2019 19:20:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1id1Lq-00055N-JT for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2019 19:20:09 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39449) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1id1Ln-00054K-EI for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2019 19:20:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1id1Ln-0005bG-AV for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2019 19:20:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Dec 2019 00:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38502 X-GNU-PR-Package: emacs Original-Received: via spool by 38502-submit@debbugs.gnu.org id=B38502.157559157821439 (code B ref 38502); Fri, 06 Dec 2019 00:20:03 +0000 Original-Received: (at 38502) by debbugs.gnu.org; 6 Dec 2019 00:19:38 +0000 Original-Received: from localhost ([127.0.0.1]:45413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1id1LO-0005Zj-CC for submit@debbugs.gnu.org; Thu, 05 Dec 2019 19:19:38 -0500 Original-Received: from bisque.elm.relay.mailchannels.net ([23.83.212.18]:62387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1id1LM-0005Za-7d for 38502@debbugs.gnu.org; Thu, 05 Dec 2019 19:19:36 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1853B215E0; Fri, 6 Dec 2019 00:19:35 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a86.g.dreamhost.com (100-96-169-13.trex.outbound.svc.cluster.local [100.96.169.13]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 978692188E; Fri, 6 Dec 2019 00:19:34 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a86.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Fri, 06 Dec 2019 00:19:34 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Towering-Wiry: 34c9b4076efa6a01_1575591574841_4240795822 X-MC-Loop-Signature: 1575591574841:2228882867 X-MC-Ingress-Time: 1575591574841 Original-Received: from pdx1-sub0-mail-a86.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a86.g.dreamhost.com (Postfix) with ESMTP id DE38D823A5; Thu, 5 Dec 2019 16:19:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=Yfiiq1 8cqrcXyt4Xr8DGwqeYodw=; b=1uzH8NUOi/Nq/1XEddWRqZsGG5vZIMXd6vl7/f V3p7QbMAtiHtezxfebwONQylnDWgEXhniLimPlcuwab559fzS40J31/CZRUv+s4/ er1xJk+ZuTt5VeoZDx0chlkcwNM6+6NL5ZBOJZxzHD1QVqhxl7ZDuvJspsXDdIx6 AIR04= Original-Received: from mail.jurta.org (m91-129-96-42.cust.tele2.ee [91.129.96.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a86.g.dreamhost.com (Postfix) with ESMTPSA id 3A895823AB; Thu, 5 Dec 2019 16:19:28 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a86 In-Reply-To: <874kyezjbd.fsf@gmail.com> (noah's message of "Thu, 05 Dec 2019 14:03:18 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:172940 Archived-At: > I think this is new within the last week or so. > When a completion frame pops up while using the minibuffer, > normally the minibuffer-scroll-other-window(-down) functions > scroll the completion window. However, now when emacs is split > into two horizontal frames, these functions ignore the > completion buffer and scroll the others. > > To reproduce from emacs -Q: > > C-x 3 > M-: (mak > TAB for completions > C-M-v TAB and S-TAB should scroll the the completion buffer. But what about C-= M-v? Is it documented somewhere what buffer it's intended to scroll? I can find only this text in (info "(emacs) Minibuffer Edit"): The =E2=80=98C-M-v=E2=80=99 command in the minibuffer scrolls the he= lp text from commands that display help text of any sort in another window. You can also scroll the help text with =E2=80=98M-=E2=80=99 and =E2=80=98= M-=E2=80=99 (or, equivalently, =E2=80=98M-=E2=80=99 and =E2=80=98M-=E2=80=99= ). This is especially useful with long lists of possible completions. Does this mean the help text is the same as the completion buffer? If yes, then this patch should fix it: diff --git a/lisp/simple.el b/lisp/simple.el index 47ce0364d1..7d91678ff7 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1517,6 +1517,7 @@ read-expression-map ;; Might as well bind TAB to completion, since inserting a TAB char = is ;; much too rarely useful. (define-key m "\t" 'completion-at-point) + (define-key m [remap minibuffer-scroll-other-window] 'scroll-other-w= indow) (set-keymap-parent m minibuffer-local-map) m)) =20