monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] emacs merge on Win32


From: Stephen Leake
Subject: Re: [Monotone-devel] emacs merge on Win32
Date: Fri, 31 Aug 2007 04:17:18 -0400
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)

Stephen Leake <address@hidden> writes:

> ... For example, a typical file is:
>
> "C:\DOCUME~1\stephe\LOCALS~1\Temp/mtn.left.QEBJ8B"
>
> Emacs lisp turns this into:
>
> "C:DOCUME~1 tepheLOCALS~1Temp/mtn.left.QEBJ8B"
>
> Escaping the backslashes is straightforward; they just need a
> preceding backslash:
>
> "C:\\DOCUME~1\\stephe\\LOCALS~1\\Temp/mtn.left.QEBJ8B"
>
> Alternately, they could be converted to forward slashes (Emacs handles
> either):
>
> "C:/DOCUME~1/stephe/LOCALS~1/Temp/mtn.left.QEBJ8B"
>
> Is there already a Lua function that does that, or something
> similar?

Found it in the Lua manual; string.gsub

-- 
-- Stephe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]