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, 19 Jun 2013 09:22:56 +0200 Message-ID: References: <87d2rkb1pi.fsf@fleche.redhat.com> <87fvwfa3ev.fsf@fleche.redhat.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371626603 7235 80.91.229.3 (19 Jun 2013 07:23:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2013 07:23:23 +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 19 09:23:24 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 1UpCjj-0003LD-17 for ged-emacs-devel@m.gmane.org; Wed, 19 Jun 2013 09:23:23 +0200 Original-Received: from localhost ([::1]:36956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpCji-00029r-KV for ged-emacs-devel@m.gmane.org; Wed, 19 Jun 2013 03:23:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpCjb-00029b-T3 for emacs-devel@gnu.org; Wed, 19 Jun 2013 03:23:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpCjY-0002CT-5a for emacs-devel@gnu.org; Wed, 19 Jun 2013 03:23:15 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:50912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpCjX-0002BM-VN for emacs-devel@gnu.org; Wed, 19 Jun 2013 03:23:12 -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 1UpCjI-0006kB-UM; Wed, 19 Jun 2013 09:22:56 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEVXUz0SDwwQDQoOCwgK BwUnJB6AfW5kHWiBAAACZElEQVQ4jVWUPXPbMAyGofTEWaBD7wTPnStSyZxWamfJqjTTg/n/f0Jf UE6awIPu8OAboKlnfh5ZZfoi5JlPgGz98KEcFfADMA+f7MfxM/hMkoJwgPQMxe9+StMwjUlzyM8K XuZm+tu1PoWUYvXANzK7TO20EX5rDBWEFPt54zMRTTylzooXz3RKkFLKTcE4pbRdRRAeIKaXTHRX cEo2bqswEpMNIf2Ajs4l09VbOwexcCEWtq9kSt4BF7bVnBWgqFeiXME3F8LFLuyiAquA7hVcn5et 2eZ58tqH1bw3BWs7k1u3bUvqwXwuZG5dKcSr257Wy7WTA7hS7spbu6J4G2IQDWWZq57Pd+s2lSXU 5Cd43NTPtF6ipMhgpMCVXBpmk8kL2oXE2oc9ZzTY7JjLVbxVIA+gE0FNEBsFLiHVqqJRlVFgbjAf NBaqCgkxKM8V5CTpSAIQs9rvpLwkCVEk9Qr6rBn2twNUmX4h1PBWPcybOcAI/TTCI72qaUN/zLsH DkyT16ETl/9ghJOC7xU8PE5HkuqxV5AfYDiIAvMF6B3qAaLzAzyqqiD02odoyy3vL+UA8d3jAc6u Nhgxd8xegX2AOpKs5pJqg6wKWrr7rAYKAl6QgrqI1pHD5ynWqsb0URW5fSFdoUiseyd2c8E542wZ sa7eByDRDbqFN6wPoMNqZ7MbY+imoRYW6TKAo1ZmM++GmobJLwv74M2mp9+IxSPw3vJxovhbOOtn 1tz6Auv5qMngO+hltrpwAO+PHDYebh2OCiB4PDP9A8AFWURlf8EA+4DDCkOkBBx6YGvr3YJhIin9 A4hTpWYa5/mHAAAAAElFTkSuQmCC X-Now-Playing: Herbert's _Bodily Functions_: "It's Only" X-Hashcash: 1:23:130619:monnier@iro.umontreal.ca::ufWYohf/E7HSAZt6:0000000000000000000000000000000000000YuLE X-Hashcash: 1:23:130619:emacs-devel@gnu.org::RM5PsxO3Wn9hrK64:000000000000000000000000000000000000000000s7NB In-Reply-To: (Stefan Monnier's message of "Tue, 18 Jun 2013 16:19:21 -0400") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1UpCjI-0006kB-UM MailScanner-NULL-Check: 1372231377.41706@aA+cOJ1MZa++bbDQdFx3Ow 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:160638 Archived-At: Stefan Monnier writes: > Agreed. I don't think creating a new buffer for every page is > a good idea. Also going back to a previously displayed page should be > "immediate" and not require any network communication. > You might start with something like: > > (push (cons (buffer-string) (buffer-local-variables)) eww-history) eww currently uses widget.el to render forms, and that uses overlays and ... stuff. But I think I'm going to rewrite that code to avoid widget, because it turns out that it's more hassle than it's worth. And implementing the form elements myself probably won't be more code than shoehorning the widget code into eww. And then keeping the history in a variable instead of in buffers would be simpler. Speaking of forms, perhaps form data should be nixed out before saving to history -- we wouldn't want passwords and the like to live in memory forever. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/