From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.bugs Subject: bug#19902: 25.0.50; Make eww entry point more info-like Date: Thu, 19 Feb 2015 17:32:32 +0000 Message-ID: <878uft7qof.fsf_-_@violet.siamics.net> References: <87r3tmymcp.fsf@udel.edu> <87d2557w3n.fsf@violet.siamics.net> <87ioexx5ke.fsf@udel.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1424367203 7548 80.91.229.3 (19 Feb 2015 17:33:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2015 17:33:23 +0000 (UTC) To: 19902@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 19 18:33:11 2015 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 1YOUyM-0007KZ-Mq for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Feb 2015 18:33:10 +0100 Original-Received: from localhost ([::1]:57430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOUyL-0007Cg-Vl for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Feb 2015 12:33:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOUyH-0007CB-WA for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 12:33:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOUyE-0007ST-QW for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 12:33:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOUyE-0007RX-FP for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 12:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YOUyE-0005B5-2n for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 12:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Shmakov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Feb 2015 17:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19902 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 19902-submit@debbugs.gnu.org id=B19902.142436716719883 (code B ref 19902); Thu, 19 Feb 2015 17:33:02 +0000 Original-Received: (at 19902) by debbugs.gnu.org; 19 Feb 2015 17:32:47 +0000 Original-Received: from localhost ([127.0.0.1]:48849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOUxz-0005Ac-8L for submit@debbugs.gnu.org; Thu, 19 Feb 2015 12:32:47 -0500 Original-Received: from fely.am-1.org ([78.47.74.50]:44618) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOUxw-0005AP-60 for 19902@debbugs.gnu.org; Thu, 19 Feb 2015 12:32:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=Xex6hXadBKV1wDF1B+Bah/AnsNwRntMbmZ2BaLbXAUA=; b=njr98nq6l2IcMD1ND2vx5oDiQ4pwji5CiMWqZDtSD0JiNJqCGiEc37Zy1b9P38+ybdO+jMAq6mwFhBtE7urOGv6FQwBQtye+3+SDikqvCkLR1WLm3QZZ/4zT+dNnz19ZuUJKip7PdtlgQU6FNSIZB6zvRG13kL+fTHdu+bBKWyA=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YOUxs-0004c8-A8 for 19902@debbugs.gnu.org; Thu, 19 Feb 2015 17:32:40 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YOUxl-0005y6-Jw for 19902@debbugs.gnu.org; Fri, 20 Feb 2015 00:32:33 +0700 Mail-Followup-To: 19902@debbugs.gnu.org In-Reply-To: <87ioexx5ke.fsf@udel.edu> (Mark Oteiza's message of "Thu, 19 Feb 2015 10:51:45 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:99606 Archived-At: >>>>> Mark Oteiza writes: >>>>> Ivan Shmakov writes: >>>>> Mark Oteiza writes: >>> (eww-mode-map): More Info-like `M-n' for `clone-buffer' On a second thought, it may still be worth preserving the (M-n, M-p) pair for some kind of navigation (whether bookmark or something else; FWIW, I don=E2=80=99t use EWW bookmarks personally.) It may even make sense to bind clone-buffer to a different key sequence in Info-mode-map (in addition to the current binding.) >>> + (interactive >>> + (let ((buf (get-buffer (if (numberp current-prefix-arg) >>> + (format "*eww*<%s>" current-prefix-arg) >>> + "*eww*")))) >>> + (list (unless buf (read-string "Enter URL or keywords: ")) >>> + buf))) >> =E2=80=A6 Except for this part, which essentially reintroduces #19106; = see >> [1]. I presume that for this reason, the new =E2=80=98eww=E2=80=99 com= mand should >> call =E2=80=98eww-suggested-uris=E2=80=99 just like the old one does. >> [1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19106#msg8 > Hm, good catch. I'm not sure how this should fit in. Perhaps > `eww-suggested-uris' should be the behaviour behind the non-numeric > prefix (C-u)? The list of defaults returned by =E2=80=98eww-suggested-uris=E2=80=99 is o= nly meaningful for the =E2=80=98read-string=E2=80=99 code path, which implies = that either no prefix argument is given, /or/ the prefix given does not refer to an existing *eww* buffer. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A