From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Garbade Newsgroups: gmane.emacs.help Subject: replace-regexp in lisp function Date: Mon, 18 Jan 2010 10:29:07 +0100 Message-ID: <14f08d7e1001180129h256f77c0i7e23945ff5a78347@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1263815480 8787 80.91.229.12 (18 Jan 2010 11:51:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Jan 2010 11:51:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 18 12:51:13 2010 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 1NWq8S-0001FY-Go for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Jan 2010 12:51:08 +0100 Original-Received: from localhost ([127.0.0.1]:52382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWq8T-0003Wd-2p for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Jan 2010 06:51:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWnv9-0001SY-Hx for help-gnu-emacs@gnu.org; Mon, 18 Jan 2010 04:29:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWnv4-0001S2-34 for help-gnu-emacs@gnu.org; Mon, 18 Jan 2010 04:29:14 -0500 Original-Received: from [199.232.76.173] (port=49414 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWnv3-0001Rz-TL for help-gnu-emacs@gnu.org; Mon, 18 Jan 2010 04:29:09 -0500 Original-Received: from mail-ew0-f224.google.com ([209.85.219.224]:52217) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWnv3-0002ob-Ck for help-gnu-emacs@gnu.org; Mon, 18 Jan 2010 04:29:09 -0500 Original-Received: by ewy24 with SMTP id 24so3261073ewy.26 for ; Mon, 18 Jan 2010 01:29:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=wxNEhOJm+8SOxaTpPfWFD6Zm8uXeaoJddqsLjucz6RE=; b=lMjYQSi5rtuL5F2DSLb7n2NCrjoKjxdCHUeEkf/pEfxyUlmNeUpEp67dvfEeEX+IVv pIthpKBP/ilB8H+voPpl9G4vOsZ/OXPGkOj0OcD8pE6dxPq8qNlHMq+HNl5ojGbKKjY3 KfG7u6gUl4mV/bFXGUU/lPdIBvO+9ozI+UzZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=lw3qxe1Cf9Wp5s6SOWJfXOTcqIVXrBMpqpeONozfnQ50Vzi7zR8xiUbVLw4Gvi/TiI CGTvEAj0zlmO2ju14D/2IlpPj5xle6HXy/qcm0DnZ2ZZO/IQ/asxjnInIqjuPr1ttVtn ylaN+Y0QkTkBaqmmKMta9aIw6xlpZSW775xUI= Original-Received: by 10.216.90.209 with SMTP id e59mr641776wef.193.1263806947746; Mon, 18 Jan 2010 01:29:07 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Mon, 18 Jan 2010 06:50:04 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:71292 Archived-At: Hallo List, I frequently use the following regular-regexp: M-x replace-regexp \(<<\) \1cn\,(+ (line-number-at-pos) \#) to replace "<<" with "<