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

Re: Google search within EmacsWiki (was Re: About Emacs-W3m)



Hi, Katsumi Yamaoka.
You know, I'm use Emacs-W3m (1.5) and Emacs (23.0.60.2).
Last time you give a patch to auto 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.
Perhaps administractor modify Google Search of EmacsWiki.
Can you give me other patch?
Thanks! ^_^



2008/4/3, Lazycat Manatee <lazycat.manatee@xxxxxxxxx>:
> 2008/4/3, Katsumi Yamaoka <yamaoka@xxxxxxx>:
> > >>>>> In [emacs-w3m : No.10067] Lazycat Manatee wrote:
> > > Hi.
> > > I'm use Emacs-W3m (version: 1.5) in Emacs CVS (version: 23.0.60.2)
> >
> > > I find Emacs-W3m is good job about Google Search, example, function
> > > "w3m-scroll-up-or-next-url" when reach bottom Goolge page, and auto
> > > jump to next page.
> >
> > > I always search in EmacsWiki, and EmacsWiki's search engine is use
> > > Google. But why in EmacsWiki, the page of Goole search can't auto jump
> > > to next page?
> > > How to setup about?
> >
> > I've installed the Google search within EmacsWiki support in the
> > emacs-w3m CVS trunk.  Could you try it?  The patch is below.
> >
> > Though I'm not sure the change does not something bad in other
> > Google pages.  So, please let me know it if anyone experiences
> > inconvenience.
> >
> > Regards,
> >
> > --8<---------------cut here---------------start------------->8---
> > --- w3m.el~	2008-03-17 07:21:51 +0000
> > +++ w3m.el	2008-04-03 08:46:40 +0000
> > @@ -1901,7 +1901,8 @@
> >  (defcustom w3m-relationship-estimate-rules
> >    `((w3m-relationship-simple-estimate
> >       "\\`http://\\(?:www\\|blogsearch\\|groups\\|news\\|images\\)\
> >
> -\\.google\\.[^/]+/\\(?:\\(?:blog\\|code\\)?search\\|groups\\|news\\|images\\)"
> >
> +\\.google\\.[^/]+/\\(?:\\(?:blog\\|code\\)?search\\|groups\\|news\\|images\
> > +\\|cse\\?cx=\\|custom\\?q=\\)"
> >       ,(concat "<a[^>]+?href=" w3m-html-string-regexp
> >  	      "><img src=[^>]*nav_next\\.gif")
> >       ,(concat "<a[^>]+?href=" w3m-html-string-regexp
> > --8<---------------cut here---------------end--------------->8---
> >
>
> Hi, I haven test it.
> It works fine.
> Thanks! ^_^
>