From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68947: 30.0.50; Gnus article mode keybindings Date: Sat, 17 Feb 2024 20:14:46 +0200 Message-ID: <86wmr3rm95.fsf@gnu.org> References: <87bk8ut2qd.fsf@gmail.com> <871q9p39zp.fsf@ericabrahamsen.net> <87r0hofow9.fsf@gmail.com> <87r0hkxkc5.fsf@ericabrahamsen.net> <86fry0tcco.fsf@gnu.org> <87mss8xi0m.fsf@ericabrahamsen.net> <877cj3q7rl.fsf@ericabrahamsen.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36050"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pranshusharma366@gmail.com, 68947@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 17 19:15:59 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rbPEE-0009Bv-5s for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Feb 2024 19:15:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbPE2-0005rq-J2; Sat, 17 Feb 2024 13:15:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbPDy-0005rQ-IK for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2024 13:15:45 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rbPDx-0000qF-RE for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2024 13:15:42 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbPEH-0007jJ-Q8 for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2024 13:16:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Feb 2024 18:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68947 X-GNU-PR-Package: emacs Original-Received: via spool by 68947-submit@debbugs.gnu.org id=B68947.170819371829655 (code B ref 68947); Sat, 17 Feb 2024 18:16:01 +0000 Original-Received: (at 68947) by debbugs.gnu.org; 17 Feb 2024 18:15:18 +0000 Original-Received: from localhost ([127.0.0.1]:33834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbPDZ-0007iE-NM for submit@debbugs.gnu.org; Sat, 17 Feb 2024 13:15:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbPDX-0007i0-Kn for 68947@debbugs.gnu.org; Sat, 17 Feb 2024 13:15:16 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbPD8-0000Y0-1U; Sat, 17 Feb 2024 13:14:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=xgGC4ptLE76qmWLje8Hsu9M5908YaAwqS3+AmtadFMo=; b=J5YTd9+74z42 vOd8DZ1wirrnSLbI8I5MY8UwdJTnEN0rhU2R/r+RqsnyU8Jkk6kKOSu39EhEJrnIowO3RgueYVAeI 21tCuM/lzleAWArrb/i0NKQyi91AXLt3exTxS575xAS6F9iTE0nqhO6vUh4GcuyMq8uSrZpnouFvA 81j7D8bvqEB57QuyZRstVON7B8zt1vDHo5ZoXeeCM+KcDIjuuyqwnYNfq7y80cZFpcoRQFLWnvJHO GFn0+tVTXUKH7i20TqZFS+vGNJr4rve7zObjxrl5fEnnhSmVVOt5LemajV0eRhOmYb/tAi/gbowd7 NCOPgfAEy8Sk8zW9qtLUwg==; In-Reply-To: <877cj3q7rl.fsf@ericabrahamsen.net> (message from Eric Abrahamsen on Sat, 17 Feb 2024 10:13:02 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280140 Archived-At: > From: Eric Abrahamsen > Cc: pranshusharma366@gmail.com, 68947@debbugs.gnu.org > Date: Sat, 17 Feb 2024 10:13:02 -0800 > > Eric Abrahamsen writes: > > > On 02/10/24 20:15 PM, Eli Zaretskii wrote: > >>> Cc: 68947@debbugs.gnu.org > >>> From: Eric Abrahamsen > >>> Date: Sat, 10 Feb 2024 10:09:14 -0800 > >>> > >>> Your immediate issue is caused by the fact that > >>> `gnus-article-describe-bindings', which theoretically should be > >>> responsible for telling the user about all the redirections, is only > >>> aware of the "S" keymap prefix. It doesn't know all the ways in which an > >>> 'undefined binding might get translated into a valid summary-mode > >>> command, and can't show you those. > >>> > >>> To be honest, I don't think I'm going to be able to fix this. If we keep > >>> the current implementation, `gnus-article-describe-bindings' would have > >>> to be made aware of the additional redirections, and I wouldn't even > >>> know where to start. > >>> > >>> It could be that Elisp has better tools for this situation by now (the > >>> original architecture was in place before 1997), but I'm not sure what > >>> those tools are. Perhaps someone will chime in with a helpful > >>> suggestion... > >> > >> Strange as it may sound, I see no grave problem here: C-h is not > >> guaranteed to work after any arbitrary prefix, anyway. So if that is > >> too hard to fix, we could just punt and leave it unsolved. > > > > I'm inclined to say it's too hard to fix! The only cleaner solution I > > can think of is to actually define article-mode versions of all the > > summary-mode commands we'd want to call, which would also provide a > > place to do the necessary article-specific adjustments. That's a lot of > > very tightly-coupled code, though. > > > >> What about "C-h b" -- does that work in the situation described by the > >> recipe? > > > > No, that doesn't really work. The gnus-article-mode bindings are listed > > under a "fundamental-mode Major Mode Bindings:" heading (??). That > > includes gnus-article-mode's own keybindings, and the summary-mode > > bindings that have been explicitly attached at the "S" prefix, but > > nothing else. > > I don't know, I don't see a good solution to this without a massive > rewrite, which I don't have the stomach for right now. Should we leave > the bug open, since it's a real problem? Fine with me.