bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#50042: acknowledged by developer (control message for bug #50042)


From: Lars Ingebrigtsen
Subject: bug#50042: acknowledged by developer (control message for bug #50042)
Date: Fri, 20 Aug 2021 15:09:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Simon Katz <sk@nomistech.com> writes:

>> The file for reproducing the problem was apparently mangled during
>> transmission, too.  Can you re-send the file as an attachment?
>
> Sure. Please find it attached.

Thanks.

When I hoisted the final waiting from the command, I totally didn't
notice that there was even more waiting there (in the case of a command
that had displayed a message).

I've now tweaked this further, and it now seems to work correctly in
all the message/no keybinding/keybinding cases, I think...

Can you test this, too, to see if I got all the cases right?  That is,
it shouldn't display anything if you do anything else before the
suggestion triggers, and it shouldn't inhibit entering other commands,
and...  er...  no other peculiarities.

One thing that is peculiar, but no more than before, is this bit:

                       ;; FIXME: Can be slow.  Cache it maybe?
                       (setq binding (execute-extended-command--shorter
                                      (symbol-name function) typed))))

It takes five seconds on my laptop, which means that these suggestion
arrive five seconds after I did the `M-x'.  But that hasn't changed
since before these patches.  

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

Attachment: demo-post-command-hook-slow-with-m-x-commands-v2.el
Description: application/emacs-lisp


reply via email to

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