unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean-Christophe Helary <jean.christophe.helary@traductaire-libre.org>
To: emacs-devel <emacs-devel@gnu.org>
Subject: [patch] Add a reference to eww-search-words to the manual
Date: Thu, 16 May 2024 09:15:33 +0000	[thread overview]
Message-ID: <90C6BA1A-922C-4526-895D-AF108B497DB6@traductaire-libre.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

I have a small patch that adds a line to the manual to show the reader 
how to do a web search with the region.

I had to actually search the web to learn how to do that :)
https://irreal.org/blog/?p=5609



-- 
Jean-Christophe Helary
@jchelary@emacs.ch
https://sr.ht/~brandelune/



[-- Attachment #2: 0001-Add-reference-to-eww-search-words-in-the-manual.patch --]
[-- Type: application/octet-stream, Size: 1193 bytes --]

From 5022dd602b75b76ac41ea62e178c37a7deb04ab2 Mon Sep 17 00:00:00 2001
From: Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org>
Date: Thu, 16 May 2024 17:36:14 +0900
Subject: [PATCH] Add reference to eww-search-words in the manual

---
 doc/misc/eww.texi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/misc/eww.texi b/doc/misc/eww.texi
index eec6b3c3299..dd480ddbcb3 100644
--- a/doc/misc/eww.texi
+++ b/doc/misc/eww.texi
@@ -83,8 +83,10 @@ Basics
 @findex eww
 @findex eww-open-file
 @vindex eww-search-prefix
+@findex eww-search-words
 @cindex eww
 @cindex Web Browsing
+@cindex Web Search
   You can open a URL or search the web with the command @kbd{M-x eww}.
 If the input doesn't look like a URL or domain name the web will be
 searched via @code{eww-search-prefix}.  The default search engine is
@@ -97,6 +99,10 @@ Basics
 buffer instead of reusing the default one, which is normally called
 @file{*eww*}.
 
+  You can also directly search the region by invoking @kbd{M-s M-w}
+(@code{eww-search-words}). If the region is empty, EWW will act as if
+you invoked it directly.
+
 @findex eww-quit
 @findex eww-reload
 @findex eww-copy-page-url
-- 
2.44.0


             reply	other threads:[~2024-05-16  9:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-16  9:15 Jean-Christophe Helary [this message]
2024-05-16 12:01 ` [patch] Add a reference to eww-search-words to the manual Eli Zaretskii
2024-05-16 13:04   ` Jean-Christophe Helary
2024-05-16 13:44     ` Eli Zaretskii
2024-05-16 14:01       ` Jean-Christophe Helary
2024-05-18 22:11 ` Stefan Kangas
2024-05-19  2:35   ` Jean-Christophe Helary
2024-05-19  7:53     ` Stefan Kangas

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=90C6BA1A-922C-4526-895D-AF108B497DB6@traductaire-libre.org \
    --to=jean.christophe.helary@traductaire-libre.org \
    --cc=emacs-devel@gnu.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).