[Mono-list] More editor goodness

Duncan Mak duncan@ximian.com
20 Feb 2002 03:18:10 -0500


Oh, it's me again.

Turns out if you set dabbrev-case-fold-search to nil in emacs, then
dabbrev-expand (M-/) will care for case. This is really sweet!

So, in addition to Miguel's java-mode-hook, this is what you wanna use:

(defun fix-java-mode ()
      (define-key java-mode-map "\C-m" 'newline-and-indent)
      (setq dabbrev-case-fold-search nil)      
      (custom-set-variables '(c-basic-offset 8)))

You could also try out the camelCase package I linked to earlier, it's
pretty nice too.

Good night,

Duncan.