help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using lisp in replacement string


From: Guido Van Hoecke
Subject: Re: using lisp in replacement string
Date: Wed, 24 Dec 2014 15:40:53 +0100

Hi Dimitry,

On 24 December 2014 at 15:27, Dmitry Gutov <dgutov@yandex.ru> wrote:

> 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?
>
​Not really, if you quote it, it replaces the formulas by the calc-eval
expression :(

Guido​


reply via email to

[Prev in Thread] Current Thread [Next in Thread]