emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Current mode command discovery


From: Lars Ingebrigtsen
Subject: Re: Current mode command discovery
Date: Thu, 18 Feb 2021 11:14:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Dmitry Gutov <dgutov@yandex.ru> writes:

> Bad phrasing, I guess.
>
> I'm referring to the same thing you do below: that byte-run--set-modes
> just sets the 'completion-predicate' property, instead of setting some
> transparent tag which any read-extended-command-predicate could
> interpret according to its own particular intent.

Oh, OK.

> Or both (interactive "p" ...) and (declare (modes ...)) should do
> something similar to what (declare (completion ...)) does (except use
> a different property).
>
> I'm curious to know whether the change in performance will be at all
> noticeable.

I guess the main performance difference is in loading the .elc files --
parsing and applying all the `put's.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]