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

List:       cfe-dev
Subject:    Re: [cfe-dev] clang-format: how to set default system-wide style file?
From:       Zongheng Yang via cfe-dev <cfe-dev () lists ! llvm ! org>
Date:       2018-04-25 16:40:38
Message-ID: CAG2+eoi7h1Ha-KsMSu1Kmd+y28ju8Kf6SCBqH2V5S0L8zGGXRg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


+ cfe-dev@

On Sun, Apr 22, 2018 at 10:29 PM Zongheng Yang <zongheng.y@gmail.com> 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
>

[Attachment #5 (text/html)]

<div dir="ltr">+ cfe-dev@<br><br><div class="gmail_quote"><div dir="ltr">On Sun, Apr \
22, 2018 at 10:29 PM Zongheng Yang &lt;<a \
href="mailto:zongheng.y@gmail.com">zongheng.y@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I have \
clang-format installed on my Mac, and I routinely use emacs&#39; tramp-mode to edit \
remote C/C++ files.   In such scenarios, running `clang-format` using whatever \
commands emacs provides will <br>* use some hidden, default style file</div><div>* \
ignore the .clang-format file in the remote server, since clang-format.el is not \
tramp-mode-aware.</div><div><br></div>(For instance, I&#39;ve posted <a \
href="https://github.com/kljohann/clang-format.el/issues/5" \
target="_blank">https://github.com/kljohann/clang-format.el/issues/5</a>  \
too.)<br><div><br></div><div>Question: is there a way to forcefully specify a \
system-wide default style \
file?</div><div><br></div><div>Thanks,</div><div>Zongheng</div></div></blockquote></div></div>



[Attachment #6 (text/plain)]

_______________________________________________
cfe-dev mailing list
cfe-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/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