GNU bug report logs - #23377
25.0.93; Completion is extremely slow for insert-char

Previous Next

Package: emacs;

Reported by: nljlistbox2 <at> gmail.com (N. Jackson)

Date: Tue, 26 Apr 2016 00:26:01 UTC

Severity: normal

Tags: confirmed, patch, wontfix

Found in version 25.0.93

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #42 received at 23377 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: "N. Jackson" <nljlistbox2 <at> gmail.com>, Eli Zaretskii <eliz <at> gnu.org>,
 Drew Adams <drew.adams <at> oracle.com>, 23377 <at> debbugs.gnu.org
Subject: Re: bug#23377: 25.0.93; Completion is extremely slow for insert-char
Date: Tue, 26 Apr 2016 08:49:39 -0700
[Message part 1 (text/plain, inline)]
On 04/26/2016 04:51 AM, Stefan Monnier wrote:
> It's not adding a feature.  It's disabling a feature with an easy to use
> switch to re-enable it.
> Don't make it a defcustom, just a defvar.

OK, thanks, that's easy. Proposed patch (to emacs-25) attached.

On my platform the performance is pretty bad without this, even without 
listing all the characters. I particularly notice it when I run Emacs 
over X from my office to home, something that's normally quite 
tolerable. I had already noticed this performance problem, but hadn't 
gotten around to looking into it until N. Jackson's bug report made it 
clear I wasn't alone.

In the long run there are some things we can do to improve things (e.g., 
not compute menu items until displayed, not display those ugly boxed and 
useless hexadecimal numbers, use a better menu that lets users choose 
characters by shape rather than just by name, etc.) that could let us 
turn annotation on by default, but that all needs to wait until after 
Emacs 25 comes out.

[0001-insert-char-annotates-names-only-on-request.patch (application/x-patch, attachment)]

This bug report was last modified 6 years and 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.