Pages

ntemacs cr/lf suitable for cygwin use

I go crazy because of wrong CR/LF handling, particularly when making a bourne shell script to be executed in cygwin and created in ntemacs. This solved that particular problem for me;

(setq file-name-buffer-file-type-alist ‘((“\.bat$” . nil) (“.*” . t)))

(set in the .emacs file)

Credits go to http://www.iist.unu.edu/newrh/III/3/1/docs/rsltc/windows/emacs_windows_faq.html#translation

"dynamic" grails

I’m experiencing quite some cases where one does changes to grails code and where you have to do magic to get the changes to kick in. That might entail restarting the server or as I experienced today, deleting .mfo directories;

me@host ~/.grails/1.0.4/projects$ rm -rf *

This has so far only been necessary on windows/cygwin and not [...]

Grails

Attaching a debugger in NB:

$ grails-debug run-app

It doesn’t work as far as I can see however (NB 6.5). You may attach and set breakpoints, but it never breaks. Not with a standalone grails-debug, nor by letting NB start the debug server. Disappointing.

How much can one do without restarting the server?

* it seems that [...]