[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] eww-open-in-new-buffer
From: |
Mark Oteiza |
Subject: |
Re: [PATCH] eww-open-in-new-buffer |
Date: |
Wed, 2 Nov 2016 16:52:07 -0400 |
User-agent: |
Mutt/1.7+23 (87911ba95dae) (2016-08-17) |
On 02/11/16 at 08:22pm, Lars Ingebrigtsen wrote:
> Mark Oteiza <address@hidden> writes:
>
> > I wanted something akin to "open in new tab" for eww, so I wrote the
> > following.
> >
> > M-RET seemed a good binding. One thing that bugs me about this is that
> > eww-current-url in eww-suggest-uris didn't quite fit: as the new
> > function is, it doesn't make sense if url is (eww-current-url).
> >
> > So, I made changes to eww-suggest-uris. Alternatively,
> > eww-open-in-new-buffer could check if url is equal to eww-current-url
> > and just clone instead of invoking eww. That might be better.
>
> Looks good to me, I think. It should probably have a NEWS entry and an
> eww manual entry, though.
>
> > (defcustom eww-suggest-uris
> > '(eww-links-at-point
> > - url-get-url-at-point
> > - eww-current-url)
> > + url-get-url-at-point)
>
> And this should have a :version "26.1".
Thanks. I ended up implementing the "alternative" since what I had in
the patch ended up being weird.