[xmonad] darcs patch: Prompt.hs: mv uniqSort to next to its co... (and 3 more)

intrigeri intrigeri at boum.org
Thu Oct 9 15:03:49 EDT 2008

gwern0 at gmail.com wrote (08 Oct 2008 20:54:18 GMT) :
>   * Prompt.hs: have historyCompletion filter dupes
>   Specifically, it calls deleteConsecutiveDuplicates on the end product.
> uniqSort reverses order in an unfortunate way, so we don't use that.
>   The use-case is when a user has added the same input many times - as it stands, if
> the history records 30 'top's or whatever, the completion will show 30 'top' entries!
> This fixes that.

Fixing this annoyance would make me happy.

  intrigeri <intrigeri at boum.org>
  | gnupg key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | Do not be trapped by the need to achieve anything.
  | This way, you achieve everything.

More information about the xmonad mailing list