all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* execute function in replace-regexp
@ 2017-10-01  3:22 Emanuel Berg
  2017-10-01  7:55 ` tomas
  2017-10-01 18:41 ` Marcin Borkowski
  0 siblings, 2 replies; 9+ messages in thread
From: Emanuel Berg @ 2017-10-01  3:22 UTC (permalink / raw)
  To: help-gnu-emacs

How can I execute a Lisp function, namely
`downcase', on the match from `replace-regexp'?

I Googled it and found [1] the syntax

    \, (downcase \1)

but doesn't get executed, just replaced as is.

[1] https://emacs.stackexchange.com/questions/26492/how-do-i-lowercase-downcase-a-group-with-replace-regexp

-- 
underground experts united
http://user.it.uu.se/~embe8573




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-10-02  8:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-01  3:22 execute function in replace-regexp Emanuel Berg
2017-10-01  7:55 ` tomas
2017-10-01  8:44   ` Emanuel Berg
2017-10-01  8:49     ` tomas
2017-10-01 18:41 ` Marcin Borkowski
2017-10-01 20:26   ` Emanuel Berg
2017-10-02  4:49     ` Marcin Borkowski
2017-10-02  8:11       ` Emanuel Berg
2017-10-02  7:08   ` tomas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.