GNU bug report logs -
#16258
24.3.50;[PATCH] eww: Add new function of region-search.
Previous Next
Reported by: Kenjiro NAKAYAMA <nakayamakenjiro <at> gmail.com>
Date: Thu, 26 Dec 2013 03:13:01 UTC
Severity: wishlist
Tags: fixed, patch
Found in version 24.3.50
Fixed in version 25.1
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Hm... so this would just use the default search engine to search for
> whatever is in the region?
Yes, that's right. It is not big function, sorry...
> I'm not sure that that's a useful eww mode
> command, but it might be a useful global command...
Then, how about delete the key map and include the eww-search-region?
I want to know how much eww should provide its utilities like this function.
* delete
>> + (define-key map [(meta s)(meta s)] 'eww-search-region)
* remain
>> +(defun eww-search-region (&optional beg end)
>> + (interactive "r")
>> + (eww (buffer-substring beg end)))
Kenjiro
larsi <at> gnus.org writes:
> Kenjiro NAKAYAMA <nakayamakenjiro <at> gmail.com> writes:
>
>> + (define-key map [(meta s)(meta s)] 'eww-search-region)
>
> [...]
>
>> +(defun eww-search-region (&optional beg end)
>> + (interactive "r")
>> + (eww (buffer-substring beg end)))
>
> Hm... so this would just use the default search engine to search for
> whatever is in the region? I'm not sure that that's a useful eww mode
> command, but it might be a useful global command...
This bug report was last modified 10 years and 183 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.