Issue834

classification
Title completion-ignore-case (partially) ignored in 21.5.31
Type defect Module core code 21.5
Severity inconvenience Platform N/A
Keywords Nosy List aidan, sbeasley
explanation
process
These controls should only be changed by committers and tracker administrators.
Status closed   Reason not our bug
Superseder  
Priority normal   Assigned To

Created on 2012-06-25.20:49:08 by sbeasley, last changed 2017-03-15.22:23:01 by aidan.

Messages
msg2439 [hidden] ([hidden]) Date: 2012-08-12.21:54:59
  Message-ID: <1344808500.14.0.694851605506.issue834@xemacs.org>
file-system-ignore-case-p seems to toggle based on OS, file system,
path, etc. I just want to turn it off. :)

Easiest thing was to redefine it in ~/.xemacs/custom.el to return true:

  (defun file-system-ignore-case-p (foo) t)

Unsure if it's the "right" solution, but it does what I need.

Thanks for the tip!
msg2437 [hidden] ([hidden]) Date: 2012-08-12.11:30:24
  Message-ID: <1344771025.23.0.996686301738.issue834@xemacs.org>
This is intentional. See the documentation of the function
`file-system-ignore-case-p' and `file-system-case-alist'.
msg2426 [hidden] ([hidden]) Date: 2012-06-25.20:49:07
I have access to two Linux systems, one with 21.4.22 and one with
21.5.31. I did this on both:

$ mkdir -p /tmp/foo
$ touch /tmp/foo/Bar.txt
$ cat /tmp/x.el
(setq load-home-init-file t)
(setq completion-ignore-case t)
(defun print-bar-txt ()
  ""
  (interactive)
  (insert (try-completion "b" (directory-files "/tmp/foo/")))
  )
(define-key global-map [(control t)] 'print-bar-txt)
$ xemacs -user-init-file /tmp/x.el

Then, in XEmacs:

C-x C-f /tmp/foo/b<tab>

XEmacs 21.4.22 completes "/tmp/foo/b<tab>" to "/tmp/foo/Bar.txt", but
21.5.31 does not.

Furthermore, C-t correctly inserts "Bar.txt" in 21.5.31, indicating that
try-completion does respect completion-ignore-case. (Hat tip to bpalmer
on irc.freenode.net#xemacs for pointing that out.)
History
Date User Action Args
2017-03-15 22:23:01aidansetstatus: done/needs work -> closed
2012-08-12 21:55:00sbeasleysetmessages: + msg2439
2012-08-12 11:30:25aidansetstatus: new -> done/needs work
assignedto: aidan
reason: not our bug
messages: + msg2437
nosy: + aidan
2012-06-25 20:49:08sbeasleycreate