all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ashutosh Mehra <ashutoshmehra@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 2957@emacsbugs.donarmstrong.com, Andreas Schwab <schwab@linux-m68k.org>
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	[thread overview]
Message-ID: <a7204c010904130042n3a1b11c4k551c1574ff0abe09@mail.gmail.com> (raw)
In-Reply-To: <jwvab6n1h66.fsf-monnier+emacsbugreports@gnu.org>

>>> 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






  reply	other threads:[~2009-04-13  7:42 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
2009-04-11 13:57     ` Stefan Monnier
2009-04-13  7:42       ` Ashutosh Mehra [this message]
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

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

  git send-email \
    --in-reply-to=a7204c010904130042n3a1b11c4k551c1574ff0abe09@mail.gmail.com \
    --to=ashutoshmehra@gmail.com \
    --cc=2957@emacsbugs.donarmstrong.com \
    --cc=monnier@iro.umontreal.ca \
    --cc=schwab@linux-m68k.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.