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

David Edmondson dme at dme.org
Fri Jan 13 08:22:21 PST 2012


On Fri, 13 Jan 2012 11:50:52 +0200, Tomi Ollila <tomi.ollila at 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...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120113/96186e0c/attachment.pgp>


More information about the notmuch mailing list