unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 54964@debbugs.gnu.org, hmelman@gmail.com
Subject: bug#54964: 28.1; mistatement in NEWS about read-extended-command-predicate
Date: Sat, 16 Apr 2022 12:59:52 +0200	[thread overview]
Message-ID: <87tuate1jr.fsf@gnus.org> (raw)
In-Reply-To: <838rs51ery.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 16 Apr 2022 13:52:33 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> That NEWS entry describes two 'declare' forms:
>
>    '(declare (completion PREDICATE))'
>    '(declare (modes MODE...))'
>
> Are you saying that M-S-x uses one of these two?  Then I must be
> missing something.

Doc string:

This is like ‘execute-extended-command’, but it limits the
completions to commands that are particularly relevant to the
current buffer.  This includes commands that have been marked as
being specially designed for the current major mode (and enabled
minor modes), as well as commands bound in the active local key
maps.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-04-16 10:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-15 20:16 bug#54964: 28.1; mistatement in NEWS about read-extended-command-predicate Howard Melman
2022-04-16  6:35 ` Eli Zaretskii
2022-04-16  9:27   ` Lars Ingebrigtsen
2022-04-16 10:52     ` Eli Zaretskii
2022-04-16 10:59       ` Lars Ingebrigtsen [this message]
2022-04-16 11:09         ` Eli Zaretskii
2022-04-16 13:30           ` Howard Melman
2022-04-16 13:55             ` Eli Zaretskii
2022-04-16 14:20               ` Howard Melman
2022-04-16 14:25                 ` Lars Ingebrigtsen
2022-04-16 16:23                   ` Eli Zaretskii
2022-04-16 16:27                     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tuate1jr.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=54964@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=hmelman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).