[xmonad] spawn command when no completion is available (if alwaysHighlight is True); changes commandToComplete in Prompt/Shell to complete the whole word instead of using getLastWord

Gwern Branwen gwern0 at gmail.com
Sat Feb 9 22:01:16 CET 2013


On Sat, Feb 9, 2013 at 2:27 PM, Carsten Mattner
<carstenmattner at gmail.com> wrote:
> On Sat, Feb 9, 2013 at 8:13 PM, Carlos López Camey <c.lopez at kmels.net> wrote:
>> This small patch addresses
>> http://www.haskell.org/pipermail/xmonad/2013-February/013512.html.
>>
>> The new behaviour also affects users that have alwaysHighlight set to
>> False (the default) in the following way:
>>
>>  - "xterm -e emacs" autocompleted to e.g.
>> ["emacs","emacs23","emacs-24.2",..] before (using the last word)
>>  - "xterm -e emacs" autocompletes to nothing now
>>
>> which I'm not sure is a problem.
>
> Tried and it works for me. Thanks Carlos.

If no one objects, I will push this in 5 days.

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



More information about the xmonad mailing list