Package: w3m-el-snapshot Version: 1.4.478+0.20120501-1 Severity: normal I use wikipedia as my default search engine:
(setq w3m-search-engine-alist '(("google" "http://encrypted.google.com/search?q=%s") ;; ("google" "http://google.com.au/search?q=%s") ("wikipedia" "https://en.wikipedia.org/wiki/Special:Search/%s") ;; ("wikipedia" "http://en.wikipedia.org/wiki/Special:Search/%s") ("duckduckgo" "https://duckduckgo.com/lite?q=%s")) w3m-search-default-engine "wikipedia") Around 15 July 2011, this stopped working properly. It turned out to be because Wikipedia started treating these links differently: https://en.wikipedia.org/wiki/Special:Search/foo+bar https://en.wikipedia.org/wiki/Special:Search/foo%20bar At that time, I deployed a workaround in my .emacs: ;;; Guerilla patch -- redefine this to cat using "%20" instead of "+", since ;;; apparently Wikipedia doesn't like the latter anymore. (eval-after-load "w3m-search" '(defun w3m-search-escape-query-string (str &optional coding) (mapconcat (lambda (s) (w3m-url-encode-string s (or coding w3m-default-coding-system))) (split-string str) "%20"))) ...however this should probably be dealt with upstream. I do not know if simply changing + to %20 is the right way to address this, but I haven't had any problems so far. PS: sorry I didn't bother to report this sooner... -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages w3m-el-snapshot depends on: ii dpkg 1.16.2 ii emacs23-nox [emacs23] 23.4+1-3 ii install-info 4.13a.dfsg.1-9 ii w3m 0.5.3-8 Versions of packages w3m-el-snapshot recommends: pn apel <none> pn flim <none> Versions of packages w3m-el-snapshot suggests: pn bzip2 1.0.6-1 pn imagemagick <none> pn libmoe1.5 <none> pn mule-ucs <none> pn namazu2 <none> pn perl-doc <none> pn poppler-utils [xpdf-utils] 0.16.7-3 pn ppthtml <none> pn wv <none> pn xlhtml <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org