X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,TW_YG,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4BE1C039.8030107@gmail.com> Date: Wed, 05 May 2010 20:00:09 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cygpath from emacs References: <83sk66gqb7 DOT fsf AT garydjones DOT name> In-Reply-To: <83sk66gqb7.fsf@garydjones.name> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 05/05/2010 19:24, Gary wrote: > I often find myself running a piece of software from within emacs that > expects, and spits out, Windows-style paths ("C:\..."). Handling sending > it Windows paths based on the Cygwin ones is fine, I just use a > script. > > Of course, the tool returning Windows paths is a PITA, because it means > I can't do M-x next-error :( Is there a solution, a way to "capture > them" and transform them before they end up in the emacs buffer, maybe? > I feel I should be able to work this out myself, but my brain refuses to > bend around it :( So you have a script that transforms the paths on the command-line and launches the app... why doesn't the script /also/ capture the output and transform it back? cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple