From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: copy visible text with some lines hidden with hide-lines Date: Sun, 24 Feb 2008 12:39:07 +0100 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=us-ascii X-Trace: ger.gmane.org 1203864910 9349 80.91.229.12 (24 Feb 2008 14:55:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Feb 2008 14:55:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 24 15:55:36 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 1JTIGM-0006tf-S2 for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Feb 2008 15:55:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTIFr-0001MD-Er for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Feb 2008 09:55:03 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 9 Original-X-Trace: individual.net QqURlQKA0fg0YE1Dno5xpwYLfP8tprRgjDEiC9JH/vjN7LLmLK Cancel-Lock: sha1:8MJC2zzm+xmK+7lx7NY1AUO6+Dw= sha1:NUtxnIgQfPlzpRNi75FcOKKbz50= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:156446 X-Mailman-Approved-At: Sun, 24 Feb 2008 09:54:00 -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:51818 Archived-At: jdzhang@gmail.com writes: > I need looking at large (10s of MB) log files regularly. I use hide- > lines to filter out the lines I don't care. However, I was able to > figure out how to copy only the text being displayed. Any suggestions > are welcome. You could try using `flush-lines' instead, it removes the lines (don't save the buffer though, then they will be gone).