[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: About EmacsWiki Google Custom Search



andy <lazycat.manatee@xxxxxxxxx> writes:

> Hi, I'm use Emacs-W3m (1.5) and Emacs (23.0.60.2).
> Last time you give a patch to automatic jump next/previous page in Google
> Search of EmacsWiki.                                                                                          
> It work good.                                                                                                                                          
> But today all keyword search in EmacsWiki use Google Search can't jump
> next/previous page automatic.                                                                                        
>
> Example, if i at first page now, it can jump second page automatic, but once i jump to second page,
> it can't automatic jump next/previous page.
>
> Perhaps administractor modify Google Search of EmacsWiki.
>
> Can you give me a patch to work whatever administractor modify the working Google Search of EmacsWiki.
> This times is the third times report same problem.
> You know i'm love this automatic jump. I'm a too lazy people. :)

Thank you your report.  I've applied this patch and it works well now.

Regards,
Naohiro Aota

Index: w3m.el
===================================================================
RCS file: /storage/cvsroot/emacs-w3m/w3m.el,v
diff -u -r1.1359 -r1.1360
--- w3m.el	19 May 2008 15:13:42 -0000	1.1359
+++ w3m.el	24 May 2008 19:42:47 -0000	1.1360
@@ -1906,7 +1906,7 @@
   `((w3m-relationship-simple-estimate
      "\\`http://\\(?:www\\|blogsearch\\|groups\\|news\\|images\\)\
 \\.google\\.[^/]+/\\(?:\\(?:blog\\|code\\)?search\\|groups\\|news\\|images\
-\\|cse\\?cx=\\|custom\\?q=\\)"
+\\|cse\\?cx=\\|custom\\?\\(?:q\\|hl\\)=\\)"
      ,(concat "<a[^>]+?href=" w3m-html-string-regexp
 	      ">\\(?:\\(?:<img src=[^>]*nav_next\\.gif\\)"
 	      "\\|\\(?:<span>Next</span>\\)\\)")