unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* case-sensitize filename
@ 2008-09-18  8:00 lode leroy
  2008-09-18 14:04 ` Lennart Borgman (gmail)
  0 siblings, 1 reply; 3+ messages in thread
From: lode leroy @ 2008-09-18  8:00 UTC (permalink / raw)
  To: help-gnu-emacs


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 ...
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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-19  7:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-18  8:00 case-sensitize filename lode leroy
2008-09-18 14:04 ` Lennart Borgman (gmail)
2008-09-19  7:27   ` lode leroy

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).