From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: w3m duckduckgo as default search engine next page Date: Wed, 23 Oct 2013 09:18:25 +0800 Message-ID: <8761sokcny.fsf@ericabrahamsen.net> References: <87zjq1vscw.fsf@gmx.co.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1382491058 23515 80.91.229.3 (23 Oct 2013 01:17:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2013 01:17:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 23 03:17:42 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 1VYn4t-0005K9-JZ for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Oct 2013 03:17:39 +0200 Original-Received: from localhost ([::1]:47243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYn4s-0007WP-R2 for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Oct 2013 21:17:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYn4e-0007VR-JD for help-gnu-emacs@gnu.org; Tue, 22 Oct 2013 21:17:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYn4Z-0002lH-Cx for help-gnu-emacs@gnu.org; Tue, 22 Oct 2013 21:17:24 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:45738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYn4Z-0002l8-5H for help-gnu-emacs@gnu.org; Tue, 22 Oct 2013 21:17:19 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VYn4X-00057q-Q8 for help-gnu-emacs@gnu.org; Wed, 23 Oct 2013 03:17:17 +0200 Original-Received: from 123.122.44.74 ([123.122.44.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Oct 2013 03:17:17 +0200 Original-Received: from eric by 123.122.44.74 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Oct 2013 03:17:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 123.122.44.74 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:W09kXNQPMQQsTV/iRTFcpP771h4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:94158 Archived-At: writes: > Hi, > > 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. E