From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#11338: 24.1.50; read-buffer-completion-ignore-case fails on one-character names Date: Wed, 25 Apr 2012 17:37:04 +0200 Message-ID: <87fwbryg9r.fsf@escher.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335368302 30784 80.91.229.3 (25 Apr 2012 15:38:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2012 15:38:22 +0000 (UTC) To: 11338@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 25 17:38:20 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SN4IN-0000QR-US for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Apr 2012 17:38:20 +0200 Original-Received: from localhost ([::1]:48788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN4IN-0001vB-3c for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Apr 2012 11:38:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN4IF-0001tU-So for bug-gnu-emacs@gnu.org; Wed, 25 Apr 2012 11:38:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SN4ID-0005yi-Jj for bug-gnu-emacs@gnu.org; Wed, 25 Apr 2012 11:38:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN4ID-0005yV-Fh for bug-gnu-emacs@gnu.org; Wed, 25 Apr 2012 11:38:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SN4J4-0003SO-Eg for bug-gnu-emacs@gnu.org; Wed, 25 Apr 2012 11:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Apr 2012 15:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11338 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.133536830213228 (code B ref -1); Wed, 25 Apr 2012 15:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Apr 2012 15:38:22 +0000 Original-Received: from localhost ([127.0.0.1]:52882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SN4IP-0003RI-NX for submit@debbugs.gnu.org; Wed, 25 Apr 2012 11:38:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34497) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SN4IO-0003R7-Cd for submit@debbugs.gnu.org; Wed, 25 Apr 2012 11:38:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SN4HM-0005iJ-Cu for submit@debbugs.gnu.org; Wed, 25 Apr 2012 11:37:21 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:58124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN4HM-0005hx-9f for submit@debbugs.gnu.org; Wed, 25 Apr 2012 11:37:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN4HH-0001iC-JL for bug-gnu-emacs@gnu.org; Wed, 25 Apr 2012 11:37:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SN4HF-0005fJ-Kr for bug-gnu-emacs@gnu.org; Wed, 25 Apr 2012 11:37:11 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:40557) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SN4HF-0005cg-0c for bug-gnu-emacs@gnu.org; Wed, 25 Apr 2012 11:37:09 -0400 Original-Received: (qmail invoked by alias); 25 Apr 2012 15:37:05 -0000 Original-Received: from i59F5438B.versanet.de (EHLO escher.home) [89.245.67.139] by mail.gmx.net (mp071) with SMTP; 25 Apr 2012 17:37:05 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/bYv8jNN3b4tOzwuAY4P6dfVrtmmH+aKnt6cXqo0 p+Q2WUQ39d4hWP User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59479 Archived-At: 0. emacs -Q 1. M-x customize-option RET read-buffer-completion-ignore-case RET. Toggle to "on", set for the current session. 2. Type `C-x b RET a', then `C-x b RET A', then `C-x b RET ahjk', then switch to buffer *scratch*. 3. C-x b a TAB => Emacs correctly reports: "[Complete, but not unique]" 4. TAB => *Completions* buffer contains, as expected: A a ahjk. 5. C-x k ahjk RET. 6. C-x b a TAB => Emacs incorrectly reports: "[Sole completion]". 7. C-x b A TAB => Emacs incorrectly reports: "[Sole completion]". In contrast, if I have files named `a' and `A', set read-file-name-completion-ignore-case to non-nil and type `C-x C-f a TAB', the *Completions* buffer shows, as expected, both `a' and `A'. In GNU Emacs 24.1.50.1 (i686-suse-linux-gnu, GTK+ Version 2.24.7) of 2012-04-18 on escher Bzr revision: 107959 cyd@gnu.org-20120418070052-e6bm11h52qja62ue Windowing system distributor `The X.Org Foundation', version 11.0.11004000 Configured using: `configure '--without-toolkit-scroll-bars' 'CFLAGS=-g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t