From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: inputting characters by hexadigit Date: Wed, 23 Jul 2008 09:37:20 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <867ibcekf3.fsf@lifelogs.com> References: <868ww3vydn.fsf@lifelogs.com> <87myki6fqp.fsf@jurta.org> <87mykhz6tf.fsf@jurta.org> <87tzeokrku.fsf@jurta.org> <87od4wgg8p.fsf@catnip.gol.com> <86od4vmi5i.fsf@lifelogs.com> <873am6n21q.fsf@jurta.org> <87sku5if8t.fsf_-_@jurta.org> <87od4sti4g.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216823606 23252 80.91.229.12 (23 Jul 2008 14:33:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jul 2008 14:33:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 23 16:34:15 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KLfPp-0008Nf-Ru for ged-emacs-devel@m.gmane.org; Wed, 23 Jul 2008 16:34:06 +0200 Original-Received: from localhost ([127.0.0.1]:35012 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLfOw-00081f-9z for ged-emacs-devel@m.gmane.org; Wed, 23 Jul 2008 10:33:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLfOq-0007xG-1l for emacs-devel@gnu.org; Wed, 23 Jul 2008 10:33:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLfOo-0007tY-BW for emacs-devel@gnu.org; Wed, 23 Jul 2008 10:33:03 -0400 Original-Received: from [199.232.76.173] (port=45331 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLfOo-0007tI-6u for emacs-devel@gnu.org; Wed, 23 Jul 2008 10:33:02 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:58854 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KLfOn-0001oh-5A for emacs-devel@gnu.org; Wed, 23 Jul 2008 10:33:01 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KLfOf-0002Ip-Qr for emacs-devel@gnu.org; Wed, 23 Jul 2008 14:32:53 +0000 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Jul 2008 14:32:53 +0000 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Jul 2008 14:32:53 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:LPyHHj4s1UM2hCzSr5agOtvNen0= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:101312 Archived-At: On Sun, 20 Jul 2008 23:27:47 +0300 Juri Linkov wrote: JL> Thanks, I see now why it is necessary to skip these ranges. [patch to ucs-insert that includes read-char-by-name omitted] On Wed, 23 Jul 2008 06:44:51 -0700 "Drew Adams" wrote: >> > DA> This thread got off the ground because some thought >> > DA> that using an input method could be too heavy for >> > DA> inputting Unicode chars. OK, keep looking for a better >> > DA> (non "input method") input method, if you must. But >> > DA> please stay away from key chords and existing key bindings. >> > >> > I don't understand why we don't just provide an interactive >> > function and let the users pick the keybinding they like. >> > IMHO this is completely useless for many users (considering >> > input methods exist for particular languages and we've talked >> > about stacking multiple input methods), and essential for much >> > fewer people (who need to enter arbitrary Unicode characters >> > by number). >> >> Seems like a good suggestion to me if combined with Juri's >> latest suggestion. DA> +1 I tried Juri's patch. It works fine, but on my system it was pretty slow (and I have a decent, fast workstation). It took 3-5 seconds to display the list without byte-compiling the code (which I generally do when testing to be sure functions are not too slow). I worry that on a slow machine hitting TAB to see the completions will be painful. Can completions be cascaded somehow? The first tier would show all the common first words, e.g. ... AEGEAN APL GREEK ... and then selecting something from the first tier would cascade down to the second tier. This might actually be a sensible suggestion for any completion list with more than 100 or so members, and the tier separation can be done with the word syntax of the current mode. Anyhow, besides the speed issue, Juri's patch works fine for me and I can now insert ANKHs and GERMAN PENNY SYMBOLs anywhere I like :) Ted