unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Ashutosh Mehra <ashutoshmehra@gmail.com>
Cc: 2957@emacsbugs.donarmstrong.com
Subject: 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	[thread overview]
Message-ID: <m2eivzttms.fsf@igel.home> (raw)
In-Reply-To: <a7204c010904101952r7ababc1bne1a0264ddd893dcd@mail.gmail.com> (Ashutosh Mehra's message of "Sat, 11 Apr 2009 08:22:13 +0530")

Ashutosh Mehra <ashutoshmehra@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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."






  reply	other threads:[~2009-04-11  9:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jwvfxgcufla.fsf-monnier+emacsbugreports@gnu.org>
2009-04-11  2:52 ` bug#2957: 23.0.92; ucs-insert: Completion does not work correctly with Unicode Character Name Input Ashutosh Mehra
2009-04-11  9:41   ` Andreas Schwab [this message]
2009-04-11 13:57     ` Stefan Monnier
2009-04-13  7:42       ` Ashutosh Mehra
2009-04-14  2:45   ` bug#2957: marked as done (23.0.92; ucs-insert: Completion does not work correctly with Unicode Character Name Input) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2eivzttms.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=2957@emacsbugs.donarmstrong.com \
    --cc=ashutoshmehra@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).