delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <001401c44459$9b4d77a0$1bf8558a@eamcs.ericsson.se> |
From: | "Arthur Davis" <nospam AT nospam DOT org> |
To: | <cygwin AT cygwin DOT com> |
Subject: | convert windows path to cygwin path in emacs |
Date: | Thu, 27 May 2004 22:15:10 -0400 |
MIME-Version: | 1.0 |
X-Virus-Scanned: | Symantec AntiVirus Scan Engine |
Note-from-DJ: | This may be spam |
I've found that I can drag and drop files onto a shortcut to emacsclient and the file will open in emacs - well sort of... Actually, it gives me a new buffer named the windows pathname. For instance, if I drag c:\path\file.txt onto my shortcut, I get a new buffer named c:\path\file.txt. It would seem like an easy task to add a hook for opening a file that would look for filenames of this form and convert them to /cygdrive/c/path/file.txt. However, I'm not a lisp programmer and don't know where to start. Has anyone done this already? Any pointers? Thanks, Arthur -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |