From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: J Newsgroups: gmane.emacs.help Subject: append regex to a buffer/kill ring Date: Sat, 26 Aug 2006 22:25:35 GMT Organization: Road Runner High Speed Online http://www.rr.com Message-ID: <2006082618253616807-webstuff@fluidiccom> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1156632040 7591 80.91.229.2 (26 Aug 2006 22:40:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 Aug 2006 22:40:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 27 00:40:38 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GH6pF-0007ar-VA for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Aug 2006 00:40:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GH6pF-0002mE-HB for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Aug 2006 18:40:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon02.news.prodigy.net!prodigy.net!news-east.rr.com!news-feed-01.rdc-kc.rr.com!news.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!news-post.tampabay.rr.com!tornado.tampabay.rr.com.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Unison/1.7.3 Original-Lines: 13 Original-NNTP-Posting-Host: 65.35.115.20 Original-X-Complaints-To: abuse@rr.com Original-X-Trace: tornado.tampabay.rr.com 1156631135 65.35.115.20 (Sat, 26 Aug 2006 18:25:35 EDT) Original-NNTP-Posting-Date: Sat, 26 Aug 2006 18:25:35 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:141331 Original-To: help-gnu-emacs@gnu.org 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:36953 Archived-At: I came across the following need. I had to text document with lots of text that followed a simple regular expression. I knew i could search forward for the regex and append to register. Was there any way of doing the same thing with a single command, without writing it myself? -- J "If there is anything I can do for you or more to the point to you, let me know."