
On Mon, 27-December-2021, at 08:00:26, Solid
Hi,
On Mon, Dec 27 2021 00:50, Ramon Diaz-Uriarte wrote:
I have changed the last line from mkXPrompt (Wor "") c (mkCompl ts) job' to mkXPrompt (Wor "") c (mkComplFunFromList' c ts) job'
Using this in my xmonad.hs seems to work fine with windows' shift, copy and shiftThenView (last one from Ivan Malison's https://github.com/ivanmalison/dotfiles/blob/0a84ad772e21155cfc00458b66ccb79...)
Indeed, I think this would be the right change. The current `mkCompl` is basically just what `mkComplFunFromList'` with the default `searchPredicate` (which is `isPrefixOf`) does; it's definitely better to let users choose their own predicate.
Thanks for the confirmation!
If you want, you can submit a pull-request for this[1]!
I just did. (Which makes me feel rather uneasy, given my haskell-ignorance ;-) ) Best, R.
Tony
-- Ramon Diaz-Uriarte Department of Biochemistry, Lab B-31 Facultad de Medicina Universidad Autónoma de Madrid Arzobispo Morcillo, 4 28029 Madrid Spain Phone: +34-91-497-2412 Email: rdiaz02@gmail.com r.diaz@uam.es https://ligarto.org/rdiaz