* Re: master 12578d6: Change how (declare (modes store the data
2021-02-20 14:50 ` master 12578d6: Change how (declare (modes store the data Stefan Monnier
@ 2021-02-20 14:53 ` Lars Ingebrigtsen
2021-02-21 6:19 ` Richard Stallman
2021-02-21 6:29 ` Richard Stallman
2 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2021-02-20 14:53 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> BTW, maybe the generalization is to replace the "completion-predicate"
> and the "command-modes" into a function that returns a *score*, with
> some convention where a score lower than X means the command can't
> possibly work, and score lower than Y means the command is too unlikely
> to be useful to be worth listing, a score higher than Y means that the
> command has a special affinity with the current situation (like "written
> for the current mode"), ...
That sounds useful, but it sounds like a really difficult thing to
relate to.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: master 12578d6: Change how (declare (modes store the data
2021-02-20 14:50 ` master 12578d6: Change how (declare (modes store the data Stefan Monnier
2021-02-20 14:53 ` Lars Ingebrigtsen
@ 2021-02-21 6:19 ` Richard Stallman
2021-02-21 20:13 ` Stefan Monnier
2021-02-21 6:29 ` Richard Stallman
2 siblings, 1 reply; 5+ messages in thread
From: Richard Stallman @ 2021-02-21 6:19 UTC (permalink / raw)
To: Stefan Monnier; +Cc: larsi, emacs-devel
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> BTW, maybe the generalization is to replace the "completion-predicate"
> and the "command-modes" into a function that returns a *score*, with
> some convention where a score lower than X means the command can't
> possibly work, and score lower than Y means the command is too unlikely
> to be useful to be worth listing, a score higher than Y means that the
> command has a special affinity with the current situation (like "written
> for the current mode"), ...
There must be no end to the levels of complexity we could put into this
feature, but this could be past the point of diminishing returns.
I suggest people stop making this more complicated and see how people
like it. In the mean time, we could work on improving other aspects
of Emacs.
--
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: master 12578d6: Change how (declare (modes store the data
2021-02-20 14:50 ` master 12578d6: Change how (declare (modes store the data Stefan Monnier
2021-02-20 14:53 ` Lars Ingebrigtsen
2021-02-21 6:19 ` Richard Stallman
@ 2021-02-21 6:29 ` Richard Stallman
2 siblings, 0 replies; 5+ messages in thread
From: Richard Stallman @ 2021-02-21 6:29 UTC (permalink / raw)
To: Stefan Monnier; +Cc: larsi, emacs-devel
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> BTW, maybe the generalization is to replace the "completion-predicate"
> and the "command-modes" into a function that returns a *score*, with
> some convention where a score lower than X means the command can't
> possibly work, and score lower than Y means the command is too unlikely
> to be useful to be worth listing, a score higher than Y means that the
> command has a special affinity with the current situation (like "written
> for the current mode"), ...
There must be no end to the levels of complexity we could put into this
feature, but this could be past the point of diminishing returns.
I suggest people stop making this more complicated and see how people
like it. In the mean time, we could work on improving other aspects
of Emacs.
--
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
^ permalink raw reply [flat|nested] 5+ messages in thread