all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: lode leroy <lode_leroy@hotmail.com>
To: <help-gnu-emacs@gnu.org>
Subject: case-sensitize filename
Date: Thu, 18 Sep 2008 10:00:56 +0200	[thread overview]
Message-ID: <BAY105-W25ABFCC272F85CD1B03065FF4F0@phx.gbl> (raw)


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



             reply	other threads:[~2008-09-18  8:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-18  8:00 lode leroy [this message]
2008-09-18 14:04 ` case-sensitize filename Lennart Borgman (gmail)
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=BAY105-W25ABFCC272F85CD1B03065FF4F0@phx.gbl \
    --to=lode_leroy@hotmail.com \
    --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.
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.