From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pierre Neidhardt Newsgroups: gmane.emacs.devel Subject: Re: EWW improvements: open in new buffer, tags, quickmarks, search engines, ... Date: Mon, 16 Apr 2018 17:52:22 +0530 Message-ID: <87vacrbatd.fsf@gmail.com> References: <87zi23bg67.fsf@gmail.com> <87o9ij4e12.fsf@mouse.gnus.org> <87wox7bdr7.fsf@gmail.com> <87tvsb2w1f.fsf@mouse.gnus.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1523881279 30261 195.159.176.226 (16 Apr 2018 12:21:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Apr 2018 12:21:19 +0000 (UTC) User-Agent: mu4e 1.0; emacs 26.1 Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 16 14:21:15 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 1f838E-0007kx-SU for ged-emacs-devel@m.gmane.org; Mon, 16 Apr 2018 14:21:14 +0200 Original-Received: from localhost ([::1]:42442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f83AK-0001NC-0R for ged-emacs-devel@m.gmane.org; Mon, 16 Apr 2018 08:23:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f839T-0001Kk-PZ for emacs-devel@gnu.org; Mon, 16 Apr 2018 08:22:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f839P-0006nE-I0 for emacs-devel@gnu.org; Mon, 16 Apr 2018 08:22:31 -0400 Original-Received: from mail-pg0-x22d.google.com ([2607:f8b0:400e:c05::22d]:32903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f839P-0006mX-Ab for emacs-devel@gnu.org; Mon, 16 Apr 2018 08:22:27 -0400 Original-Received: by mail-pg0-x22d.google.com with SMTP id i194so3744335pgd.0 for ; Mon, 16 Apr 2018 05:22:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=tYYqLblr6yEE/nuqoFsjoGJUb5lSlUiny5qjjdHFtEw=; b=bvTigyiPqGPx+Fqk4MBIZwLTGP1R3ExIvPzoyiOShbGoTo4ebmXcB2kEfBW6e2/pBe V6yFmMPQM02CFJ1p+/47yV4AFFmPZFhQZ7+L5mNGeBQJOj+08geFiKo30wrCi0vS2sa0 jg53QWBQx2t4RPArbWufYWxbXJQQ92nLoLcVyJqJ8ubdfsr+hmCr+elj9CplgSu3leL2 xwxZgGpbMJdD5ay028ht6OX9Bra6+9rjtL5axjPemxS/c6D4Z/1oqAMbkNv7ApEQ24ts Oy+MB/ADir95M8gReYeTJaqQDIEWD9yF5UuYlesseRuPa1KoyahXb3WubBfyJXIqifwT ublw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=tYYqLblr6yEE/nuqoFsjoGJUb5lSlUiny5qjjdHFtEw=; b=evfJ6tfsIKmREFuXIJ1tQ03nwzSROziqcuLmY+0aRwzPtjf5H+XeAZmeZZFqF1vXli wtPx1wWiTPtHzpK2QY6AgPLG+MmIvj3DjHpkmRwVyBjqIfVoTyvQaEa5GlKia/EWzbpC 6yZumkqEZtIac7c1b138d10DpzSIMTR+fx5kda/4FyqEZwDSI/NFs5E+Z4lnjVmBCkzb nhK58ukF7zN9mmmI5R1ptPWRtwpfplnQQbXD+C8aBuNOTtS/hENmShyysd9ieeG6GUP4 lzvuzGaGfvF7H2esPOK5Y9GFKFq0US7GWI8F1DpeREkNXc6nhSehbNyIVubb9LwL0+bY sFUw== X-Gm-Message-State: ALQs6tDafjxSY4spuLetGEp5qXCkxkVrXQqBRtS00Z4NHUpReh634GFm 7tuHbNEpRKlyXw5dKu2MUw3YzP09 X-Google-Smtp-Source: AIpwx4+jA3Ql/vFA+y+NVBYcoQUif8edWxDUu1PJ8fccgP6SM/8HiyXp0VkTnw22Fo9/nGqKZDFpUw== X-Received: by 10.99.103.131 with SMTP id b125mr12544083pgc.177.1523881346018; Mon, 16 Apr 2018 05:22:26 -0700 (PDT) Original-Received: from mimimi ([103.61.255.46]) by smtp.gmail.com with ESMTPSA id n126sm9739029pga.85.2018.04.16.05.22.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Apr 2018 05:22:25 -0700 (PDT) In-reply-to: <87tvsb2w1f.fsf@mouse.gnus.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::22d 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:224638 Archived-At: --=-=-= Content-Type: text/plain Lars Ingebrigtsen writes: >>>> - Make `eww-add-bookmark' run a customizable function to decide when. >>>> to error out. For instance, error out when a duplicate is detected >>>> with protocol stripped out (https://foo.bar is seen as a duplicate of >>>> http://foo.bar). >>> >>> Hm... Doesn't really sound all that useful? But having that command >>> give feedback (and perhaps query the user about what to do) in that >>> situation would be handy. >> >> Why not useful? > > Because the vast majority of users won't create such a function. It's > more useful (i.e., for more people) if things work the way it should be > default. > >> `eww-add-bookmark' already does duplicate detection, except that it's >> very dumb: it won't realize if two bookmarks are the same up to the >> protocol. > > But then it should be smarter, I think. :-) Sorry if I wasn't clear: I would not only make it customizable but also set the default to a smart function, so that both `eww-write-bookmark' and `eww-add-bookmark' exhibit a smarter behaviour. If that would not be smart enough to the users, they could still customize it. > We could also do, but that does not compose as well as my suggestion. >> For instance, how would you filter bookmarks by tags? > > Add a "narrow to tag" command to the mode? I have to think about it a little more. >>> Sounds great to me. :-) Make each thing into a patch (with >>> documentation) and let the apply-to-Emacs-fest commence. That is, if >>> you've been through the assign-copyright-to-the-FSF-process. I don't >>> see you in the copyright.list file, but that's apparently out of date >>> these days... >> >> I am assigned to Emms, does it count? > > Hm... If it's specific to Emms, I don't think it's enough? Anybody > know? I can sign another assignment, no problem with that :) -- Pierre Neidhardt It will be advantageous to cross the great stream ... the Dragon is on the wing in the Sky ... the Great Man rouses himself to his Work. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlrUlX4ACgkQm9z0l6S7 zH9FWQf+MOOAV9j7oR0bNBxMy1Swf++PKPbtIf27hLtFy2Tsmq3NK7AcovATMyYC lR+dJxOUFAbpr2duXf1tmSzzmlYozeRlP517yskcXGRK4Eoy+8aLxZYuJo5W0dXT CHwZHL4ce1ac5Zmm73bmVHrzly9I0JNti2ZCz3dZKo+xcZt2WsqzyJYNb/HMVCgD xVzLVBtRtIfmy3gPkLSDhUIkBWRJRSIVQg5jNDT2HRKyZJxEq0T83u1G/jumMPko fSJRMO29gBicVADdLfrm0vtVKBU/7ei6On9JWUMhvVby5QJZk5s29G9Ypz7oh/lD QKuTtH3k3A7xMO4dJw/Ht0b+3D4vBQ== =HST9 -----END PGP SIGNATURE----- --=-=-=--