all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@online.de>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: [ra5ul@comcast.net: case-insensitive partial-completion-mode issue]
Date: Thu, 6 Dec 2007 09:02:18 +0100	[thread overview]
Message-ID: <200712060902.19961.andreas.roehler@online.de> (raw)
In-Reply-To: <E1IxXoh-0008Oq-IT@fencepost.gnu.org>

Am Donnerstag, 6. Dezember 2007 03:11 schrieb Richard Stallman:
> [I sent this message a week ago but did not get a response.]
>
> Would someone please fix this and ack?
> The trunk is enough.
>
> ------- Start of forwarded message -------
> X-Spam-Status: No, score=1.4 required=5.0 tests=DNS_FROM_RFC_POST,
> 	UNPARSEABLE_RELAY autolearn=no version=3.1.0
> Mime-Version: 1.0 (Apple Message framework v752.2)
> Content-Type: text/plain; charset=US-ASCII; format=flowed
> Message-Id: <EA657C97-03FD-48A3-8C57-D41293F6665E@comcast.net>
> From: rahul <ra5ul@comcast.net>
> Date: Tue, 27 Nov 2007 17:07:01 -0800
> To: bug-gnu-emacs@gnu.org
> Subject: case-insensitive partial-completion-mode issue
>
> (setq partial-completion-mode t)
> (setq read-file-name-completion-ignore-case t)
>
> C-x C-f fi <tab> completes to FILE.TXT
> C-x C-f DI/FI <tab> completes to DIRECTORY/FILE.TXT
>
> but, C-x C-f di/fi <tab> won't complete to DIRECTORY/FILE.TXT
>
> i found a similar bug in emacs-devel:
> http://lists.gnu.org/archive/html/emacs-devel/2006-11/msg00706.html
>
> and a recent patch for it:
> http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg00053.html
>
> but it didn't fix this problem (tested against current cvs).
> ------- End of forwarded message -------


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.

If I'm right so far, a case-folding `regexp-quote' is
needed.

Probably such a form is already written somewhere. Any
help appreciated.

Andreas Röhler

  reply	other threads:[~2007-12-06  8:02 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-29  1:03 [ra5ul@comcast.net: case-insensitive partial-completion-mode issue] Richard Stallman
2007-12-06  8:02 ` Andreas Röhler [this message]
2007-12-06 21:43   ` Richard Stallman
2007-12-07 15:07     ` Andreas Röhler
2007-12-06  8:49 ` Andreas Röhler
2007-12-06 21:43   ` Richard Stallman
2007-12-07 13:04     ` Andreas Röhler
2007-12-08  0:04       ` Richard Stallman
2007-12-08 12:12         ` Andreas Röhler
2007-12-09 12:37           ` Richard Stallman
2007-12-10  6:37             ` Andreas Röhler
2007-12-10 15:18               ` Richard Stallman
2007-12-10 17:03                 ` Andreas Röhler
2007-12-09 12:37           ` Richard Stallman
2007-12-10  7:34             ` Andreas Röhler
2007-12-10 15:19               ` Richard Stallman
2007-12-10 17:17                 ` Andreas Röhler
2007-12-11 19:00                   ` Richard Stallman
2007-12-12  7:11                     ` Andreas Röhler
2007-12-12 22:52                       ` Richard Stallman
2007-12-14 21:28                         ` Andreas Röhler
2007-12-16 19:35                           ` Richard Stallman
2007-12-14 21:52                       ` Sven Joachim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200712060902.19961.andreas.roehler@online.de \
    --to=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.