[PATCH] clang-format.el: customization-support, MELPA-compatibility

Johann Klähn kljohann at gmail.com
Mon Dec 29 04:33:54 PST 2014


Hi all,

Some time ago, I uploaded a package[1] with essentially the same
functionality as tools/clang-format/clang-format.el to the Emacs package
archive MELPA. My version has several usability improvements and it has
been requested[2] that those changes are consolidated with the version in
the cfe tree. I would be happy to sunset my repository if this patch is
accepted and have the MELPA-package point to the cfe version.

* Includes file header/footer as required by MELPA
* Correctly handles buffers that are not associated with a file
* Displays stderr and exit code of clang-format process
* Is customizable via the Emacs customization interface and
file-/directory-local variables

As this is my first patch to this list, feel free to point out any silly
mistakes I did. :)

All the best,
Johann

[1]: https://github.com/kljohann/clang-format.el
[2]: https://github.com/milkypostman/melpa/issues/2202 and https://github
.com/kljohann/clang-format.el/issues/2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141229/4ff5f389/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-format-el.patch
Type: text/x-patch
Size: 6811 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141229/4ff5f389/attachment.bin>


More information about the cfe-commits mailing list