From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Danenberg Newsgroups: gmane.emacs.help Subject: Transforming Captures in replace-regexp Date: Sat, 17 Feb 2007 04:33:33 -0600 Message-ID: <20070217103333.GA6096@wikitex.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1171704814 20850 80.91.229.12 (17 Feb 2007 09:33:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Feb 2007 09:33:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 17 10:33:27 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HILwc-0006SF-Bh for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Feb 2007 10:33:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HILwb-00080G-S4 for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Feb 2007 04:33:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HILwN-0007zm-IJ for help-gnu-emacs@gnu.org; Sat, 17 Feb 2007 04:33:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HILwL-0007zY-UK for help-gnu-emacs@gnu.org; Sat, 17 Feb 2007 04:33:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HILwL-0007zV-PM for help-gnu-emacs@gnu.org; Sat, 17 Feb 2007 04:33:09 -0500 Original-Received: from server1.danenberg.name ([66.139.73.33] helo=wikitex.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HILwL-0001dP-Bk for help-gnu-emacs@gnu.org; Sat, 17 Feb 2007 04:33:09 -0500 Original-Received: from wikitex.org (localhost.localdomain [127.0.0.1]) by wikitex.org (8.13.6/8.13.6) with ESMTP id l1HAXXKE006373 for ; Sat, 17 Feb 2007 04:33:33 -0600 Original-Received: (from pcdanenb@localhost) by wikitex.org (8.13.6/8.13.6/Submit) id l1HAXXmk006372 for help-gnu-emacs@gnu.org; Sat, 17 Feb 2007 04:33:33 -0600 Content-Disposition: inline X-Face: $a3~EO""ba292eohR, J!N"2eand:aMy>J(-{~{k"O{a8JDps4%1w{5dsgLnP+wcY1sIJtfa #)E5 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41283 Archived-At: I'd like to transform captured groups from `replace- regexp', say, by iterating over the search results with an arbitrary function. To take a trivial example, I'd like to run `capitalize- region' on every \1 resulting from `\(.*\):'. Should I be interesting in something like Icicles?* Best, Peter ----------- * http://www.emacswiki.org/cgi-bin/emacs-en/Icicles