From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#22244: 25.0.50; Make eww use display-buffer to display eww buffer Date: Tue, 2 Feb 2016 21:57:11 -0500 Message-ID: <20160203025711.GA11066@holos> References: <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> <871t8v679a.fsf@gnus.org> <87oabzkuei.fsf@udel.edu> <871t8uzh8b.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1454468301 5093 80.91.229.3 (3 Feb 2016 02:58:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Feb 2016 02:58:21 +0000 (UTC) Cc: 22244@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 03 03:58:10 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 1aQndx-0004sA-Bt for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Feb 2016 03:58:09 +0100 Original-Received: from localhost ([::1]:60471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQndw-0001pz-OW for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Feb 2016 21:58:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQndt-0001pu-RZ for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2016 21:58:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQndq-0000lV-EF for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2016 21:58:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQndq-0000lH-8v for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2016 21:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aQndq-0004we-2T for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2016 21:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Feb 2016 02:58:02 +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: fixed Original-Received: via spool by 22244-submit@debbugs.gnu.org id=B22244.145446824318962 (code B ref 22244); Wed, 03 Feb 2016 02:58:02 +0000 Original-Received: (at 22244) by debbugs.gnu.org; 3 Feb 2016 02:57:23 +0000 Original-Received: from localhost ([127.0.0.1]:57309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQndC-0004vm-St for submit@debbugs.gnu.org; Tue, 02 Feb 2016 21:57:23 -0500 Original-Received: from mail-yk0-f180.google.com ([209.85.160.180]:36506) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQndA-0004vY-O5 for 22244@debbugs.gnu.org; Tue, 02 Feb 2016 21:57:21 -0500 Original-Received: by mail-yk0-f180.google.com with SMTP id z7so7780350yka.3 for <22244@debbugs.gnu.org>; Tue, 02 Feb 2016 18:57:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=ObIM2Cetksmp9QHNDlZE+YFxfhSkVDuKeIhykDpQVJM=; b=FYl1tmhnm5nZyn9kIQ46BZcm/vLHZWD3GQGUZ/EV+QtDX9dIf0raOR4kpaz9Z4Wd5I KNCfZzLEp/pg9u7Cln0zxRbftp/G4T3USdGgMod5FvUWhsONYIAtDE89L6bT/Jg9c5jz AHZv+QldDVoKmiY9j2pwfA5qE3Ff1IX2wkxH6CARalHmmNY8eTrkYB6HE0jiX2ClY17m PrCv1TzORxddouu624Je+nhWhhBDTsjYA/0OgTkfJuBZTfqpqOOBSDsoKxnb9295GHVv 5NX7TAg4ISKP+0jAu9+EcyfE1hJSphv8I4/b5/0fYv49v0d15J8lzRndm65obUKc+h2+ LbSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=ObIM2Cetksmp9QHNDlZE+YFxfhSkVDuKeIhykDpQVJM=; b=bXfiABtauQ6C6tz/FmluO9jGPSy6zwW/IkGD9MN5JTz8YfTjymUQaxNj8EGI79JRam hAY+MoqzqnFc90xaXjEkCgxVlbUok0Hm4krrKsFMoMPDxDlfKw+ocMed9wlfTW4PXwGr MwsevZDtZwGPpclrA9PmzWnLxpuHUsWlgnYKe4zWc9X6El1PRDGAmqaTqeuKtgzzSbm8 1tVdQvQUyXAp+GcuMnQdEXapP5VV/PbcWXndztfW55YCd0JA/6ZRDHBDNyl/I+EMRoTW H394zjAIGfaL7QV3Z8dMjDHdaLZc4Rk4R4EIPdi6K0PR9IKMIkPxUAWbwYUNrUL3Djy9 dsJA== X-Gm-Message-State: AG10YORz6owPyYwnImPqX4tHYpT422yaPyFB5uWDrjvtGSrvNZmZou2/JSfaQmvPyHy7Qs1m X-Received: by 10.129.38.10 with SMTP id m10mr14816669ywm.183.1454468234830; Tue, 02 Feb 2016 18:57:14 -0800 (PST) Original-Received: from holos.localdomain (pool-96-227-83-242.phlapa.fios.verizon.net. [96.227.83.242]) by smtp.gmail.com with ESMTPSA id x145sm1768802ywd.41.2016.02.02.18.57.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Feb 2016 18:57:13 -0800 (PST) Original-Received: by holos.localdomain (Postfix, from userid 1000) id A4A38696E2; Tue, 2 Feb 2016 21:57:11 -0500 (EST) Content-Disposition: inline In-Reply-To: <871t8uzh8b.fsf@gnus.org> User-Agent: Mutt/1.5.24+53 (b315c4d4ede7) (2015-08-30) 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:112318 Archived-At: On 03/02/16 at 12:59pm, Lars Ingebrigtsen wrote: > Mark Oteiza writes: > > > Just an idle though: something like erc's erc-switch-to-buffer could be > > a step above standard buffer switching. > > I use ido mode, and that's as convenient, I find... I don't, but I was thinking more like "S but in the minibuffer". Where the buffer names in erc are meaningful, in eww they are not so much (at least in my case where I'm usually using clone-buffer to make more eww buffers). So the completion candidates might be the buffer urls, titles, or instead just showing annotations like so: (defun eww-switch-to-buffer () "Prompt for an EWW buffer to switch to." (interactive) (let ((completion-extra-properties '(:annotation-function (lambda (bufn) (with-current-buffer bufn (format " %s" (eww-current-url))))))) (switch-to-buffer (read-buffer "Switch to EWW buffer: " (cl-loop for buf in (nreverse (buffer-list)) if (with-current-buffer buf (derived-mode-p 'eww-mode)) return buf) t (lambda (bufn) (let ((buf (if (consp bufn) (cdr bufn) (get-buffer bufn)))) (with-current-buffer buf (derived-mode-p 'eww-mode))))))))