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

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71373 in the body.
You can then email your comments to 71373 AT debbugs.gnu.org in the normal way.

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?




Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Sat, 01 Mar 2025 02:12:02 GMT) Full text and rfc822 format available.

Notification sent to lorniu <lorniu <at> gmail.com>:
bug acknowledged by developer. (Sat, 01 Mar 2025 02:12:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: lorniu <lorniu <at> gmail.com>
Cc: 71373-done <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: Fri, 28 Feb 2025 18:11:15 -0800
lorniu <lorniu <at> gmail.com> writes:

> 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.

Fixed on master.  I'm therefore closing this bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 29 Mar 2025 11:24:39 GMT) Full text and rfc822 format available.

This bug report was last modified 93 days ago.

Previous Next


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