emacs-devel
[Top][All Lists]
Advanced

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

Re: replace-regexp-in-string, using the dyn scoped variable STR


From: Lennart Borgman
Subject: Re: replace-regexp-in-string, using the dyn scoped variable STR
Date: Wed, 11 Nov 2009 21:40:51 +0100

On Wed, Nov 11, 2009 at 9:25 PM, Stefan Monnier
<address@hidden> wrote:
>> Sometimes it is necessary to use the variable str which is dynamically
>> scoped in replace-regexp-in-string. Below is an example of this.
>
> This is bad practice.  It may seem convenient in some cases, but we
> definitely do not want to encourage it.

That is ok with me, but then maybe we could find another way to to the
replacement in cases like this conventiently?




reply via email to

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