[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
Re: using lisp in replacement string, Nicolas Richard, 2014/12/24
Re: using lisp in replacement string, Andreas Röhler, 2014/12/25