GNU bug report logs - #2957
23.0.92; ucs-insert: Completion does not work correctly with Unicode Character Name Input

Previous Next

Package: emacs;

Reported by: Ashutosh Mehra <ashutoshmehra <at> gmail.com>

Date: Sat, 11 Apr 2009 03:00:05 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 2957 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Ashutosh Mehra <ashutoshmehra <at> gmail.com>
Cc: 2957 <at> debbugs.gnu.org
Subject: Re: bug#2957: 23.0.92; ucs-insert: Completion does not work correctly with Unicode Character Name Input
Date: Sat, 11 Apr 2009 11:41:15 +0200
Ashutosh Mehra <ashutoshmehra <at> gmail.com> writes:

> 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. If I
> press RET at this point, I get the error message "ucs-insert: Not a
> Unicode character code: nil".

This is a problem with partial-completion.  You can continue with C-q
SPC, or move back before "letter" and insert either "capital" or
"small".

Here is a reduced testcase:

(completing-read "Type a SPC b TAB: " '("a 1 b" "a 1 b c" "a 1 b d" "a 2 b" "a 2 b c" "a 2 b d"))

The minibuffer contents become "a SPC SPC b", indicating that a word is
missing between "a" and "b".  Either partial-completion should move
point back to where the word is missing or accept SPC as input.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 16 years and 41 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.