GNU bug report logs - #71373
30.0.50; Commands like `gnus-summary-reply` should list in `M-x` of `gnus-article-mode`

Previous Next

Package: emacs;

Reported by: lorniu <lorniu <at> gmail.com>

Date: Wed, 5 Jun 2024 06:53:02 UTC

Severity: normal

Found in version 30.0.50

To reply to this bug, email your comments to 71373 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#71373; Package emacs. (Wed, 05 Jun 2024 06:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to lorniu <lorniu <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 05 Jun 2024 06:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: lorniu <lorniu <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; Commands like `gnus-summary-reply` should list in `M-x` of
 `gnus-article-mode`
Date: Wed, 05 Jun 2024 10:08:43 +0800
When using GNUS, in article mode, I can use key `r` or `f` to execute
command `gnus-summary-replay` and others to compose or reply message,
but I can't execute them with `M-x`, they are not shown there.

I notice that there are command predicates in the definitions, for example:

  (defun gnus-summary-post-news (&optional arg)
    (interactive "P" gnus-summary-mode)
    ...

I think there is mistake, it should be:

  (defun gnus-summary-post-news (&optional arg)
    (interactive "P" gnus-summary-mode gnus-article-mode)
    ...

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71373; Package emacs. (Thu, 06 Jun 2024 09:46:01 GMT) Full text and rfc822 format available.

Message #8 received at 71373 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: lorniu <lorniu <at> gmail.com>, Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: 71373 <at> debbugs.gnu.org
Subject: Re: bug#71373: 30.0.50;
 Commands like `gnus-summary-reply` should list in `M-x` of
 `gnus-article-mode`
Date: Thu, 06 Jun 2024 12:45:16 +0300
> From: lorniu <lorniu <at> gmail.com>
> Date: Wed, 05 Jun 2024 10:08:43 +0800
> 
> 
> When using GNUS, in article mode, I can use key `r` or `f` to execute
> command `gnus-summary-replay` and others to compose or reply message,
> but I can't execute them with `M-x`, they are not shown there.
> 
> I notice that there are command predicates in the definitions, for example:
> 
>   (defun gnus-summary-post-news (&optional arg)
>     (interactive "P" gnus-summary-mode)
>     ...
> 
> I think there is mistake, it should be:
> 
>   (defun gnus-summary-post-news (&optional arg)
>     (interactive "P" gnus-summary-mode gnus-article-mode)
>     ...

Eric, do you agree?




This bug report was last modified 245 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.