[xmonad] Patch: changes in Prompt and new module

Carlos López Camey c.lopez at kmels.net
Thu Aug 2 02:19:59 CEST 2012


2012/8/1 Carsten Mattner <carstenmattner at gmail.com>:
> On Fri, Jun 29, 2012 at 5:37 PM, Carsten Mattner
> <carstenmattner at gmail.com> wrote:
>> On Fri, Jun 29, 2012 at 2:45 PM, Carsten Mattner
>> <carstenmattner at gmail.com> wrote:
>>> On Fri, Jun 29, 2012 at 12:58 AM, Carlos López Camey <c.lopez at kmels.net> wrote:
>>>> Hello,
>>>>
>>>> please find attached the following patch.
>>>
>>> I just built xmonad and xmonad-contrib+your_patch from darcs and it works.
>>> Thanks a lot.
>>
>> I forgot if I did try to start the auto-selected completion but when
>> I try now and hit Return it doesn't start the selected entry.
>> Can you confirm this bug?
>
> Carlos any bug update?

Hello Carsten,

I apologize for the very late response. I wanted to give a full one
but I haven't fixed the bug yet.

It happens on my setup too, if I remember correctly it is due to the
function highlightedItem returning an empty String as a result of
having no completion window (a Nothing). I don't know why that is
happening (comments appreciated)

A completion window is needed to know the number of rows and columns
of the window because the index in the state is in terms of a current
row and a current column.

I will try to get the (Maybe) current autocompletion String saved in
the state instead of the index, but that may lead to possible invalid
states (e.g. XPS { complString = Just "google-chrome",
alwaysHighlight=False}).

Did you try the other module?

Cheers,
 Carlos



More information about the xmonad mailing list