From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#68947: 30.0.50; Gnus article mode keybindings Date: Sat, 17 Feb 2024 10:13:02 -0800 Message-ID: <877cj3q7rl.fsf@ericabrahamsen.net> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27490"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: pranshusharma366@gmail.com, 68947@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 17 19:13:56 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 1rbPCE-0006ze-UJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Feb 2024 19:13:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbPC4-0004Ti-Cx; Sat, 17 Feb 2024 13:13:44 -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 1rbPC2-0004Rc-Ml for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2024 13:13:42 -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 1rbPC2-0000JF-DN for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2024 13:13:42 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbPCM-0007fv-AR for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2024 13:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Feb 2024 18:14:02 +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.170819361129456 (code B ref 68947); Sat, 17 Feb 2024 18:14:02 +0000 Original-Received: (at 68947) by debbugs.gnu.org; 17 Feb 2024 18:13:31 +0000 Original-Received: from localhost ([127.0.0.1]:33829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbPBr-0007f1-36 for submit@debbugs.gnu.org; Sat, 17 Feb 2024 13:13:31 -0500 Original-Received: from mail.ericabrahamsen.net ([52.70.2.18]:46854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbPBp-0007eq-M4 for 68947@debbugs.gnu.org; Sat, 17 Feb 2024 13:13:30 -0500 Original-Received: from localhost (71-212-21-65.tukw.qwest.net [71.212.21.65]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 94FF3FA183; Sat, 17 Feb 2024 18:13:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1708193583; bh=l28YmUsinRepH+TRa+rinM+6KUmi5vn/KChWDJQ/WMY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ipgYOn6FE17ZQ2xC0Qx2C/4UQmTmv0Exu2+VdtV195wlquHsD+2GYupdezqZfyd/D qACzlf7YtWL6ggdWmIb9Fs3HQl8EZQEVygqIPx31IEqOx7Yoo6AT3GCd4EZNt0qyMh hIC+x5avfa5vuJhPOeUmH+BHFdFY3AvoAclPIy44= In-Reply-To: <87mss8xi0m.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sat, 10 Feb 2024 10:59:21 -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:280139 Archived-At: 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?