From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#22244: 25.0.50; Make eww use display-buffer to display eww buffer Date: Tue, 02 Feb 2016 15:55:29 +1100 Message-ID: <871t8v679a.fsf@gnus.org> References: <87bn9dno9q.fsf@web.de> <8737upm9cd.fsf@gnus.org> <871ta9nmon.fsf@web.de> <87si2pkss8.fsf@gnus.org> <87r3i9xesi.fsf@web.de> <87bn9dhy3h.fsf@gnus.org> <87r3i8ajcv.fsf@web.de> <87lh8gn62i.fsf@gnus.org> <87bn8vp9ym.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454388982 339 80.91.229.3 (2 Feb 2016 04:56:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Feb 2016 04:56:22 +0000 (UTC) Cc: 22244@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 02 05:56:11 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1aQT0b-00033M-8f for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Feb 2016 05:56:09 +0100 Original-Received: from localhost ([::1]:55202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQT0a-00051U-JF for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Feb 2016 23:56:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQT0X-00051P-KH for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2016 23:56:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQT0U-0001Am-D4 for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2016 23:56:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQT0U-0001Ai-95 for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2016 23:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aQT0T-0004ZY-Ug for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2016 23:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Feb 2016 04:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22244 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22244-submit@debbugs.gnu.org id=B22244.145438895917567 (code B ref 22244); Tue, 02 Feb 2016 04:56:01 +0000 Original-Received: (at 22244) by debbugs.gnu.org; 2 Feb 2016 04:55:59 +0000 Original-Received: from localhost ([127.0.0.1]:55573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQT0R-0004ZH-GT for submit@debbugs.gnu.org; Mon, 01 Feb 2016 23:55:59 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:43210) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQT0Q-0004ZA-8p for 22244@debbugs.gnu.org; Mon, 01 Feb 2016 23:55:58 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aQT02-0002S6-HU; Tue, 02 Feb 2016 05:55:35 +0100 In-Reply-To: <87bn8vp9ym.fsf@web.de> (Michael Heerdegen's message of "Sat, 09 Jan 2016 07:01:53 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) X-MailScanner-ID: 1aQT02-0002S6-HU MailScanner-NULL-Check: 1454993735.9914@fdc6HdsSEfPR1nljTikL1w X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112254 Archived-At: Michael Heerdegen writes: > But this issue is not as easy as it seemed. The whole code must be > reworked to work with multiple eww buffers. E.g. > > (defun eww-browse-url (url &optional new-window) > (cond (new-window > (switch-to-buffer (generate-new-buffer "*eww*")) > (eww-mode))) > (eww url)) > > creates a new buffer when new-window is non-nil, but eww calls > eww-setup-buffer, which unconditionally goes back to a hardcoded "*eww*" > named buffer again. Yeah, that doesn't work very well. I've now fiddled with it a bit more, and new-window now does what it's supposed to do. > I don't know the code well and would prefer if you could had a look. I > dunno in which direction we want to go (tabs, some day, maybe?). Hm... I don't quite see it. Switching between buffers now is so... standard. Would tabs be something other than buffers? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no