unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Mirko" <mvukovic@nycap.rr.com>
Subject: How to concatenate a backslash to a string
Date: 27 Nov 2006 08:37:52 -0800	[thread overview]
Message-ID: <1164645471.961583.177410@j44g2000cwa.googlegroups.com> (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

             reply	other threads:[~2006-11-27 16:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-27 16:37 Mirko [this message]
2006-11-27 16:58 ` How to concatenate a backslash to a string 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

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1164645471.961583.177410@j44g2000cwa.googlegroups.com \
    --to=mvukovic@nycap.rr.com \
    /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.
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).