GNU bug report logs - #12615
24.2.50; Non-ignored case in insert-char

Previous Next

Package: emacs;

Reported by: Harald Hanche-Olsen <hanche <at> math.ntnu.no>

Date: Wed, 10 Oct 2012 15:39:02 UTC

Severity: normal

Found in version 24.2.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#12615: closed (24.2.50; Non-ignored case in insert-char)
Date: Thu, 11 Oct 2012 20:14:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 11 Oct 2012 16:12:41 -0400
with message-id <jwvpq4oix91.fsf-monnier+emacs <at> gnu.org>
and subject line Re: bug#12615: 24.2.50; Non-ignored case in insert-char
has caused the debbugs.gnu.org bug report #12615,
regarding 24.2.50; Non-ignored case in insert-char
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
12615: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12615
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Harald Hanche-Olsen <hanche <at> math.ntnu.no>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.50; Non-ignored case in insert-char
Date: Wed, 10 Oct 2012 17:36:58 +0200 (CEST)
Starting with emacs -Q:

Evaluate the following in the *scratch* buffer:
(make-local-variable 'completion-ignore-case)
Then type: C-x 8 C-m a TAB

Expected result:
  A completion list of unicode names starting with the letter A.
Actual result:
  [no match]

Some observations: C-x 8 C-m is bound to insert-char, a C function.
And insert-char calls read-char-by-name, which let-binds
completion-ignore-case to t. The clear intention is that unicode name
searches should always be case insensitive, and this seems always to
be the case if completion-ignore-case is not buffer local.

Setting completion-ignore-case to t in the *scratch* buffer still does
not help.

In GNU Emacs 24.2.50.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47)
 of 2012-09-24 on airy
Bzr revision: 110175 rgm <at> gnu.org-20120924063102-7nllu1xpqi4f24n7
Windowing system distributor `Apple', version 10.3.1138
Configured using:
 `configure '--with-ns''

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

I have also seen this on a quite recent emacs on x86_64-unknown-linux-gnu.

- Harald


[Message part 3 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Harald Hanche-Olsen <hanche <at> math.ntnu.no>
Cc: 12615-done <at> debbugs.gnu.org
Subject: Re: bug#12615: 24.2.50; Non-ignored case in insert-char
Date: Thu, 11 Oct 2012 16:12:41 -0400
>> Indeed, a buffer-local setting of completion-ignore-case can
>> bring surprises.  I think the patch below will fix this problem for this
>> particular case.
> Indeed it does.

Thanks, installed,


        Stefan


This bug report was last modified 3 years and 36 days ago.

Previous Next


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