[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eww and bookmarks
From: |
Michael Heerdegen |
Subject: |
Re: eww and bookmarks |
Date: |
Mon, 08 Jun 2020 16:42:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
"Basil L. Contovounesios" <contovob@tcd.ie> writes:
> > +(defcustom bookmark-eww-browse-url-function #'eww-browse-url
> > + "Doc..."
> > + :type '(choice
> > + (function-item eww-browse-url :doc "Use eww")
> > + (const :tag "Use value of `browse-url-browser-function'" nil)
> > + function))
>
> Isn't it strange having a boookmark-... variable defined in eww.el?
Yes. OTOH I wanted to avoid the risk of confusion with eww bookmarks
and not call it "eww-bookmark-...". Suggestions?
> > +(defun eww--bookmark-title (title-string)
> > + (replace-regexp-in-string
> > + "\\` +\\| +\\'" ""
> > + (replace-regexp-in-string "[\n\t\r]" " " title-string)))
>
> Is the outer replace-regexp-in-string doing the same as string-trim?
Is it? I didn't touch that code, I only moved it for factoring.
> > +(defun eww-bookmark-make-record ()
> > + "Create an emacs bookmark record
> ^^^^^
> Capitalize
Done.
> > for an eww buffer.
> > ^^^
> > Upcase
Is it ok to leave it downcased?
Thanks,
Michael.
- Re: eww and bookmarks, Michael Heerdegen, 2020/06/07
- Re: eww and bookmarks, Basil L. Contovounesios, 2020/06/07
- Re: eww and bookmarks, Michael Heerdegen, 2020/06/07
- Re: eww and bookmarks, Tomas Hlavaty, 2020/06/07
- Re: eww and bookmarks, Basil L. Contovounesios, 2020/06/07
- Re: eww and bookmarks, Michael Heerdegen, 2020/06/08
- Re: eww and bookmarks, Basil L. Contovounesios, 2020/06/08
- Re: eww and bookmarks, Michael Heerdegen, 2020/06/10
Re: eww and bookmarks, Lars Ingebrigtsen, 2020/06/07
Re: eww and bookmarks,
Michael Heerdegen <=
Re: eww and bookmarks, Clément Pit-Claudel, 2020/06/07