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

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

Re: whitespace issues


From: tomas
Subject: Re: whitespace issues
Date: Wed, 1 Jul 2015 10:06:55 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jun 30, 2015 at 07:37:17PM -0700, Rusi wrote:
> On Tuesday, June 30, 2015 at 8:36:37 PM UTC+5:30, Óscar Fuentes wrote:
> > Rusi  writes:
> >
> > > I have two somewhat related questions, both around whitespace:
> > >
> > > 1. Is it possible to have some sort of save-hook so that all leading
> > > (indentation) whitespace is cleaned up to space alone and tabs are
> > > removed?
> > 
> > https://github.com/purcell/whitespace-cleanup-mode

I don't know whether it has been mentioned in the thread, but there's
a "whitespace-cleanup" which is part of the standard Emacs distribution.

I use it from time to time, whenever I suspect that whitespace is
messed up in a file. Very handy.

- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlWTn58ACgkQBcgs9XrR2kbVVwCeIw3pwcPaDWH+vL8WZ3g8Y6l4
nPoAn0zOEPp8X1EQ6gqfKlswnvUfO+B6
=Favr
-----END PGP SIGNATURE-----



reply via email to

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