unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#71373: 30.0.50; Commands like `gnus-summary-reply` should list in `M-x` of `gnus-article-mode`
@ 2024-06-05  2:08 lorniu
  2024-06-06  9:45 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: lorniu @ 2024-06-05  2:08 UTC (permalink / raw)
  To: 71373


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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#71373: 30.0.50; Commands like `gnus-summary-reply` should list in `M-x` of `gnus-article-mode`
  2024-06-05  2:08 bug#71373: 30.0.50; Commands like `gnus-summary-reply` should list in `M-x` of `gnus-article-mode` lorniu
@ 2024-06-06  9:45 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-06-06  9:45 UTC (permalink / raw)
  To: lorniu, Eric Abrahamsen; +Cc: 71373

> From: lorniu <lorniu@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?





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-06  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-05  2:08 bug#71373: 30.0.50; Commands like `gnus-summary-reply` should list in `M-x` of `gnus-article-mode` lorniu
2024-06-06  9:45 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).