| Weedy | more like "svn failed to check out sources" "autoreconf failed" etc |
| dons | ah ok |
| Weedy | its not my script im worried about its all the ways the ext programs can fail |
| dons | right. untyped, nasty shell programming with arbitrary argument and return conventions doesn't make for robust programming |
| Weedy | very yes hate bash |
| dons | the linspire guys wrap their unix package tools in haskell bindings, hiding all the different caling conventions under a uniform, typed haskell api then they write haskell glue code instead of shell meaning uniform , type checked script glue. its a great approach i think if i had to write a lot of shell code, i'd probably take that approach instead |
| Weedy | i had this done in 200 lines |
| dons | jcreigh: what do we do with XFetchName? |
| Weedy | i think im over 500 now |
| dons | 200 lines is about 150 lines beyond where I'd stop and write it in a proper language :-) |
| jcreigh | dons: Nothing, I just thought it would be a fun function to bind. :) (no, really, I have some window-picker code that uses dmenu to jump to an arbitrary window) |
| dons | does it work yet? |
| jcreigh | dons: but I'm not happy with it yet (mainly because of dmenu) so I haven't released it. |
| action | dons looks around for a nice shell program to rewrite as an ExitStatus monad |
| dons | looks around for a nice shell program to rewrite as an ExitStatus monad |
| jcreigh | long window names make it so that only a couple windows are visible in the menu because dmenu reserves at least enough space to type as the longest option. really, a window picker should be something like dmenu, but multi-line. |
| dons | ah so you need to filter jcreigh: hmm. like dzen then? |
| jcreigh | dons: possibly. It didn't look like there was any way to get dzen to act that way. (select an option, then echo selection, like dmenu) |
| dons | jcreigh: does "avoid grabbing all keys when a keysym is undefined" fix a bug? (if so, can you describe what bug it fixes, when naming the pathch) hmm. i should set up a Trac instance for us. |
| jcreigh | dons: the bug gimboland was talking about. |
| dons | right. can you mentoin that in the patch next time? |
| jcreigh | who reported it? |
| foxy-om | @dcoutts: ping -- any word on the file path separator issue in c2hs ? |
| lambdabot | Unknown command, try @list |
| dons | "Fixes bug [#12|reported by gimboland]" depending on whether its a trac bug, or just hearsay :-) |
| foxy-om | dcoutts: ping -- any word on the file path separator issue in c2hs ? |
| jcreigh | dons: okay |
| dons | jcreigh: more just name the bug, so we can cross it off our mental list of bugs. but yes, we need trac. |