From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Occur stack Date: Thu, 16 Jan 2014 09:57:13 +0200 Organization: JURTA Message-ID: <87eh49cfa8.fsf@mail.jurta.org> References: <8738kq5xo5.fsf@yahoo.fr> <87ob3d645m.fsf@mail.jurta.org> <87a9ex8vi8.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389859757 12933 80.91.229.3 (16 Jan 2014 08:09:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jan 2014 08:09:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 16 09:09:24 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W3i0w-00016J-LI for ged-emacs-devel@m.gmane.org; Thu, 16 Jan 2014 09:09:22 +0100 Original-Received: from localhost ([::1]:58999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3i0w-0005Mw-29 for ged-emacs-devel@m.gmane.org; Thu, 16 Jan 2014 03:09:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3i0m-0005Mk-I2 for emacs-devel@gnu.org; Thu, 16 Jan 2014 03:09:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3i0f-0001uv-1k for emacs-devel@gnu.org; Thu, 16 Jan 2014 03:09:12 -0500 Original-Received: from [69.163.184.122] (port=41638 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3i0e-0001ur-OX for emacs-devel@gnu.org; Thu, 16 Jan 2014 03:09:04 -0500 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.184.122]) by ps18281.dreamhostps.com (Postfix) with ESMTP id D411532F1773A0; Thu, 16 Jan 2014 00:09:03 -0800 (PST) In-Reply-To: <87a9ex8vi8.fsf@fencepost.gnu.org> (David Kastrup's message of "Wed, 15 Jan 2014 10:06:07 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.184.122 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:168518 Archived-At: > For things like an occur or grep buffer, I don't think it is necessary > to keep the actual contents around. They can be regenerated from > scratch fast enough, so just keeping the history and possibly a somewhat > robust cursor location should be enough. It becomes trickier with stuff > like grep-find which may run for a while. Still, having the command > history to some depth available conveniently is cheap and useful, > certainly much cheaper than keeping the buffers. After editing an occur or grep buffer (e.g. removing unnecessary lines with `flush-lines' or adding more highlighting with `highlight-regexp') all such changes will be gone.