help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs removes whitespaces at the end of lines


From: Tassilo Horn
Subject: Re: Emacs removes whitespaces at the end of lines
Date: Sun, 02 Aug 2009 18:37:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

"F. Unglaub" <f.unglaub@gmail.com> writes:

Hi!

> I use emacs with mutt and slrn (post-mode) and noticed that
> whitespaces at the end of lines are auto-removed. This leads to
> problems, for example, with the signature delimiter "-- \n". In my
> case it's reduced to "--\n" which certain newsreaders like tin
> consider wrong.

All newsreaders should consider it wrong, cause it is, well, wrong. :-)

Back to the problem: Normally, emacs should not do that, so I guess
that's something you (or your sysadmin) configured.  Something like:

  (add-hook 'before-save-hook 'delete-trailing-whitespace)

So grep your ~/.emacs and the files in the site-lisp directory for
`delete-trailing-whitespace'.

Bye,
Tassilo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]