Re: On Edit GNU Emacs 22.2.1 Eats My Blank Characters At The End Of Lines
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: On Edit GNU Emacs 22.2.1 Eats My Blank Characters At The End Of Lines         

Group: gnu.emacs.help · Group Profile
Author: Charles Sebold
Date: Sep 11, 2008 12:19

On 11 Sep 2008, ChristopherL wrote:
> It happens with Ada source code, but not with dot txt files.

BINGO!

,----
| (defcustom ada-clean-buffer-before-saving t
| "*Non-nil means remove trailing spaces and untabify the buffer before saving."
| :type 'boolean :group 'ada)
`----

Do this, in a normal emacs session (not a -Q one):

M-x customize-variable RET ada-clean-buffer-before-saving RET

Toggle that off and save it.

I think you'll be pleasantly surprised.
--
Charles Sebold 11th of September, 2008
no comments
diggit! del.icio.us! reddit!