From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: eww Date: Wed, 26 Jun 2013 01:11:13 +0200 Message-ID: References: <87d2rkb1pi.fsf@fleche.redhat.com> <87fvwfa3ev.fsf@fleche.redhat.com> <874ncucrlz@ch.ristopher.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372201893 30093 80.91.229.3 (25 Jun 2013 23:11:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Jun 2013 23:11:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 26 01:11:34 2013 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 1UrcOc-00059Y-Hd for ged-emacs-devel@m.gmane.org; Wed, 26 Jun 2013 01:11:34 +0200 Original-Received: from localhost ([::1]:49822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrcOc-00056E-3M for ged-emacs-devel@m.gmane.org; Tue, 25 Jun 2013 19:11:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrcOW-000567-PG for emacs-devel@gnu.org; Tue, 25 Jun 2013 19:11:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrcOU-0008NT-5b for emacs-devel@gnu.org; Tue, 25 Jun 2013 19:11:28 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:59307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrcOT-0008M1-Vc for emacs-devel@gnu.org; Tue, 25 Jun 2013 19:11:26 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UrcOI-0004N5-2n; Wed, 26 Jun 2013 01:11:14 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v5uZVJWTT2jkngV DAPBtqU2KhmMf2kOkGAaAAACP0lEQVQ4jZWUQW/bMAyFDRTFrqUMR9dKXexrM8HjtShcnTsYRs4W XPVaTQj490fKTuZrBQiJ+IWPNPWcqvr2UnZbIGs7PTJYhnX5GDgS4yCBlx2IkeMtA1kv0x4YAM6I JeN8A94HKyU4vsQi9fOaEEwBRUykdkAnUMvgF7+8nXfAAlFS8tXHt72UYUAHLzXixw6wUkY6hHbw 1n5MewCZSL2qwdfU/M8IVpND0tAuc8YLg3Z9DC6dnaPLmKDG8XKT8qYA7EfUbnSX8QagAOdGlH1c a3CL3hqSuJv499PY3L1v4JV7citBN03N/ZoxDK9gVjDy7t1llYoC4ColoDzH4vkOggxEQC+kZPCl CQDQEsFeqm+A0cKXVDJwzehFKogFwBKhI8q9u0mFWZWZa5465ZJQitsg3lCUOKwZnJ4E8AOq1hxi gBNBSlqknpx6au4ZdGTtrEEDJK3r0WXXdse7qoLuZINRbM/EvqqlsxZkiErXm3FJqzJ6Z5XMyir7 d3N0qmVSmFto/jwXt8c2lJTSKlIoUtwrG73dZsL71zzbjwIWH2KIXDmYOkH+DQaO43O1vTbGAo+5 46YNd9dwu1fQGfb9pzWgKYGMxHBL1gZyJ/bEZ6DSu4zEcL925u6zisOn3C8aElB0HHfKhkr1agj3 VZUaZj2dDPtjGpGuoFvjaI3pz9Ahgn7grthQWIDNB9OhNlwOH39w8c2baOuUZ5c18vGBpTrcCiLU rkbggtk98EXJQB1tS/yA/Pn1/b+eqvoHyo3qLj3zsmIAAAAASUVORK5CYII= X-Now-Playing: Aksak Maboul's _Un Peu De L'Ame Des Bandits_: "Cinema" X-Hashcash: 1:23:130625:emacs-devel@gnu.org::eqCQJMZ6PdKqjkxj:0000000000000000000000000000000000000000008t/i X-Hashcash: 1:23:130625:monnier@iro.umontreal.ca::o3jXGDmudi92XenF:0000000000000000000000000000000000000+L8X In-Reply-To: (Stefan Monnier's message of "Thu, 20 Jun 2013 16:10:54 -0400") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1UrcOI-0004N5-2n MailScanner-NULL-Check: 1372806674.16421@MDFwSqWBE1RV9hmg2gxrxg X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:161063 Archived-At: I've now implemented a version of the history that I think might make sense, and I've done it by stashing the rendered data in a variable, not by renaming buffers. There's now no re-rendering when traversing the history. The main thing I had to figure out was how to handle back/forth history movements. Let me explain. Here's how Firefox does it: You're on page A, go to page B, go back to A, go to C. Back will then take you to A, and there the history stops. Going forward will only take you to C, never to B, which is now inaccessible, as far as I can tell. That's supremely annoying, so here's how eww does it: You're on page A, go to page B, go back to A, go to C. Back goes to A. Back again goes to B. Back again goes to A. Forward to B, forward to A, forward to C. Etc. If I've implemented it correctly. So Firefox lets you explore the branch of the tree you're in, and other branches are cut off, while eww gives you a strict, er, temporal, flat view of history, so all parts of the history are accessible. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/