Juri Linkov writes: >> I am attaching a few patches adding a few features for >> context-menu-mode, that I mentioned and explained here: >> https://ruzkuku.com/texts/emacs-mouse.html. >> >> Would it be OK to add these to Emacs itself? > > Thanks, it would be beneficial to enrich the packages with the > context-menus. Man-context-menu is a good addition to the package > man.el, and hi-lock-context-menu to hi-lock.el. However, > mouse-online-search-at-point looks out of place in mouse.el. > Since it relies on eww, wouldn't the right place for it be > in eww.el? It doesn't really depend on eww in any substantial way, rather eww is the only place where a search engine is defined. What I was thinking about was adding a command like online-search (that could then have both a keyboard and mouse-oriented command), a online-search-engine user option. While one is at it, eww could be updated to use this too, by deprecating eww-search-prefix: