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

Re: About EmacsWiki Google Custom Search



On Sun, May 25, 2008 at 07:12:21AM +0900, Naohiro Aota wrote:
>From: Naohiro Aota <nao.aota@xxxxxxxxx>
>To: lazycat.manatee@xxxxxxxxx
>Cc: emacs-w3m@xxxxxxxxxx
>Subject: Re: [emacs-w3m:10158] About EmacsWiki Google Custom Search
>Date: Sun, 25 May 2008 07:12:21 +0900
>
>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>\\)\\)")


Hi, I have add this patch, and it's work well.

But i want to ask, if next times administractor modify the working Google Search of EmacsWiki, i
have to report the same problem again, and you have to give me a new patch again?

Okay, just joke, you're working hard, thank you very much! :)