[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
double backslash problem in elisp
From: |
Xah Lee |
Subject: |
double backslash problem in elisp |
Date: |
Fri, 21 Aug 2009 02:43:18 -0700 (PDT) |
User-agent: |
G2/1.0 |
this is really a strang error.
eval this:
(replace-regexp-in-string "/" "\\" "//169.254.153.147/xah/Documents/
alice artwork scans/")
i get this error:
Debugger entered--Lisp error: (error "Invalid use of `\\' in
replacement text")
replace-match("\\" nil nil "/" nil)
replace-regexp-in-string("/" "\\" "//169.254.153.147/xah/Documents/
alice artwork scans/")
eval((replace-regexp-in-string "/" "\\" "//169.254.153.147/xah/
Documents/alice artwork scans/"))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp nil nil)
any idea why?
double backslash should mean single backslash as far as i knows...
basically am trying to prepare a path to feed to w32-shell-execute.
Xah
∑ http://xahlee.org/
☄
- double backslash problem in elisp,
Xah Lee <=
- Message not available