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

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

Date: Fri, 13 Jan 2012 16:22:21 +0000

To: Tomi Ollila, Xavier Maillard, notmuch@notmuchmail.org

Cc: Tomi Ollila

From: David Edmondson


On Fri, 13 Jan 2012 11:50:52 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:
> So, In addition to 'uncrustify.cfg' we need emacs reformatter along lines:
> 
> (defun reformat-elisp-buffer ()
>   (interactice)
>   (emacs-lisp-mode)
>   (whitespace-cleanup)
>   (indent-region (point-min) (point-max)))
> 
> And this located in same directory as 'uncrustify.cfg', wherever
> that ends up.

I'd be happy with that. Note that doing it initially will require a
bunch of fixes - using a single ';' as a comment leader doesn't produce
the desired result, and notmuch.el is full of it...
part-000.sig (application/pgp-signature)

Thread: