[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Leaving out non-applicable commands on Mx
From: |
Yuri Khan |
Subject: |
Re: Leaving out non-applicable commands on Mx |
Date: |
Sat, 9 Jan 2016 15:05:50 +0600 |
On Sat, Jan 9, 2016 at 9:08 AM, Drew Adams <address@hidden> wrote:
> And that's also a feature of some "advanced completion
> systems". But it should not (except by user option) be
> the default behavior. The default behavior should be all
> candidates matching the input patterns and the completion
> predicate - no other "helpful" filtering unless requested
> by the user.
Emacs already contains a feature that filters out many defined
functions from M-x. It’s called (interactive). Functions that are not
declared interactive are not offered as completion candidates, and in
fact cannot be executed with M-x.
This proposal takes (interactive) to a new level, by allowing authors
to specify conditions under which a function should be considered
interactive.
True, some authors will get it wrong and specify too strict
conditions. They will eventually be fixed. Also, M-: is still there as
an escape hatch.
- Re: Leaving out non-applicable commands on Mx, (continued)
- Re: Leaving out non-applicable commands on Mx, Óscar Fuentes, 2016/01/08
- RE: Leaving out non-applicable commands on Mx, Drew Adams, 2016/01/08
- Re: Leaving out non-applicable commands on Mx, Óscar Fuentes, 2016/01/08
- Re: Leaving out non-applicable commands on Mx, Stefan Monnier, 2016/01/08
- RE: Leaving out non-applicable commands on Mx, Drew Adams, 2016/01/08
- RE: Leaving out non-applicable commands on Mx, Drew Adams, 2016/01/08
- Re: Leaving out non-applicable commands on Mx, Óscar Fuentes, 2016/01/08
- Re: Leaving out non-applicable commands on Mx,
Yuri Khan <=
- RE: Leaving out non-applicable commands on Mx, Drew Adams, 2016/01/09
- Making `interactive' conditional (was: Leaving out non-applicable commands on Mx), John Wiegley, 2016/01/09
- RE: Making `interactive' conditional (was: Leaving out non-applicable commands on Mx), Drew Adams, 2016/01/09
- RE: Making `interactive' conditional (was: Leaving out non-applicable commands on Mx), Drew Adams, 2016/01/11
- Re: Making `interactive' conditional, Lars Magne Ingebrigtsen, 2016/01/10
- Re: Making `interactive' conditional, Clément Pit--Claudel, 2016/01/10
- RE: Making `interactive' conditional, Drew Adams, 2016/01/10
- Message not available
- Re: Making `interactive' conditional, Artur Malabarba, 2016/01/10
- Re: Making `interactive' conditional, Richard Stallman, 2016/01/10
- Re: Making `interactive' conditional, Lars Magne Ingebrigtsen, 2016/01/11