From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: terminal scrolling in help Date: Mon, 13 Dec 2021 14:27:58 +0000 Message-ID: References: <87y24pj6nd.fsf@yandex.com> <83ilvsmzjg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17622"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Colin Baxter =?utf-8?B?8J+Yug==?= , Eli Zaretskii , emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 13 15:29:18 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwmKL-0004LF-7W for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Dec 2021 15:29:17 +0100 Original-Received: from localhost ([::1]:39206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwmKJ-0007GP-UJ for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Dec 2021 09:29:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwmJ8-000685-LY for emacs-devel@gnu.org; Mon, 13 Dec 2021 09:28:02 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:34605 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1mwmJ6-0005Ft-EI for emacs-devel@gnu.org; Mon, 13 Dec 2021 09:28:02 -0500 Original-Received: (qmail 37739 invoked by uid 3782); 13 Dec 2021 14:27:59 -0000 Original-Received: from acm.muc.de (p4fe15a61.dip0.t-ipconnect.de [79.225.90.97]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 13 Dec 2021 15:27:59 +0100 Original-Received: (qmail 18087 invoked by uid 1000); 13 Dec 2021 14:27:58 -0000 Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281849 Archived-At: Hello, Stefan. On Mon, Dec 13, 2021 at 05:49:36 -0800, Stefan Kangas wrote: > Eli Zaretskii writes: > >> From: Colin Baxter 😺 > >> Cc: > >> Date: Mon, 13 Dec 2021 07:39:02 +0000 > >> 1. emacs-27.2 -nw -Q > >> 2. C-h ? > >> The user is then told to use Space or Del to scroll options. This works > >> in xterm, stterm and urxvt. > >> In emacs-28.0.90 (and emacs-29.0.50) the user is now told to use > >> , to scroll, neither of which work in xterm, > >> stterm or urxvt > >> I am wondering why the scroll advice was changed? > Because those are more natural keys to use on graphical displays. > > How about providing a patch that adds SPC and DEL to the advice? > Can we detect that we are running in a terminal and show SPC and DEL > there, while showing and on graphical displays? Probably not reliably. On my Linux console, work just fine. How about showing both pairs of key bindings? -- Alan Mackenzie (Nuremberg, Germany).