[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: case-insensitive partial-completion-mode issue]
From: |
Andreas Röhler |
Subject: |
Re: address@hidden: case-insensitive partial-completion-mode issue] |
Date: |
Fri, 7 Dec 2007 16:07:31 +0100 |
User-agent: |
KMail/1.9.5 |
Am Donnerstag, 6. Dezember 2007 22:43 schrieb Richard Stallman:
> AFAIS error is in line 555 of completion.el
>
> ;; Convert search pattern to a standard regular expression
> (setq regex (regexp-quote basestr)
>
> Value of `read-file-name-completion-ignore-case' seems
> not readed in.
>
> If `read-file-name-completion-ignore-case' is t,
> `regexp-quote' probably can't be used.
>
> How does that conclusion follow?
>
That was wrong probably. Point is elsewhere seen from today.
PC-do-completion calls
file-expand-wildcards in files.el
which calls in files.el Here the case question comes in:
(defun wildcard-to-regexp (wildcard)
"Given a shell file name pattern WILDCARD, return an equivalent regexp.
The generated regexp will match a filename only if the filename
matches that wildcard according to shell rules. Only wildcards known
by `sh' are supported."
:~/DIRECTORY> ls F*
FILE.TXT
:~/DIRECTORY> ls f*
ls: Zugriff auf f* nicht möglich: Datei oder Verzeichnis nicht gefunden
:~/DIRECTORY> ls -I f*
FILE.TXT
So expansion follows `case-fold-search'?
Seems
(let ((case-fold-search completion-ignore-case))
is the right path, just not the right place?
Andreas Röhler
- address@hidden: case-insensitive partial-completion-mode issue], Richard Stallman, 2007/12/05
- Re: address@hidden: case-insensitive partial-completion-mode issue], Andreas Röhler, 2007/12/06
- Re: address@hidden: case-insensitive partial-completion-mode issue], Andreas Röhler, 2007/12/06
- Re: address@hidden: case-insensitive partial-completion-mode issue], Richard Stallman, 2007/12/06
- Re: address@hidden: case-insensitive partial-completion-mode issue], Andreas Röhler, 2007/12/07
- Re: address@hidden: case-insensitive partial-completion-mode issue], Richard Stallman, 2007/12/07
- Re: address@hidden: case-insensitive partial-completion-mode issue], Andreas Röhler, 2007/12/08
- Re: address@hidden: case-insensitive partial-completion-mode issue], Richard Stallman, 2007/12/09
- Re: address@hidden: case-insensitive partial-completion-mode issue], Andreas Röhler, 2007/12/10
- Re: address@hidden: case-insensitive partial-completion-mode issue], Richard Stallman, 2007/12/10
- Re: address@hidden: case-insensitive partial-completion-mode issue], Andreas Röhler, 2007/12/10
- Re: address@hidden: case-insensitive partial-completion-mode issue], Richard Stallman, 2007/12/09