[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] preserving case in casefold completion
From: |
Peder Stray |
Subject: |
[PATCH] preserving case in casefold completion |
Date: |
16 Sep 2001 02:42:30 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
If you use case folding completion, bash/readline often changes the case
of the word you try to complete even if there exist a possible
completion without changing case. Let's say you have two directories,
'Mail' and 'mail', the only two straring with '[Mm]a'. If you have typed
either 'Ma' or 'ma' and press TAB for completion you get either 'Mail'
or 'mail' depending on which of the direcories occur first in the
match_list (usually depending on witch of the two were returned first by
readdir). The fact that bash/readline is inconsistent in which
completion it uses, and that it changes case unnecessary, has lead me to
write a patch to fix the problem. enjoy.
--
[ IRL: Peder Stray ]
[ "A new life awaits you in the off world colonies" ]
bash-2.05-foldfix.patch
Description: fix for casefold completion problem
- [PATCH] preserving case in casefold completion,
Peder Stray <=