[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12622: replace-regexp-in-string
From: |
Stefan Monnier |
Subject: |
bug#12622: replace-regexp-in-string |
Date: |
Fri, 12 Oct 2012 10:22:06 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
> Nonetheless consider it a design flaw, us it requires a argument taking
> function, where a expression just to evaluate would suffice.
You need some way to distinguish "here's an expression that will return
the string that needs to be passed as argument" from "here's the
expression that needs to be passed as argument, to be evaluated later in
each iteration of the loop". The distinction is made by wrapping the
expression in a `lambda'.
Stefan
- bug#12622: replace-regexp-in-string, Andreas Röhler, 2012/10/11
- bug#12622: replace-regexp-in-string, Andreas Schwab, 2012/10/11
- bug#12622: replace-regexp-in-string, Andreas Röhler, 2012/10/11
- bug#12622: replace-regexp-in-string, Andreas Schwab, 2012/10/11
- bug#12622: replace-regexp-in-string, Andreas Röhler, 2012/10/12
- bug#12622: replace-regexp-in-string, Andreas Schwab, 2012/10/12
- bug#12622: replace-regexp-in-string,
Stefan Monnier <=
- bug#12622: replace-regexp-in-string, Andreas Röhler, 2012/10/12
- bug#12622: replace-regexp-in-string, Stefan Monnier, 2012/10/12