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: Mon, 28 Jul 2008 09:00:17 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86od4i6rda.fsf@lifelogs.com> References: <868ww3vydn.fsf@lifelogs.com> <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> <86bq0nctbv.fsf@lifelogs.com> <86r69jb8z2.fsf@lifelogs.com> <005a01c8edae$beff6480$0ab32382@us.oracle.com> <008001c8edcb$b5276120$0ab32382@us.oracle.com> <4888E819.3050500@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1217253672 13985 80.91.229.12 (28 Jul 2008 14:01:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2008 14:01:12 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 28 16:02:02 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 1KNTIX-0005PJ-Cb for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2008 16:02:01 +0200 Original-Received: from localhost ([127.0.0.1]:40896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNTHd-0006oX-CO for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2008 10:01:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNTGk-0005ry-7e for emacs-devel@gnu.org; Mon, 28 Jul 2008 10:00:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNTGj-0005qa-4F for emacs-devel@gnu.org; Mon, 28 Jul 2008 10:00:09 -0400 Original-Received: from [199.232.76.173] (port=45442 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNTGi-0005qJ-Mr for emacs-devel@gnu.org; Mon, 28 Jul 2008 10:00:08 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:60511 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 1KNTGh-0000C9-W7 for emacs-devel@gnu.org; Mon, 28 Jul 2008 10:00:08 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KNTGc-0004NH-Pn for emacs-devel@gnu.org; Mon, 28 Jul 2008 14:00:02 +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 ; Mon, 28 Jul 2008 14:00:02 +0000 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Jul 2008 14:00:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 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:sF29bm398WNy23ey5l4KHsSoBFo= 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:101641 Archived-At: On Thu, 24 Jul 2008 22:37:45 +0200 "Lennart Borgman (gmail)" wrote: LB> Could not this be done by just renaming the C function completing-read LB> to completing-read-1 and then adding LB> (defun completing-read (prompt LB> collection LB> &optional predicate require-match LB> initial-input hist def LB> inherit-input-method) LB> ... documentation ... LB> (if completing-read-function LB> (funcall completing-read-function ...) LB> (completing-read-1 ...))) LB> to minibuffer.el? I've seen a lot of this monkey-patching in Gnus and I can't say I like it much. I forget who said that "if a function has more than 7 arguments you forgot some" but it's especially true with complicated functions like this. So rather than renaming the function to get more functionality, we should rethink the API and find ways to simplify it. Are you going to try to implement this? It seems like you're interested; my time is very limited currently so I won't be able to do it soon but I can help with testing and some code. Ted