GNU bug report logs - #77016
[PATCH] Use region as suggested URI in eww by default

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Fri, 14 Mar 2025 17:14:02 UTC

Severity: wishlist

Tags: patch

Full log


Message #13 received at 77016 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 77016 <at> debbugs.gnu.org, Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#77016: [PATCH] Use region as suggested URI in eww by default
Date: Sat, 15 Mar 2025 15:55:42 +0100
[Message part 1 (text/plain, inline)]
Stefan Kangas <stefankangas <at> gmail.com> writes:

> Manuel Giraud <manuel <at> ledu-giraud.fr> writes:
>
>> Here is a patch for eww.  It adds the current region on top of the
>> suggested URI.  This way when reading a page in eww, one can select a
>> region and hit "M-RET" to open a new window (or tab) with a web search
>> for this selection.  WDYT?
>
> This is a change in behavior, and I can see that it would be useful to
> some users.  However, there are many reasons why one would _not_ want
> this behavior by default, and it feels risky to have this level of DWIM
> by default.
>
> I think it should be optional and/or behind a prompt.
>
> This should be documented in NEWS.

Thanks for your review.  What about this new one?  I'm not quite sure
about the 'deactivate-mark' (and its place) but if I don't do this a
"wrong" region is active in the new "web search" buffer.

[0001-Use-region-as-suggested-URI-in-EWW.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Manuel Giraud

This bug report was last modified 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.