[xmonad] darcs patch: Shell.hs: getEditor/Browser changes

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Thu Apr 3 21:55:47 EDT 2008

On Apr 3, 2008, at 21:49 , gwern0 at gmail.com wrote:
> On 2008.04.03 19:09:42 -0400, "Brandon S. Allbery KF8NH"  
> <allbery at ece.cmu.edu> scribbled 0.9K characters:
>> On Apr 3, 2008, at 18:57 , Brandon S. Allbery KF8NH wrote:
>>> Also, you haven't addressed the question of editors requiring  
>>> terminal
>> windows, if I read the patch right.  At the price of spawning a  
>> useless
>> terminal when an X11-aware editor is specified, you can prefix  
>> "xterm -e "
>> to the selected editor (or, perhaps better, use the existing terminal
>> preference).
> No, it doesn't. I thought about it and:
> #You could penalize every user like myself using a sensible editor  
> which can handle the CLI *and* X (shocking) with a bogus terminal,  
> which is silly

Or you could just change what $VISUAL means on the grounds that  
*your* definition is the only correct one and the standard one  
therefore is wrong.

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

More information about the xmonad mailing list