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

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

Re: execute function in replace-regexp


From: tomas
Subject: Re: execute function in replace-regexp
Date: Sun, 1 Oct 2017 10:49:32 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Oct 01, 2017 at 10:44:23AM +0200, Emanuel Berg wrote:
> t wrote:
> 
> >  - There should be no space between the comma
> > and the paren: \,(...)
> >
> >  - I *think* you should string-quote the \1
> > (the \1 itself gets, AFAIR, replaced
> > literally: to have correct elisp you need
> > quotes, but I might be wrong on that)
> >
> > This would make:
> >
> >      \,(downcase "\1")
> 
> Did you get it to work? I did :)

Well, I admit I did a cursory test before spamming the list, yes :-)

> (progn
  [...]

Hmmm...

Cheers
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlnQrBwACgkQBcgs9XrR2kYJ0wCeLdDUIB0QFHdM31jeNWFpWHZE
4FgAninL8sw78P+SNrunG2tFiOb5jeMK
=ikcK
-----END PGP SIGNATURE-----



reply via email to

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