From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#52973: Adding a few context-menu-mode commands Date: Sun, 23 Jan 2022 22:04:50 +0200 Organization: LINKOV.NET Message-ID: <8635lerzfh.fsf@mail.linkov.net> References: <87o84tp69h.fsf@posteo.net> <868rvwsezi.fsf@mail.linkov.net> <87czl75lyz.fsf@posteo.net> <86czl6au29.fsf@mail.linkov.net> <874k6idjod.fsf@posteo.net> <86o84pthgp.fsf@mail.linkov.net> <87pmp4lmfz.fsf@posteo.net> <87bl038sr2.fsf@posteo.net> <86bl02x04g.fsf@mail.linkov.net> <87iluay7oz.fsf@posteo.net> <87tuduabv1.fsf@gnus.org> <878rv6ifcs.fsf@posteo.net> <86fspeuy21.fsf@mail.linkov.net> <87k0eqfd1j.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39312"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Lars Ingebrigtsen , 52973@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 23 21:07:56 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nBj9V-000A0H-R3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Jan 2022 21:07:53 +0100 Original-Received: from localhost ([::1]:60732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nBj9U-0002rP-EX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Jan 2022 15:07:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBj8g-0002lt-Ft for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2022 15:07:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nBj8g-0007zf-5C for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2022 15:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nBj8g-0006hz-1c for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2022 15:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Jan 2022 20:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 52973-submit@debbugs.gnu.org id=B52973.164296836825710 (code B ref 52973); Sun, 23 Jan 2022 20:07:02 +0000 Original-Received: (at 52973) by debbugs.gnu.org; 23 Jan 2022 20:06:08 +0000 Original-Received: from localhost ([127.0.0.1]:41326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBj7n-0006ga-SB for submit@debbugs.gnu.org; Sun, 23 Jan 2022 15:06:08 -0500 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:44301) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBj7l-0006g1-E2 for 52973@debbugs.gnu.org; Sun, 23 Jan 2022 15:06:06 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id E82C0240009; Sun, 23 Jan 2022 20:05:58 +0000 (UTC) In-Reply-To: <87k0eqfd1j.fsf@posteo.net> (Philip Kaludercic's message of "Sun, 23 Jan 2022 19:49:12 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:224964 Archived-At: >>>>> As the "default search engine" is a new option, changing the default to >>>>> HTML DuckDuckGo should be fine. I personally use it as by default >>>>> search engine, but don't know how popular or unpopular it is. >>>>> >>>>> Adding the default DDG (and perhaps the lite version as well) as >>>>> alternatives seems sensible too. >>>> >>>> The default DDG version has more features than the HTML one, so I think >>>> that's what most people would prefer... >>> >>> 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). >> >> This makes sense as well with e.g. webjump-context-search-engine. > > I am not sure what you mean by webjump-context-search-engine. Should it > be a separate command or a user option? Probably a user option, since you already named the function webjump-search-context-menu. Then maybe a better option name would be webjump-context-menu-default-search?