[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making `interactive' conditional
From: |
Óscar Fuentes |
Subject: |
Re: Making `interactive' conditional |
Date: |
Mon, 11 Jan 2016 17:34:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
"Herring, Davis" <address@hidden> writes:
>> (and (not read-only) visiting-file)
>
> So now you can't invoke it in *scratch*?
I don't expect to use Lisp predicates, no. Allowing those when the
filtering is executed has unbounded time complexity.
> Of course, you can come up with another refinement to the condition
> (e.g., mode-class). My point is merely that writing these predicates
> is very subtle when the standard is not "is this command likely to
> work when invoked" (in which case you wouldn't be bothering with
> "visiting-file") but rather "is the user plausibly looking for this
> command in the list".
Filtering out editing commands when the buffer is not meant to be edited
in any case enters into the "the user plausibly is not looking for this
command" category.
- RE: Making `interactive' conditional (was: Leaving out non-applicable commands on Mx), (continued)
- 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
- 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 <=
- 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
- RE: Making `interactive' conditional, Drew Adams, 2016/01/10
- Re: Making `interactive' conditional, Óscar Fuentes, 2016/01/10
- RE: Making `interactive' conditional, Drew Adams, 2016/01/10
- Re: Making `interactive' conditional, Óscar Fuentes, 2016/01/10