GNU bug report logs -
#52973
Adding a few context-menu-mode commands
Previous Next
Reported by: Philip Kaludercic <philipk <at> posteo.net>
Date: Mon, 3 Jan 2022 08:38:02 UTC
Severity: normal
Tags: patch
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Philip Kaludercic <philipk <at> posteo.net> writes:
>
>> Maybe one should not only configure a general search engine, but a
>> search engine depending on a context. Sometimes you might want to use a
>> specialised search engine (e.g. hoogle when working on Haskell), and
>> that should be automatically detected as the default. In the same way,
>> if EWW would be using a special "context" to designate that it wants a
>> JS-free search engine (HTML DuckDuckGo).
>
> Sure, sounds good (but it's not immediately obvious to me how the user
> (and packages) would specify these contexts)...
I would suggest a variable like `webjump-search-context' that could be
locally bound in cases like eww or set as a buffer local variable for
things like haskell-mode.
The structure and contents of such a variable are another question that
I will try to experiment with once I have the time to do s.
--
Philip Kaludercic
This bug report was last modified 3 years and 115 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.