Re: case-sensitize filename
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: case-sensitize filename         

Group: gnu.emacs.help · Group Profile
Author: Lennart Borgman (gmail)
Date: Sep 18, 2008 07:04

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
>
>
no comments
diggit! del.icio.us! reddit!