all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: alruccaba@justmail.de
To: "Ralf Angeli"<dev.null@caeruleus.net>,help-gnu-emacs@gnu.org
Subject: Re: Re: replacement in string
Date: Tue, 03 Jun 2008 13:53:28 +0200	[thread overview]
Message-ID: <E1K3V4y-0001uC-DO@www2.emo.freenet-rz.de> (raw)

Yes, I already quoted the letter, please see below. Your quotation works but it produces an "a \ b" and not "a  b" what I intended to. I am struggeling with the commands (shell-command "command "c:/Dokumente und Einstellungen/.."")  I hope this works anyway in this case. Very Thanks.

----- original Nachricht --------

Betreff: Re: replacement in string
Gesendet: Di 03 Jun 2008 09:41:00 CEST
Von: "Ralf Angeli"<dev.null@caeruleus.net>

> * alruccaba@justmail.de (2008-06-03) writes:
> 
> > have an idea why this is it not working?:
> > replace-regexp-in-string "/" "\" "a / b")
> > I just want to replace every "/" through an "".
> > Debugger entered--Lisp error: (error "Invalid use of `\' in replacement
> text")
> 
> You have to quote the backslash:
> (replace-regexp-in-string "/" "\\" "a / b")
> 
> -- 
> Ralf
> 

--- original Nachricht Ende ----




Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E-MailDomain inkl.
http://office.freenet.de/dienste/emailoffice/produktuebersicht/power/mail/index.html





             reply	other threads:[~2008-06-03 11:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-03 11:53 alruccaba [this message]
2008-06-03 12:13 ` replacement in string Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1K3V4y-0001uC-DO@www2.emo.freenet-rz.de \
    --to=alruccaba@justmail.de \
    --cc=dev.null@caeruleus.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.