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: Thu, 24 Jul 2008 08:20:04 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86bq0nctbv.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> <867ibcekf3.fsf@lifelogs.com> <86tzegcq15.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216905364 10981 80.91.229.12 (24 Jul 2008 13:16:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jul 2008 13:16:04 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 24 15:16:52 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 1KM0gW-0006za-Ut for ged-emacs-devel@m.gmane.org; Thu, 24 Jul 2008 15:16:45 +0200 Original-Received: from localhost ([127.0.0.1]:46003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM0fd-0001DS-9X for ged-emacs-devel@m.gmane.org; Thu, 24 Jul 2008 09:15:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM0fY-0001Bc-JS for emacs-devel@gnu.org; Thu, 24 Jul 2008 09:15:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM0fY-0001BB-1H for emacs-devel@gnu.org; Thu, 24 Jul 2008 09:15:44 -0400 Original-Received: from [199.232.76.173] (port=56065 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM0fX-0001B8-Qb for emacs-devel@gnu.org; Thu, 24 Jul 2008 09:15:43 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:44767 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 1KM0fX-00015h-Mc for emacs-devel@gnu.org; Thu, 24 Jul 2008 09:15:43 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KM0fV-00089W-14 for emacs-devel@gnu.org; Thu, 24 Jul 2008 13:15:41 +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 ; Thu, 24 Jul 2008 13:15:41 +0000 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Jul 2008 13:15:41 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 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:SnVvI1GCyjilhICbYIDsd7wzVs0= 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:101380 Archived-At: On Wed, 23 Jul 2008 22:08:29 -0400 Stefan Monnier wrote: >> The advantage over categories, which you suggested, is that the >> completion code won't need categories supplied--it automatically gets >> them based on the word syntax, so it's less work for the programmer and SM> Maybe I misunderstand what you mean by word syntax. SM> Are you referring to something more like partial-completion-mode? That's close, but it looks for abbreviations rather than categories, and is nicest when you know the word you want in advance. When you don't, you still have to walk through the list of candidates. The essential problem is that more than 40 or so candidates are simply unusable--it's not just slow, it's unmanageable. You don't know what's at the end of the list until you go there, and by then you've forgotten what was at the beginning. With categories you end up with meaningful prefixes instead, as in my example. The category name is meaningful because the name of the thing you are completing is split in an informational way, not (as p-c-m does) by first letter, and then the first thing from the split string is used as the category. If this doesn't sound useful I'll drop it. Ted