all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Condy Chen <condy0919@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Jean-Christophe Helary <lists@traduction-libre.org>,
	Emacs Devel <emacs-devel@gnu.org>
Subject: Re: "Command Discovery In Emacs "
Date: Mon, 16 Aug 2021 21:46:08 +0800	[thread overview]
Message-ID: <CAHO21CLpTXFEfKd8q0+VgzzxOc1ekpJws5h57s5K6zdyS_RR5g@mail.gmail.com> (raw)
In-Reply-To: <87h7fpa4ip.fsf@gnus.org>

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

It works, thanks.

On Mon, Aug 16, 2021 at 9:44 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:

> Condy Chen <condy0919@gmail.com> writes:
>
> > By defining `foo' with
> >
> > (defun foo (arg)
> >   (interactive "p" org-mode)
> >   (message "foo"))
> >
> > M-x foo is still available in elisp-mode.
>
> Try
>
> (setq read-extended-command-predicate
> 'command-completion-default-include-p)
>
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>

[-- Attachment #2: Type: text/html, Size: 1029 bytes --]

  reply	other threads:[~2021-08-16 13:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-16  5:31 "Command Discovery In Emacs " Jean-Christophe Helary
2021-08-16 11:38 ` Lars Ingebrigtsen
2021-08-16 12:29   ` Jean-Christophe Helary
2021-08-16 12:56     ` Lars Ingebrigtsen
2021-08-16 13:15       ` Jean-Christophe Helary
2021-08-16 13:23         ` Lars Ingebrigtsen
2021-08-16 13:33           ` Condy Chen
2021-08-16 13:43             ` Lars Ingebrigtsen
2021-08-16 13:46               ` Condy Chen [this message]
2021-08-16 14:58   ` Stephen Berman
2021-08-16 15:49     ` Eli Zaretskii
2021-08-16 16:13       ` Stephen Berman
2021-08-16 16:32         ` Eli Zaretskii
2021-08-16 17:17           ` Stephen Berman
2021-08-16 20:58             ` Stephen Berman
2021-08-16 20:59         ` Matthias Meulien

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

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

  git send-email \
    --in-reply-to=CAHO21CLpTXFEfKd8q0+VgzzxOc1ekpJws5h57s5K6zdyS_RR5g@mail.gmail.com \
    --to=condy0919@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=lists@traduction-libre.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.