[xmonad] darcs patch: Shell.hs: getEditor/Browser changes
gwern0 at gmail.com
gwern0 at gmail.com
Thu Apr 3 18:41:01 EDT 2008
Thu Apr 3 18:38:12 EDT 2008 gwern0 at gmail.com
* Shell.hs: getEditor/Browser changes
This implements the discussed changes. getEditor now defaults to testing $VISUAL, then $EDITOR. getBrowser tests additional variables, $X-WWW-BROWSER/$WWW-BROWSER. The fallback for getEditor is now emacsclient. Advice is added for Vim users to use gvim by default. The env function is generalized to getEnv on a list; particular thanks to allbery_b who basically wrote the new one - I certainly wouldn't've figured out that use of MonadPlus!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 189360 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080403/ffa5c718/attachment-0001.bin
More information about the xmonad
mailing list