From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: Bookmarks in EWW Date: Thu, 26 Mar 2020 09:41:43 +0100 Message-ID: <87imirece0.fsf@mbork.pl> References: <878sjrfh2m.fsf@mbork.pl> <871rpipzwa.fsf@web.de> <87tv2d3zii.fsf@web.de> <6d3b94ad-c804-47aa-acb0-3ec64159ee50@default> <87h7yb97cu.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="76935"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.1.0; emacs 27.0.50 Cc: help-gnu-emacs@gnu.org, Stefan Monnier To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 26 09:42:21 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jHO5k-000JqZ-5Q for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Mar 2020 09:42:20 +0100 Original-Received: from localhost ([::1]:48122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHO5j-0000yF-7b for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Mar 2020 04:42:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39664) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHO5N-0000vS-SS for help-gnu-emacs@gnu.org; Thu, 26 Mar 2020 04:41:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHO5J-0008TF-Ub for help-gnu-emacs@gnu.org; Thu, 26 Mar 2020 04:41:57 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:33680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jHO5J-0008SG-NX for help-gnu-emacs@gnu.org; Thu, 26 Mar 2020 04:41:53 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 8B74AE6DA1; Thu, 26 Mar 2020 09:41:50 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CO8P07WKcCY5; Thu, 26 Mar 2020 09:41:47 +0100 (CET) Original-Received: from localhost (jeden09-dwa27.echostar.pl [213.156.109.227]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 02DCAE6CB8; Thu, 26 Mar 2020 09:41:46 +0100 (CET) In-reply-to: <87h7yb97cu.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.110.48.8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122677 Archived-At: On 2020-03-26, at 03:29, Michael Heerdegen wrote: > Drew Adams writes: > >> Attached is something I threw together, by removing some >> of the Bookmark+ features for EWW and adapting the code >> to what vanilla bookmark.el offers. Completely untested; >> as is. Perhaps you can make some use of it. > > Thanks, Drew. Seems your approach is similar but more feature rich. > > Most features are too much (I guess) for vanilla Emacs in the sense that > Emacs bookmarks don't support them in other implementations. The most > basic and interesting feature in my eyes is the code that controls > whether the bookmarks opens in a new session (and how the buffer is > named). Unfortunately it seems eww still hasn't factored the "open in a > new session" code out of the command that follows links, so one can only > use a hack to control the behavior. > > Marcin, how do you think about the features of Drew's code? Is there > one you definitely want to have in any case? Well, I looked through the list, and frankly, I don't care about most of them. My needs are *very* simple - I just want to tell Emacs "save the currently visited URL as a bookmark under name such-and-such". But I can see how other people might need at least some of them, e.g. controlling whether Emacs should open a new eww session when jumping to a bookmark or not (I rarely use eww, basically only for a few cases, so I don't care about multiple eww buffers). Thanks for working on this, -- Marcin Borkowski http://mbork.pl