From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: EWW improvements: open in new buffer, tags, quickmarks, search engines, ... Date: Tue, 24 Apr 2018 09:24:33 -0700 (PDT) Message-ID: <92db8445-5829-4c34-8c47-9eb6e9c6cbcb@default> References: <87zi23bg67.fsf@gmail.com> <87efjd3alj.fsf@gmail.com> <878t9dw3it.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1524588489 3185 195.159.176.226 (24 Apr 2018 16:48:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2018 16:48:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Pierre Neidhardt , "Charles A. Roelli" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 24 18:48:05 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fB16q-0000jH-TA for ged-emacs-devel@m.gmane.org; Tue, 24 Apr 2018 18:48:05 +0200 Original-Received: from localhost ([::1]:59714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB18x-0006iA-O5 for ged-emacs-devel@m.gmane.org; Tue, 24 Apr 2018 12:50:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB0kO-0005B9-E1 for emacs-devel@gnu.org; Tue, 24 Apr 2018 12:24:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fB0kL-0004gx-8Y for emacs-devel@gnu.org; Tue, 24 Apr 2018 12:24:52 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:45984) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fB0kK-0004eb-TR for emacs-devel@gnu.org; Tue, 24 Apr 2018 12:24:49 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w3OGNZN0147842; Tue, 24 Apr 2018 16:24:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=QukpOS6ULTmoP/Ffq4Wojv4Fw2MGvkp5g2swq3yVsVw=; b=G98f5+V0zq8+jx0kFxn5O5xXuVGtdVPDRF2dMWwewvWHfrcOkMb7vw0vUgDlNBbGSnt7 k70lsfguPLEaXqjeCvrHlI8oXzg3HQTK/IA3mkafZiitu7FGzdFsVoQjRBs434QH/BGg tc0CiyfxRhvaFsAgvvF1iSN7q/3Ics4TTmyatXUydD21+xcID8nkzZZ+E4gxm8V7ddYi x7mU5jPewK4ayRk9JpqcNGUkfNvAhQ9n2E9CoMh+xo2xiXVR3G7nImJyobhjiyci05pC 306L39nGu03u6TtLLmK8Im+bGRCVeXMyMbwes1+tHrh3QV3cYoJtw57v5tqRbEkXvm45 jw== Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2120.oracle.com with ESMTP id 2hfwy9jxxg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Apr 2018 16:24:36 +0000 Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w3OGOZpP009298 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Apr 2018 16:24:35 GMT Original-Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w3OGOYZs025261; Tue, 24 Apr 2018 16:24:35 GMT In-Reply-To: <878t9dw3it.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4678.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8873 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804240156 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.85 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:224832 Archived-At: > Another feature I'd like to add: a global "history" file. > It would record all visited URI. >=20 > It's convenient to search URLs that we know we've visited, but not > necessarily only from a specific buffer. >=20 > To make the history persistent, I would store it in a format similar to > bookmarks but without any of the additional features I'm planning to add > (tags, search engine, etc.). There would be the following keys: > - URL > - TITLE > - TIME >=20 > Defcustoms would include: > - The persistent file. > - The max number of entries to keep (0 for unlimited). Older entries > get deleted first. FWIW - Charles mentioned earlier some of the Bookmark+ support for EWW (normal Emacs bookmarks vs EWW's pseudo-bookmarks, plus arbitrary tagging, sorting, filtering, multiple bookmark files, org-mode annotations...). It seems a bit silly for EWW to have its own, limited form of "bookmarking". Perhaps it's time for it to graduate to Emacs bookmarks? Another Bookmark+ feature for EWW, relevant to your mail, is minor mode `bmkp-eww-auto-bookmark-mode'. When it's enabled a bookmark is automatically set whenever you visit a URL with EWW. (A similar feature exists for Info nodes.) When enabled, if user option `bmkp-eww-auto-type' is `create-or-update' then such a bookmark is created for the URL if none exists. If the option value is `update-only' (the default) then no new bookmark is created automatically, but an existing bookmark gets updated. You can toggle the option value with command `bmkp-toggle-eww-auto-type'. Emacs (real) bookmarks record not only the time of last visit but also the number of visits. You can sort by the number of visits, to easily see your weighted URL visit history. (You can also edit the number of recorded visits.) In addition, EWW bookmarks with Bookmark+ have their own visit history. You can cycle among just the EWW bookmarks or a subset of them (e.g., those currently visible in the bookmark-list display, in sort order and filtered). So you can cycle among any set of EWW bookmarks, visiting them in an order you choose. You need no programming to do any of this - no knowledge of Lisp. You can also bookmark a given bookmark-list display, which persists its visibility/filtering settings and sort order. So you can quickly switch among any number of sequences (navigation lists) of EWW bookmarks to cycle among. Bookmark+ navigation lists give you, in this sense, any number of EWW histories, easy to define and switch among. And you can tag those different histories any way you like, and switch among them by tag or tag combinations, in addition to doing so by bookmark name. AFAICT, everything you've mentioned so far as possible improvements of EWW pseudo-bookmarking is already available with Bookmark+ real bookmarks. Why reinvent the wheel and remain incompatible with Emacs bookmarks? Bookmark+ is in fact a superset of vanilla `bookmark.el'. It could just replace it in Emacs. https://www.emacswiki.org/emacs/BookmarkPlus#CyclingNavlist