From: Dmitry Gutov <dgutov@yandex.ru>
To: Guido Van Hoecke <guivho@gmail.com>, help-gnu-emacs@gnu.org
Subject: Re: using lisp in replacement string
Date: Wed, 24 Dec 2014 16:27:29 +0200 [thread overview]
Message-ID: <549ACD51.300@yandex.ru> (raw)
In-Reply-To: <m2tx0lcegf.fsf@gmail.com>
On 12/24/2014 04:25 PM, Guido Van Hoecke wrote:
> (replace-regexp "|\\([^|]*\\)|" \\,(calc-eval \\1) nil (point-min)(point-max))
> but this causes Debugger entered--Lisp error: (void-variable \\)
The second argument doesn't look like a string to me. Are you missing
the quotes?
next prev parent reply other threads:[~2014-12-24 14:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-24 14:25 using lisp in replacement string Guido Van Hoecke
2014-12-24 14:27 ` Dmitry Gutov [this message]
2014-12-24 14:40 ` Guido Van Hoecke
2014-12-24 14:52 ` Dmitry Gutov
[not found] ` <CAEySM9GB6z1yBJSy8AzwN4a6LK4KRQBYQZ2-fZRDtmQ0XTCYng@mail.gmail.com>
2014-12-24 16:25 ` Guido Van Hoecke
[not found] ` <mailman.16678.1419438348.1147.help-gnu-emacs@gnu.org>
2014-12-24 16:43 ` Barry Margolin
2014-12-24 21:36 ` ronaldo.mercado
2014-12-24 14:56 ` Nicolas Richard
2014-12-25 9:25 ` Andreas Röhler
2014-12-25 11:50 ` Guido Van Hoecke
[not found] <mailman.16672.1419431131.1147.help-gnu-emacs@gnu.org>
2014-12-29 4:40 ` Emanuel Berg
2014-12-29 17:55 ` Guido Van Hoecke
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=549ACD51.300@yandex.ru \
--to=dgutov@yandex.ru \
--cc=guivho@gmail.com \
--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.
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).