[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
w3m-search-engine-alist should put the search string consistently first
- From: jidanni@xxxxxxxxxxx
- Date: Fri, 02 Dec 2011 07:07:38 +0800
- X-ml-name: emacs-w3m
- X-mail-count: 11680
Shouldn't the %s always come first, so one can consistently see it in
the same place in the URL?
$ perl -nwle '/google.*(\?.*%s)/ && print $1' w3m-search.el|sort|uniq -c|sort -nr
18 ?q=%s
2 ?hl=ja&ie=Shift_JIS&q=%s
2 ?hl=en&q=%s
1 ?ie=utf-8&q=%s
1 ?hl=ja&ie=utf-8&q=%s
1 ?hl=en&ie=utf-8&q=%s
I believe the command line arguments are all processed at the same time
so one does not need to say what coding system first... so the rest
could be made like the 18.