unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to concatenate a backslash to a string
@ 2006-11-27 16:37 Mirko
  2006-11-27 16:58 ` David Kastrup
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Mirko @ 2006-11-27 16:37 UTC (permalink / raw)


Hello group.

When in *scratch* I try
(concat "\\" "%")
I get "\\%"

But what I really want is to get "\%".   (I am trying to TeXify some
text and convert %->\%, $->\$, etc).

If I try (concat "\" "%") I get a syntax error because the \ is
escaping the ".

Many thanks,

Mirko

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-11-27 20:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-27 16:37 How to concatenate a backslash to a string Mirko
2006-11-27 16:58 ` David Kastrup
2006-11-27 20:37   ` Kevin Rodgers
2006-11-27 17:05 ` Robert Thorpe
2006-11-27 17:09 ` Perry Smith
     [not found] ` <mailman.1169.1164647400.2155.help-gnu-emacs@gnu.org>
2006-11-27 18:27   ` Mirko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).