[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] clang-format Emacs problem
From:       Hongxu Chen <leftcopy.chx () gmail ! com>
Date:       2013-11-27 17:23:39
Message-ID: 87r4a1zrl0.fsf () gmail ! com
[Download RAW message or body]

Luke Mauldin <luke.mauldin@talkfusion.com> writes:

> All, I have checked out and compiled the latest SVN version of clang (see
> version info below) and I installed it into /usr/local so it will not conflict
> with the standard clang version shipping with Mac OS 10.9.  I moved
> clang-format.el into my emacs load path but when I try to run the commands
> clang-format-region or clang-format-buffer, my Emacs buffer is blanked out and I
> receive the message "End of file during parsing" in the status line at the
> bottom.  I have verified the file is valid C++ and if I run the clang-format
> binary from the command line then it works as expected.  Can anyone help me out?
>
>
> Version info:
> clang version 3.5 (trunk 195639)
> Target: x86_64-apple-darwin13.0.2
> Thread model: posix

I once had similar issues, it seems that clang-format.el failed to get
the correct executable. So I recommend you check

$ which clang-format-3.5

and inside Emacs, check
(executable-find "clang-format-3.5")

You should get the same result.

-- 
Best Regards,
Hongxu Chen

_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic