[cfe-users] clang-format: how to set default system-wide style file?

2018-04-23 Thread Zongheng Yang via cfe-users
I have clang-format installed on my Mac, and I routinely use emacs'
tramp-mode to edit remote C/C++ files.  In such scenarios, running
`clang-format` using whatever commands emacs provides will
* use some hidden, default style file
* ignore the .clang-format file in the remote server, since clang-format.el
is not tramp-mode-aware.

(For instance, I've posted
https://github.com/kljohann/clang-format.el/issues/5 too.)

Question: is there a way to forcefully specify a system-wide default style
file?

Thanks,
Zongheng
___
cfe-users mailing list
cfe-users@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users


Re: [cfe-users] clang-format: how to set default system-wide style file?

2018-04-27 Thread Zongheng Yang via cfe-users
+ cfe-dev@

On Sun, Apr 22, 2018 at 10:29 PM Zongheng Yang  wrote:

> I have clang-format installed on my Mac, and I routinely use emacs'
> tramp-mode to edit remote C/C++ files.  In such scenarios, running
> `clang-format` using whatever commands emacs provides will
> * use some hidden, default style file
> * ignore the .clang-format file in the remote server, since
> clang-format.el is not tramp-mode-aware.
>
> (For instance, I've posted
> https://github.com/kljohann/clang-format.el/issues/5 too.)
>
> Question: is there a way to forcefully specify a system-wide default style
> file?
>
> Thanks,
> Zongheng
>
___
cfe-users mailing list
cfe-users@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users


Re: [cfe-users] clang-format: how to set default system-wide style file?

2018-04-27 Thread Zongheng Yang via cfe-users
+ cfe-devs@

On Sun, Apr 22, 2018 at 10:29 PM Zongheng Yang  wrote:

> I have clang-format installed on my Mac, and I routinely use emacs'
> tramp-mode to edit remote C/C++ files.  In such scenarios, running
> `clang-format` using whatever commands emacs provides will
> * use some hidden, default style file
> * ignore the .clang-format file in the remote server, since
> clang-format.el is not tramp-mode-aware.
>
> (For instance, I've posted
> https://github.com/kljohann/clang-format.el/issues/5 too.)
>
> Question: is there a way to forcefully specify a system-wide default style
> file?
>
> Thanks,
> Zongheng
>
___
cfe-users mailing list
cfe-users@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users