From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rupert Swarbrick Newsgroups: gmane.emacs.help Subject: Re: copy visible text with some lines hidden with hide-lines Date: Tue, 26 Feb 2008 18:05:36 -0600 Message-ID: References: <6c22270a-576c-41c4-8f01-75b23433ca69@60g2000hsy.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1204072849 28802 80.91.229.12 (27 Feb 2008 00:40:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Feb 2008 00:40:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 27 01:41:15 2008 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 1JUAMA-0002su-Sw for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Feb 2008 01:41:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUALe-0001md-Q3 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Feb 2008 19:40:38 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 26 Feb 2008 18:05:36 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Pan/0.132 (Waxed in Black) Original-Lines: 14 X-Usenet-Provider: http://www.giganews.com Original-X-Trace: sv3-2QtHIsOzTFxkdBqsTJGe+BVZR7ANe1j8+33vUocdIOUVAsrKX2H8Ru5Z/qJYZAByLX8Quj9P69rlcNA!2vfturqcbtRgVBN30REHVqDkd3BWAc7N98ztfg3Zc7yjp8Fs3/CbF2i1Us+l Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.37 Original-Xref: shelby.stanford.edu gnu.emacs.help:156530 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:51900 Archived-At: On Mon, 25 Feb 2008 21:22:14 -0700, Kevin Rodgers wrote: >> One thing I've done in the past was to use C-M-! and run a grep command >> which will give me the lines I want (and not too much cruft). Then you >> get a temporary buffer, with which you can't accidentally blat your log >> file by saving (so you needn't be scared of deleting lots more stuff) >> and which is hopefully small enough the Emacs won't get upset about >> buffer size. > > I think you meant `M-!'. Have you tried `M-x occur'? > Oops you're right. And no I hadn't tried M-x occur, but I have now thanks! Rupert