unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Gary ." <help-gnu-emacs@garydjones.name>
To: Help-gnu-emacs@gnu.org
Subject: Re: complete file at point in buffer - solution and questions
Date: Wed, 19 May 2010 14:53:33 +0200	[thread overview]
Message-ID: <AANLkTimTtyfSn1zqAeZ_xPHdX38HNgZZrfuq3wM3sBcW@mail.gmail.com> (raw)
In-Reply-To: <28606928.post@talk.nabble.com>

On Wed, May 19, 2010 at 1:30 PM, Dirk80 wrote:
>> 3.) In unix the file system is case sensitive. In windows OS the file
>> system is not case sensitive. But my function is always case sensitive.
...
> For this problem I found the solution:
>
> (let ((completion-ignore-case (memq system-type '(ms-dos windows-nt
> cygwin))))
> ...)

Please see the Cygwin FAQ:
"4.30. Is Cygwin case-sensitive??  Several Unix programs expect
to be able to use to filenames spelled the same way, but with
different case. A prime example of this is perl's configuration
script, which wants Makefile and makefile. Windows can't tell the
difference between files with just different case, so the
configuration fails.

To help with this problem, Cygwin supports casesensitivity
starting with Cygwin 1.7.0. For a detailed description how to use
that feature see the Cygwin User's Guilde at
http://cygwin.com/cygwin-ug-net/using-specialnames.html."

(http://cygwin.com/faq/faq-nochunks.html#faq.using.case-sensitive)

So basically, it looks like you shouldn't assume that in Cygwin
the files ABC and abc are the same file (nor assume that they are
different files...). Even without Cygwin, the filesystem being
accessed might still support case sensitivity (some kind of
network share, perhaps, or other remote system via tramp, are two
examples that spring to mind) - the OS that emacs is running on
isn't the best guide (and don't as me what is, as I don't know :-P )



  reply	other threads:[~2010-05-19 12:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18 19:37 complete file at point in buffer - solution and questions Dirk80
2010-05-19  4:48 ` Kevin Rodgers
2010-05-19 11:30 ` Dirk80
2010-05-19 12:53   ` Gary . [this message]
2010-05-19 11:46 ` Dirk80
     [not found] ` <mailman.2.1274268970.19035.help-gnu-emacs@gnu.org>
2010-05-19 19:07   ` Ilya Zakharevich

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=AANLkTimTtyfSn1zqAeZ_xPHdX38HNgZZrfuq3wM3sBcW@mail.gmail.com \
    --to=help-gnu-emacs@garydjones.name \
    --cc=Help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).