www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/05/14:41:17

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 <dave DOT korn DOT cygwin AT googlemail DOT com>
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>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019