Re: [xmonad] Patch: changes in Prompt and new module

2012/8/2 Carsten Mattner
On Thu, 02 Aug 2012 18:45:19 +0200, Carlos López Camey
wrote: I meant XMonad.Actions.Launcher in the patch. Thoughts, suggestions and nerd-rage are very welcome.
Hi Carlos,
can you explain this in more detail?
What would I do differently?
Thanks,
Carsten
Hello Carsten, The module is a prompt, like Prompt.Shell, where you can change between more prompts ("modes"). Currently there are 4 modes: - search hoogle (requires local install). It opens a haddock documentation on a browser. - search files with locate. It opens a file with a desired program, depending on its extension. - search files with locate --regexp. Like the one above, but autocompletion takes regex. - calculator (requires `calc` installed), only autocompletes arithmetic expressions. If you would like to try it, you can check the usage notes in the haddock documentation, which I'm attaching By the way I think I fixed the bug with alwaysHighlight. I will send it now to the list, I hope everything works for you now. Cheers! Carlos

On Sat, Aug 11, 2012 at 5:36 PM, Carlos López Camey
2012/8/2 Carsten Mattner
: On Thu, 02 Aug 2012 18:45:19 +0200, Carlos López Camey
wrote: I meant XMonad.Actions.Launcher in the patch. Thoughts, suggestions and nerd-rage are very welcome.
Hi Carlos,
can you explain this in more detail?
What would I do differently?
Thanks,
Carsten
Hello Carsten,
The module is a prompt, like Prompt.Shell, where you can change between more prompts ("modes"). Currently there are 4 modes:
- search hoogle (requires local install). It opens a haddock documentation on a browser. - search files with locate. It opens a file with a desired program, depending on its extension. - search files with locate --regexp. Like the one above, but autocompletion takes regex. - calculator (requires `calc` installed), only autocompletes arithmetic expressions.
If you would like to try it, you can check the usage notes in the haddock documentation, which I'm attaching
Thanks I know about those but still don't know what that has to do with the Launcher prompt. Slightly confused.
By the way I think I fixed the bug with alwaysHighlight. I will send it now to the list, I hope everything works for you now.
Thansk I will test it once hackage is online.

On Sat, Aug 11, 2012 at 1:11 PM, Carsten Mattner
On Sat, Aug 11, 2012 at 5:36 PM, Carlos López Camey
wrote: between more prompts ("modes"). Currently there are 4 modes:
- search hoogle (requires local install). It opens a haddock documentation on a browser. - search files with locate. It opens a file with a desired program, depending on its extension. - search files with locate --regexp. Like the one above, but autocompletion takes regex. - calculator (requires `calc` installed), only autocompletes arithmetic expressions.
If you would like to try it, you can check the usage notes in the haddock documentation, which I'm attaching
Thanks I know about those but still don't know what that has to do with the Launcher prompt. Slightly confused.
That's not describing prompts in general but the Launcher prompt in particular. -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms

On Sat, Aug 11, 2012 at 7:30 PM, Brandon Allbery
On Sat, Aug 11, 2012 at 1:11 PM, Carsten Mattner
wrote: On Sat, Aug 11, 2012 at 5:36 PM, Carlos López Camey
wrote: between more prompts ("modes"). Currently there are 4 modes:
- search hoogle (requires local install). It opens a haddock documentation on a browser. - search files with locate. It opens a file with a desired program, depending on its extension. - search files with locate --regexp. Like the one above, but autocompletion takes regex. - calculator (requires `calc` installed), only autocompletes arithmetic expressions.
If you would like to try it, you can check the usage notes in the haddock documentation, which I'm attaching
Thanks I know about those but still don't know what that has to do with the Launcher prompt. Slightly confused.
That's not describing prompts in general but the Launcher prompt in particular.
I see. I still don't see what I was supposed to do with that info to avoid the non-launching of the selected entry with the alwaysHighlight patch applied.
participants (3)
-
Brandon Allbery
-
Carlos López Camey
-
Carsten Mattner