[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Making `interactive' conditional
From: |
Herring, Davis |
Subject: |
RE: Making `interactive' conditional |
Date: |
Tue, 12 Jan 2016 04:46:16 +0000 |
>>> (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.
I didn't mean "the object that describes the applicability conditions is not a
form"; I meant that a command defined with that constraint would not be usable
in *scratch* because it would fail the "visiting-file" condition.
> 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.
Like `kill-line', which is totally useless in a read-only buffer, right?
Again, I'm not claiming these problems are insurmountable -- just that it's
very hard to get right, because the exceptional cases are numerous.
Davis
- Re: Making `interactive' conditional, (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, 2016/01/11
- RE: Making `interactive' conditional,
Herring, Davis <=
- 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
- RE: Making `interactive' conditional (was: Leaving out non-applicable commands on Mx), Drew Adams, 2016/01/10