purescript-emacs / psc-ide-emacs

Emacs integration for PureScript's psc-ide tool.
GNU General Public License v3.0
132 stars 31 forks source link

Add option to not display the rebuild messages #175

Closed StephenWakely closed 5 years ago

StephenWakely commented 5 years ago

I find the rebuild messages popup (the psc-ide-rebuild buffer) quite intrusive as it keeps popping up as I am typing (possibly because I have a nervous habit of saving every 2 seconds).

I can work around it by just wrapping the psc-ide-rebuild-handler function with a (unless t but it would be quite nice if perhaps this could become a customizable option.

kritzcreek commented 5 years ago

Unless you've explicitly turned the rebuild on save feature on it shouldn't be running at all: https://github.com/purescript-emacs/psc-ide-emacs/blob/a10cc85565f330ee277698b27f3f715fef2e1ce2/psc-ide.el#L143-L149

StephenWakely commented 5 years ago

Ah, yes I had this turned on. I had somehow mistakenly assumed that this was necessary in order for flycheck to run on save. I can see that I was wrong. So just turning off rebuild-on-save makes it all work as I need.

Thanks for the help and sorry for the bother!