Re: [PATCH] emacs: whitespace-cleanup for emacs/*.el files

Subject: Re: [PATCH] emacs: whitespace-cleanup for emacs/*.el files

Date: Thu, 12 Jan 2012 23:07:03 +0100

To: Tomi Ollila, notmuch@notmuchmail.org

Cc: Tomi Ollila

From: Xavier Maillard


On Wed, 11 Jan 2012 17:13:35 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:
> Executed
>     for f in emacs/*.el
>     do emacs -q --batch --eval \
>         "(progn (find-file \"$f\") (whitespace-cleanup) (save-buffer))"
>     done
> 
> which
>     removed trailing whitespace and empty lines at the end of file
>     removed spaces before tab (if any)
>     converted 8 spaces to tabs in the beginning of line

+1

Maybe we should note something about this as a /coding style/ rule ?

/Xavier

Thread: