[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making `interactive' conditional
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: Making `interactive' conditional |
Date: |
Mon, 11 Jan 2016 16:13:20 +0100 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> I think it is reasonable to omit commands from M-x's completion,
> but refusing to run them is going to far in imposing on the user.
We could provide some sort of mechanism to allow running even if the
mode/predicate says we shouldn't, but I'm not sure that's all that
helpful.
For instance, if it's a command that doesn't run in read-only buffers
(that today has `barf-if-read-only' in the code of the command) has a
:when predicate that says the same thing, does it make sense to offer
the user to override that just because it's now been lifted up to the
`interactive' declaration?
Perhaps it does. I'm not sure, though.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Leaving out non-applicable commands on Mx, (continued)
- Re: Leaving out non-applicable commands on Mx, Yuri Khan, 2016/01/09
- 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 <=
- Re: Making `interactive' conditional, Stefan Monnier, 2016/01/11
- Re: Making `interactive' conditional, Óscar Fuentes, 2016/01/11
- RE: Making `interactive' conditional, Herring, Davis, 2016/01/11
- Re: Making `interactive' conditional, Óscar Fuentes, 2016/01/11
- RE: Making `interactive' conditional, Herring, Davis, 2016/01/11
- Re: Making `interactive' conditional, Óscar Fuentes, 2016/01/11
- Re: Making `interactive' conditional, Lars Magne Ingebrigtsen, 2016/01/11
- Re: Making `interactive' conditional, Clément Pit--Claudel, 2016/01/11
- Re: Making `interactive' conditional (was: Leaving out non-applicable commands on Mx), Alan Mackenzie, 2016/01/10
- Re: Making `interactive' conditional, Óscar Fuentes, 2016/01/10