From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: w3m duckduckgo as default search engine next page Date: Wed, 23 Oct 2013 18:16:09 +0100 Message-ID: <87sivrx606.fsf@gmx.co.uk> References: <87zjq1vscw.fsf@gmx.co.uk> <8761sokcny.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1382548586 30804 80.91.229.3 (23 Oct 2013 17:16:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2013 17:16:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Eric Abrahamsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 23 19:16:31 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VZ22p-00008J-H4 for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Oct 2013 19:16:31 +0200 Original-Received: from localhost ([::1]:50690 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ22p-00074j-1g for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Oct 2013 13:16:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ22a-00073m-TA for help-gnu-emacs@gnu.org; Wed, 23 Oct 2013 13:16:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZ22V-0006Hw-SZ for help-gnu-emacs@gnu.org; Wed, 23 Oct 2013 13:16:16 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:63364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ22V-0006Hq-I2 for help-gnu-emacs@gnu.org; Wed, 23 Oct 2013 13:16:11 -0400 Original-Received: from deusexmachina ([46.39.111.188]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LbgyV-1VyEuv0NYJ-00lHQc for ; Wed, 23 Oct 2013 19:16:10 +0200 In-Reply-To: <8761sokcny.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 23 Oct 2013 09:18:25 +0800") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (gnu/linux) X-Provags-ID: V03:K0:vRNZnfOP0QYzr7QTPHh5D1hAFGOCpR/Rvo57Hz8pEAAtzqGnYyw ydMfw6jZ1+bEYFQzdA8YNqU0yN26MhYTJua8cbgReQG/hVlVtoqgZ7bqG/GX56E7rzaj/Qr 45ffnwzB93kmAD4h6cjTmPXHnssAb8/M5SjxvFE/5xq3WrgM8i6FVZsycLHabPOXI55RVpz j8IZk2sYeHtPxSjAHBBlQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.15 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94176 Archived-At: Eric Abrahamsen writes: > writes: > >> I am looking to change w3m default search engine to be something else >> than google in trying to break the addiction, and duckduckgo seems a >> viable option. >> >> I googled (...) for experiences and found >> >> ,---- >> | (require 'w3m-search) >> | >> | (setq w3m-search-default-engine "duckduckgo") >> | ;; (setq w3m-search-default-engine "google") >> | >> | (add-to-list 'w3m-search-engine-alist '("duckduckgo" >> | "http://duckduckgo.com/?q=%s" nil)) >> `---- >> >> This makes duckduckgo the default search engine, however the nifty >> feature of goinf to the next page of search resuts by SPC doesn't >> work. Is it possible to make this smoother? > > That's not a w3m thing, that's provided by the web page in question. > Google provides nice rel="next|prev" links, and SPC in w3m is bound to a > command that will scroll the buffer, or follow a "next" link if you're > at the bottom of the buffer and there is such a link. > > If the site doesn't provide next/prev, there's not much w3m can do, at > least not out of the box. > Yeah, I figured as much, sorry for being unclear. I am not trying to insinuate a bug in w3m when it seems to be rather poor web design practice (if there is a convention that is, which seems a reasonable assumption...) here, but was rather hoping there's 1) an easy way to tweak w3m to overcome this limitation in the web page, or 2) another search engine to use that has these links, which is not google. I'm not too bothered and will probably just stay with google anyhow, but given the surveillance and power in the large coorps now I thought it worth looking into options and opinions. I mean, hey, if I could gather all that data I would also look into creative uses of the statistics! So why not support the smaller players if any, we all now how it is when one company gets all too powerful. Thanks though for your input! Best, J