unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org, Kenichi Handa <handa@m17n.org>
Subject: Re: faster unicode character name completion
Date: Mon, 07 Dec 2009 16:42:30 -0500	[thread overview]
Message-ID: <jwv4oo24g6b.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87ws0yttoj.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 07 Dec 2009 22:28:44 +0200")

>> So the patch below seems to be a good compromise: it uses up just about
>> 1000K cons cells (i.e. 16KB on 64bit systems) to keep the precomputed
   ^^^^^
should be 1000 or 1K, of course.

> BTW, a related problem: it would be better to hide old obsolete Unicode
> names to not advertise them, but still allow completions on them.
> For instance, duplicate names such as

>   name: LATIN CAPITAL LETTER A WITH ACUTE
>   old-name: LATIN CAPITAL LETTER A ACUTE

> add too much noise.

Note that for the code 0-31, it seems that the oldname is more useful
than the new one (which ssems to just be "<control>" for all of them).
Not sure if there are others in the same situation.

> Maybe to use the same approach as used for
> `completion-ignored-extensions', i.e. to ignore old names, but don't
> ignore if all possible completions end in one of them.

It'd be easy to do, but I'm not sure it's worth the trouble.


        Stefan




  reply	other threads:[~2009-12-07 21:42 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-30 19:55 Emacs 23.2 pretest freeze? Karl Fogel
2009-11-30 22:48 ` Chong Yidong
2009-11-30 23:05   ` Karl Fogel
2009-12-02 13:34   ` Alan Mackenzie
2009-12-03 21:35 ` Emacs 23.2 Pretest next week Chong Yidong
2009-12-04 11:23   ` faster unicode character name completion Kenichi Handa
2009-12-04 12:08     ` Deniz Dogan
2009-12-04 13:04     ` Juanma Barranquero
2009-12-04 13:26     ` Florian Beck
2009-12-04 15:07     ` Stefan Monnier
2009-12-04 22:38       ` Miles Bader
2009-12-07  2:00       ` Kenichi Handa
2009-12-07  8:13         ` Kenichi Handa
2009-12-07 14:57         ` Stefan Monnier
2009-12-07 20:28           ` Juri Linkov
2009-12-07 21:42             ` Stefan Monnier [this message]
2009-12-08  1:59               ` Miles Bader
2009-12-08  1:45           ` Kenichi Handa
2009-12-08  2:29             ` Stefan Monnier
2009-12-09  0:12             ` Chong Yidong
2009-12-09  0:57               ` Kenichi Handa
2009-12-09  9:02                 ` Deniz Dogan
2009-12-04 19:04   ` Emacs 23.2 Pretest next week Dan Nicolaescu
2009-12-04 21:15     ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv4oo24g6b.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    --cc=juri@jurta.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).