all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: lode leroy <lode_leroy@hotmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: case-sensitize filename
Date: Thu, 18 Sep 2008 16:04:28 +0200	[thread overview]
Message-ID: <48D25FEC.60809@gmail.com> (raw)
In-Reply-To: <BAY105-W25ABFCC272F85CD1B03065FF4F0@phx.gbl>

lode leroy wrote:
> Hello,
> 
> I would like to know if there is an easy way to convert a file path
> that has been converted to all-lowercase back to the properly cased version?
> 
> I have the following usecase:
> 
> cl /c C:\Projects\MyProject\MyProgramFile.cpp
> c:\projects\myproject\myprogramfile.cpp(42): error C1234: 'CMyClass': undeclared
> 
> next-error -> c:\projects\myproject\myprogramfile.cpp
> 
> now next-error opens the correct file, but with the wrong buffer name ...

Looks like a bug somewhere. What version of Emacs are you using?

> I'd like to compensate for that...
> 
> next-error -> C:\Projects\MyProject\src\MyProgramFile.cpp
> 
> 
> Actually, the build files copy everything into "build" first, 
> and emacs should open the file in "src", but I already got some elisp to take care of that...
> 
> cl /c C:\Projects\MyProject\build\MyProgramFile.cpp
> c:\projects\myproject\build\myprogramfile.cpp(42): error C1234: 'CMyClass': undeclared
> 
> next-error -> C:\Projects\MyProject\src\MyProgramFile.cpp
> 
> 
> _________________________________________________________________
> News, entertainment and everything you care about at Live.com. Get it now!
> http://www.live.com/getstarted.aspx
> 
> 




  reply	other threads:[~2008-09-18 14:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-18  8:00 case-sensitize filename lode leroy
2008-09-18 14:04 ` Lennart Borgman (gmail) [this message]
2008-09-19  7:27   ` lode leroy

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=48D25FEC.60809@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lode_leroy@hotmail.com \
    /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.