[emacs-w3m:13860] Re: EWW func add url under point as bookmark

Emanuel Berg <[email protected]> Thu, 14 Apr 2022 23:08:30 +0200
Newsgroups gmane.emacs.w3m
Message-ID <[email protected]>
The following message is a courtesy copy of an article
that has been posted to gmane.emacs.help as well.

Alex wrote:

> When Im reading mails, or when Im in IRC or browsing pages
> with EWW, sometimes I get an interesting url, then I want
> save it as eww bookmark to read it in other moment.
>
> I was searching a function that add a bookmark from the url
> under cursor (point), but there aren't some like it.
>
> I want write a func for it, so I was searching a func that
> add a bookmark from a string [...]
>
> But `eww-add-bookmark' dont support arguments

Check out these for inspiration and code that you can adapt:

  https://dataswamp.org/~incal/emacs-init/w3m/w3m-url.el

  https://dataswamp.org/~incal/emacs-init/w3m/w3m-bookmark-more.el

-- 
underground experts united
https://dataswamp.org/~incal