🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99962

completion-ignore-case

#99962
From: Arthur Gleckler
Date: Thu, 12 Apr 1990 20:30
38 lines
1913 bytes
I have

  (setq completion-ignore-case t)

in my .emacs file.  Unfortunately, this causes the following bug:

Assume there is a buffer called 'TAGS', but no other buffer starting
with 'tag' (either upper or lower case).  If I type

  C-x b tag [TAB]			 (note that 'tag' is singular)

the message in the Echo Area is

  Switch to buffer: (default foo) TAGS

and if I then press [ENTER], Emacs will select the TAGS buffer.  Note
that when I typed [TAB] to complete 'tag', the buffer name was
converted to upper case.  On the other hand, if I type

  C-x b tags [TAB]			  (note that 'tags' is plural)

the message in the Echo Area is

  Switch to buffer: (default foo) tags [Sole completion]

and if I then press [ENTER], Emacs will not select the TAGS buffer,
but instead will make a new buffer called 'tags'.  This is wrong,
because Emacs explicitly told me that 'tags' was the '[Sole completion]'.
To be consistent in this case, Emacs should convert 'tags' to 'TAGS'
when I hit [TAB].

Of course, if a 'tags' buffer already exists, it makes perfect sense
not to convert its name to uppercase.  However, since in this case
Emacs tells you 'tags [Sole completion]', it should convert to
uppercase, since that is in fact the completion.

Happy hacking!
Technical Details
Message-ID: <9004122030.AA02891@zurich.ai.mit.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ZURICH.AI.MIT.EDU!arthur

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,f96f5fbc5b0b0905,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-04-12 13:30:29 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ZURICH.AI.MIT.EDU!arthur
From: arthur@ZURICH.AI.MIT.EDU (Arthur Gleckler)
Newsgroups: gnu.emacs.bug
Subject: completion-ignore-case
Message-ID: <9004122030.AA02891@zurich.ai.mit.edu>
Date: 12 Apr 90 20:30:29 GMT
Sender: karl_kleinpaste@tut.cis.ohio-state.edu
Reply-To: arthur@zurich.ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 38
Posted: Thu Apr 12 21:30:29 1990