From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ashutosh Mehra Newsgroups: gmane.emacs.bugs Subject: bug#2957: 23.0.92; ucs-insert: Completion does not work correctly with Unicode Character Name Input Date: Mon, 13 Apr 2009 13:12:41 +0530 Message-ID: References: Reply-To: Ashutosh Mehra , 2957@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239609896 2616 80.91.229.12 (13 Apr 2009 08:04:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Apr 2009 08:04:56 +0000 (UTC) Cc: 2957@emacsbugs.donarmstrong.com, Andreas Schwab To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 13 10:06:14 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LtHAq-0000fR-TF for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Apr 2009 10:05:54 +0200 Original-Received: from localhost ([127.0.0.1]:60611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtH9S-0005bb-EO for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Apr 2009 04:04:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LtH95-0005JG-O9 for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2009 04:03:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LtH91-0005GY-Kz for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2009 04:03:58 -0400 Original-Received: from [199.232.76.173] (port=49007 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtH90-0005GE-JP for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2009 04:03:54 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51104) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LtH8z-0000BH-W5 for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2009 04:03:54 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3D83oCi002592; Mon, 13 Apr 2009 01:03:50 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3D7o4RJ031183; Mon, 13 Apr 2009 00:50:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Ashutosh Mehra Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 13 Apr 2009 07:50:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2957 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2957-submit@emacsbugs.donarmstrong.com id=B2957.123960856529661 (code B ref 2957); Mon, 13 Apr 2009 07:50:04 +0000 Original-Received: (at 2957) by emacsbugs.donarmstrong.com; 13 Apr 2009 07:42:45 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3D7gfRD029655 for <2957@emacsbugs.donarmstrong.com>; Mon, 13 Apr 2009 00:42:42 -0700 Original-Received: by rv-out-0506.google.com with SMTP id f9so1940189rvb.1 for <2957@emacsbugs.donarmstrong.com>; Mon, 13 Apr 2009 00:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2ZZALaDGc1NL8Lw1PkSBcAdChgLLE3hWnohXB2lJ6Jc=; b=mg9rk3OWGNXF3b/xQWbe9LR5AP/vt1L2dhz9fqIRV0LRbAxlX5j85wt2ngx0hezHIt e6V+ZXO8gxlyNNVED++XiM/fCcnEDCow4R/qqCfp3/tSoe91gOxnZZ0MEKawRCgnP26K IR9lDCQ/wVycjwSWdDLGRFue3ZSjkIbOuNckY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ppIJn3528WreDDu7nuPsTYkzUIL1FUhhEpudGxq4N5kHDBSwzzDg97zEMr9Lt4IFXM oGPBwAN4G5OUrBKQdgHvugvk1TLI0bszr8ZgHO76VoWpkYqd+6Cr8Q2V5RmsgMtA+wCH xfVruccObQVEsarJreo+acIWO160QPd7mFYTE= Original-Received: by 10.142.241.15 with SMTP id o15mr2514002wfh.258.1239608561405; Mon, 13 Apr 2009 00:42:41 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 13 Apr 2009 04:03:58 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27121 Archived-At: >>> BUG DESCRIPTION: >>> When I type the following: >>> C-x 8 RET greek letter alpha >>> and press TAB, I get several choices for the greek letter alpha >>> variants. But I'm unable to type anything into the minibuffer (neither >>> SPC nor any character) -- Emacs just doesn't accept the input. > > I understand that SPC would signal an error, but any normal character > should be inserted in the minibuffer just fine. Do you really mean that > you can't type anything in the minibuffer, or just that anything you > type will later lead to a completion failure or to the error you mention: Yes, any normal character would get inserted (but not SPC). Sorry for the ambiguity. Also, I have to confess, I never noticed that partial completion inserted an extra space in the middle of "GREEK LETTER ALPHA" for me to type in CAPITAL/SMALL. > Actually, it's a problem with minibuffer-complete-word which sometimes > wants partial completion and sometimes doesn't. > The patch below provides an alternative way to choose between using > partial-completion and not, which is finer-grained and should fix the > above problem without reintroducing the problems it tried to fix, Stefan, I have emacs pretest 23.0.92.1, and could not apply your patch cleanly (~170 lines appear to have been added in your lisp/minibuffer.el before the first hunk, and the "string-match" was "string-match-p" in my version of minibuffer.el). So, I applied the changes manually, but the original behavior persisted. Emacs doesn't let me type a SPC (unless I use C-q SPC) after the partial input "GREEK LETTER ALPHA". I will anyway try out the coming pretests. Thanks Andreas and Stefan for looking into this so quickly. Ashutosh