Don't use xmessage when (re)compile errors

Honestly I don't like xmessage very much, I'm happy enough looking the compile errors in the file .errors file or directly on the terminal. Besides uninstalling xmessage is there other sensible way to deactivate it? Regards! -- Pablo Olmos de Aguilera Corradini - @PaBLoX http://www.glatelier.org/ http://about.me/pablox/ http://www.linkedin.com/in/pablooda/ Linux User: #456971 - http://counter.li.org/

Pablo Olmos de Aguilera C. [2012.09.25 0005 -0400]:
Honestly I don't like xmessage very much, I'm happy enough looking the compile errors in the file .errors file or directly on the terminal. Besides uninstalling xmessage is there other sensible way to deactivate it?
Hi Pablo: You can of course always get the darcs version and edit the source code that invokes xmessage and make sure it doesn't do that. This may not be a great idea, though, because you might get terribly confused that some change you made in your xmonad.hs file seems to have no effect...because of a compile error you were not notified of. My point is: the way it's set up right now, the popping up of xmessage is your only indication that the recompile on restart failed. Cheers, Norbert

Quoting "Pablo Olmos de Aguilera C."
Honestly I don't like xmessage very much, I'm happy enough looking the compile errors in the file .errors file or directly on the terminal. Besides uninstalling xmessage is there other sensible way to deactivate it?
If you prefer the command line, you can use "xmonad --recompile", which will dump its errors to stdout (or maybe stderr, I don't remember). When it doesn't give any output, then either "xmonad --restart" or mod+q. ~d

On Tue, Sep 25, 2012 at 12:05 AM, Pablo Olmos de Aguilera C. < pablo@glatelier.org> wrote:
Honestly I don't like xmessage very much, I'm happy enough looking the compile errors in the file .errors file or directly on the terminal. Besides uninstalling xmessage is there other sensible way to deactivate it?
I have a wrapper (remapping to kdialog, but feel free to make it a symlink to /bin/true instead :) in my private bin directory. You will have to make sure your $PATH is set up properly. -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms

On 25 September 2012 08:46, Norbert Zeh
Hi Pablo:
You can of course always get the darcs version and edit the source code that invokes xmessage and make sure it doesn't do that. This may not be a great idea, though, because you might get terribly confused that some change you made in your xmonad.hs file seems to have no effect...because of a compile error you were not notified of. My point is: the way it's set up right now, the popping up of xmessage is your only indication that the recompile on restart failed.
Yes, tha's an option, but it's a bit too much to modify the source
code to do that. If you run xmonad --recompile from the command line
it's showed in stdout.
On 25 September 2012 12:42,
If you prefer the command line, you can use "xmonad --recompile", which will dump its errors to stdout (or maybe stderr, I don't remember). When it doesn't give any output, then either "xmonad --restart" or mod+q.
Stdout, but it will still show a xmessage window D:
On 25 September 2012 13:02, Brandon Allbery
I have a wrapper (remapping to kdialog, but feel free to make it a symlink to /bin/true instead :) in my private bin directory. You will have to make sure your $PATH is set up properly.
That's a good idea :), could you point me to where is your "private bin directory" O_o? Regards, -- Pablo Olmos de Aguilera Corradini - @PaBLoX http://www.glatelier.org/ http://about.me/pablox/ http://www.linkedin.com/in/pablooda/ Linux User: #456971 - http://counter.li.org/

On Tue, Sep 25, 2012 at 1:48 PM, Pablo Olmos de Aguilera C. < pablo@glatelier.org> wrote:
On 25 September 2012 13:02, Brandon Allbery
wrote: I have a wrapper (remapping to kdialog, but feel free to make it a symlink to /bin/true instead :) in my private bin directory. You will have to make sure your $PATH is set up properly.
That's a good idea :), could you point me to where is your "private bin directory" O_o?
If you have to ask, you missed the point completely and this solution might be beyond you :( I basically told you how to do it yourself assuming basic Unix literacy. -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms

On 25 September 2012 14:56, Brandon Allbery
On Tue, Sep 25, 2012 at 1:48 PM, Pablo Olmos de Aguilera C.
wrote: On 25 September 2012 13:02, Brandon Allbery
wrote: I have a wrapper (remapping to kdialog, but feel free to make it a symlink to /bin/true instead :) in my private bin directory. You will have to make sure your $PATH is set up properly.
That's a good idea :), could you point me to where is your "private bin directory" O_o?
If you have to ask, you missed the point completely and this solution might be beyond you :( I basically told you how to do it yourself assuming basic Unix literacy.
I do, I just didn't completely understood the email :P, I thought you forgot some kind of link or something like that. Now reading slowly again I can see that I misread it :). Thanks for your suggestion, -- Pablo Olmos de Aguilera Corradini - @PaBLoX http://www.glatelier.org/ http://about.me/pablox/ http://www.linkedin.com/in/pablooda/ Linux User: #456971 - http://counter.li.org/

In case someone else wants to do something similar I posted a gist[1] for that matter. It's a bit brute[2], but until know it works :P. Any suggestion is welcome :). [1] https://gist.github.com/3783783 [2] I couldn't find a more elegant way to do something like the "include?" method on ruby Regards, -- Pablo Olmos de Aguilera Corradini - @PaBLoX http://www.glatelier.org/ http://about.me/pablox/ http://www.linkedin.com/in/pablooda/ Linux User: #456971 - http://counter.li.org/

On Tue, Sep 25, 2012 at 3:06 PM, Pablo Olmos de Aguilera C. < pablo@glatelier.org> wrote:
[2] I couldn't find a more elegant way to do something like the "include?" method on ruby
case "$3" of *"rror detected while loading xmonad configuration file:"*) exit 0 ;; esac -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms
participants (4)
-
Brandon Allbery
-
Norbert Zeh
-
Pablo Olmos de Aguilera C.
-
wagnerdm@seas.upenn.edu