all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* double backslash problem in elisp
@ 2009-08-21  9:43 Xah Lee
  2009-08-21 10:11 ` Teemu Likonen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Xah Lee @ 2009-08-21  9:43 UTC (permalink / raw)
  To: help-gnu-emacs


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/^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-08-22 21:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-21  9:43 double backslash problem in elisp Xah Lee
2009-08-21 10:11 ` Teemu Likonen
2009-08-22  1:18 ` Kevin Rodgers
     [not found] ` <mailman.5099.1250903947.2239.help-gnu-emacs@gnu.org>
2009-08-22  2:42   ` Xah Lee
2009-08-22 21:39     ` Kevin Rodgers
2009-08-22 21:01   ` John A Pershing Jr

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.