[xmonad] Misleading documentation for XMonad.Actions.Search

Gwern Branwen gwern0 at gmail.com
Tue Mar 22 03:33:54 CET 2011


On Mon, Mar 21, 2011 at 7:52 PM, Wirt Wolff <wirtwolff at gmail.com> wrote:
> Something else to note and fix is that as it stands in the current darcs
> version, wikipedia and wiktionary don't work properly with any of these
> intelligent searches. (Probably because their urls contain the ':'
> character.)

I don't follow. At least with the infixr, output seems correct:

*XMonad.Actions.Search Control.Monad Data.Char Data.List> use
(wikipedia !> hoogle !> prefixAware google) "wiki:foo"
"http://en.wikipedia.org/wiki/Special:Search?go=Go&search=foo"
*XMonad.Actions.Search Control.Monad Data.Char Data.List> use
(wikipedia !> hoogle !> prefixAware google) "hoogle:foo"
"http://www.haskell.org/hoogle/?q=foo"
*XMonad.Actions.Search Control.Monad Data.Char Data.List> use multi "wiki:foo"
"http://en.wikipedia.org/wiki/Special:Search?go=Go&search=foo"
*XMonad.Actions.Search Control.Monad Data.Char Data.List> use multi "wikt:foo"
"http://en.wiktionary.org/wiki/Special:Search?go=Go&search=foo"

The URLs seem to work when I use them.

-- 
gwern
http://www.gwern.net



More information about the xmonad mailing list