From: Mark Oteiza <mvoteiza@udel.edu>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] eww-open-in-new-buffer
Date: Wed, 2 Nov 2016 16:52:07 -0400 [thread overview]
Message-ID: <20161102205207.GA20062@holos.localdomain> (raw)
In-Reply-To: <m3d1idit4o.fsf@gnus.org>
On 02/11/16 at 08:22pm, Lars Ingebrigtsen wrote:
> Mark Oteiza <mvoteiza@udel.edu> 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.
prev parent reply other threads:[~2016-11-02 20:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-02 2:03 [PATCH] eww-open-in-new-buffer Mark Oteiza
2016-11-02 19:22 ` Lars Ingebrigtsen
2016-11-02 20:52 ` Mark Oteiza [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161102205207.GA20062@holos.localdomain \
--to=mvoteiza@udel.edu \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).