[PATCH] clang-format.el: use -output-replacements-xml option

Johann Klähn kljohann at gmail.com
Mon Jan 12 14:14:39 PST 2015


This patch changes the emacs package to use the chunks provided by
clang-format instead of replacing the whole buffer text. This should
lead to better undo behaviour and avoid jumping around of window
content.

Manuel, can you please test whether the new <cursor> output works? I
do not have a current build of clang on this machine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-format-el.patch
Type: text/x-patch
Size: 6152 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150112/6e12065d/attachment.bin>


More information about the cfe-commits mailing list