all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: "Andreas Röhler" <andreas.roehler@online.de>
Cc: emacs-devel@gnu.org
Subject: Re: [ra5ul@comcast.net: case-insensitive partial-completion-mode issue]
Date: Mon, 10 Dec 2007 10:19:09 -0500	[thread overview]
Message-ID: <E1J1kPV-0005cG-76@fencepost.gnu.org> (raw)
In-Reply-To: <200712100834.15483.andreas.roehler@online.de> (message from Andreas Röhler on Mon, 10 Dec 2007 08:34:14 +0100)

    (defun my-directory-files ()
      " "
      (interactive)
      (setq case-fold-search nil)
      (message "%s" (directory-files default-directory t "f*"))
      (setq case-fold-search t)
      (message "%s" (directory-files default-directory t "f*"))
      (setq case-fold-search nil)
      (message "%s" (directory-files default-directory t "F*"))
      (setq case-fold-search t)
      (message "%s" (directory-files default-directory t "F*")))

directory-files is supposed to ignore case
if the system treats file names as case-insensitive.
It does not obey case-fold-search.

    ;;; ==> (MY-PATH/DIRECTORY/DIRECTORY/. MY-PATH/DIRECTORY/DIRECTORY/.. 
    MY-PATH/DIRECTORY/DIRECTORY/FILE.TXT) [4 times]

What system are you using?


Perhaps we need something like directory-files which does obey
case-fold-search.  Is that the issue?

  reply	other threads:[~2007-12-10 15:19 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
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 [this message]
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=E1J1kPV-0005cG-76@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=andreas.roehler@online.de \
    --cc=emacs-devel@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.