Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 28 May 2004 12:33:53 +0900 (JST) Message-Id: <20040528.123353.60853229.haro@kgt.co.jp> To: cygwin AT cygwin DOT com Subject: Re: convert windows path to cygwin path in emacs From: haro AT kgt DOT co DOT jp In-Reply-To: <20040528.122554.01362887.haro@kgt.co.jp> References: <001401c44459$9b4d77a0$1bf8558a AT eamcs DOT ericsson DOT se> <20040528 DOT 122554 DOT 01362887 DOT haro AT kgt DOT co DOT jp> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Oops, sorry. I've read your message, the-other-way-around. cygwin-mount.el converts, '/cygdrive/c/some/where' into 'c:/some/where'. # it may give you a hint on how to program it your self... ;-) Sorry again, Haro From: haro AT kgt DOT co DOT jp Date: Fri, 28 May 2004 12:25:54 +0900 (JST) ::Hi, :: ::There is emacs-lisp file called 'cygwin-mount.el' on the net. ::I use it with my Meadow (emacs20 + Mule for Win32) and works ::pretty well. :: ::Hope this helps, :: Haro ::=----------------------------------------------------------------------- :: _ _ Munehiro (haro) Matsuda :: -|- /_\ |_|_| Kubota Graphics Technology Inc. :: /|\ |_| |_|_| 2-8-8 Shinjuku, Shinjuku-ku Tokyo 160-0022, Japan :: Tel: +81-3-3225-0767 Fax: +81-3-3225-0740 :: :: ::From: "Arthur Davis" ::Date: Thu, 27 May 2004 22:15:10 -0400 ::::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/ :::: -- 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/