delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/12/17:38:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Emacs: completion of buffer names ignores case
From: Eric Hanchrow <offby1 AT blarg DOT net>
Date: 12 Dec 2002 14:37:00 -0800
Message-ID: <87adjaeuer.fsf@blarg.net>
Lines: 33
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0

I'm using emacs-21.2-10.

I frequently want to switch to the buffer named `*shell*', so I type

        C-x b * s h e SPC RET

expecting that, since `*shell*' is the only buffer whose name begins
with `*she', the SPC will cause its complete name (`*shell*') to
appear in the minibuffer, and the RET will cause Emacs to switch to
it.  Instead, when there's a buffer named `*Shell Command Output*',
the name doesn't complete fully: after I hit RET, I'm looking at a
brand-new buffer named `*shell'.  This isn't what I wanted :(
                             
It's as if Emacs has decided to ignore case when completing what I've
typed.  Indeed, if I type TAB instead of RET, I see

    Click <mouse-2> on a completion to select it.
    In this buffer, type RET to select the completion near point.

    Possible completions are:
    *Shell Command Output*             *shell*

Now, I can understand that Emacs would ignore case when completing
file names on Windows, since Windows itself doesn't distinguish file
names by case.  But since Emacs does distinguish buffer names by case,
I expect it, when completing buffer names, to ignore a buffer whose
name differs in case from what I've typed.

Is this a bug?

-- 
PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5  C8BD 6337 0041 C01C 5276

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019