[Fwd: Nabble - War on trailing whitespace]

Am I the only one who never got comfortable using emacs?

···

On Wednesday 28 November 2007 01:12:00 pm John Hunter wrote:

On Nov 28, 2007 11:46 AM, Eric Firing <efiring@...229...> wrote:
> I assume there is also some sort of C and/or C++ mode, and similar hook
> additions are needed for them--correct? Or is there a hierarchy of
> modes, in which case a single hook could go at a higher level?

I don't know about a hierarchy, but there is a c++-mode-hook and a
c-mode-hook. I've updated the CODING_GUIDE to advise emacs users to
set these hooks. Soon your nightmare of trailing whitespaces will be
nothing more than a nasty memory ....

For those who use the eric4 IDE, the version 4.1 snapshot that was released
today includes support for stripping whitespace when saving, the same as the
emacs hook does.

Darren

···

On Wednesday 28 November 2007 1:12:00 pm John Hunter wrote:

On Nov 28, 2007 11:46 AM, Eric Firing <efiring@...229...> wrote:
> I assume there is also some sort of C and/or C++ mode, and similar hook
> additions are needed for them--correct? Or is there a hierarchy of
> modes, in which case a single hook could go at a higher level?

I don't know about a hierarchy, but there is a c++-mode-hook and a
c-mode-hook. I've updated the CODING_GUIDE to advise emacs users to
set these hooks. Soon your nightmare of trailing whitespaces will be
nothing more than a nasty memory ....