From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Occur stack Date: Thu, 16 Jan 2014 10:46:01 +0100 Organization: Programmerer Ingebrigtsen Message-ID: <87lhygi7ja.fsf@building.gnus.org> References: <8738kq5xo5.fsf@yahoo.fr> <87ob3d645m.fsf@mail.jurta.org> <87a9ex8vi8.fsf@fencepost.gnu.org> <87eh49cfa8.fsf@mail.jurta.org> <874n5448aa.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389865612 15899 80.91.229.3 (16 Jan 2014 09:46:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jan 2014 09:46:52 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 16 10:46:59 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 1W3jXN-0005RU-CE for ged-emacs-devel@m.gmane.org; Thu, 16 Jan 2014 10:46:57 +0100 Original-Received: from localhost ([::1]:59400 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3jXN-00040k-22 for ged-emacs-devel@m.gmane.org; Thu, 16 Jan 2014 04:46:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3jXE-00040R-BS for emacs-devel@gnu.org; Thu, 16 Jan 2014 04:46:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3jX9-0005fF-0S for emacs-devel@gnu.org; Thu, 16 Jan 2014 04:46:48 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:34887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3jX8-0005f1-Pr for emacs-devel@gnu.org; Thu, 16 Jan 2014 04:46:42 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W3jX6-0004dw-GJ for emacs-devel@gnu.org; Thu, 16 Jan 2014 10:46:40 +0100 Original-Received: from 109.179.118.111.tmi.telenormobil.no ([109.179.118.111]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Jan 2014 10:46:40 +0100 Original-Received: from larsi by 109.179.118.111.tmi.telenormobil.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Jan 2014 10:46:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 109.179.118.111.tmi.telenormobil.no Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:iXL2sdxxcfsbV8RlM0+jDSWqp/c= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:168520 Archived-At: David Kastrup writes: > My point, namely that an easibly accessible history regenerated > transparently is much cheaper than buffers to keep around. I doubt that's correct. Putting the text of the buffer into a string (and recovering it) when you hit `l' is much cheaper than running "grep". There will be an increased memory usage, of course, but we can limit the history depth to something reasonable. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/