Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
emacs tramp mode does not respect .clang-format in the remote directory #5
(This is a cross-post from https://stackoverflow.com/questions/48678302/emacs-tramp-mode-does-not-respect-clang-format-in-the-remote-directory. I couldn't find any maintainer information on elpa so I only traced it here; apologies if this is not the right place.)
I have a git repo with a
Q1: How do I fix this?
Q2: (Maybe it's easier) Where does clang-format in tramp-mode pick up the style file by default?
@kljohann Thanks! Both options work for me and will be tremendously helpful. For Option 2, most remote machines I work with have
Looking forward to any updates on this!
I would really like this package to support remote connections with tramp as well.
I've tried to look a bit into it, but my knowledge of elisp is very limited to say the least.
As far as I can tell, the issue is, that clang-format.el calls
Instead something like
I've found a file in the tramp package called tramp-util.el:
which seems to wrap the standard emacs process handling functions, but I haven't been able to figure out how to use that or copy the relevant parts, again because of my limited elisp knowledge.
I assume this should be fairly simple to implement for someone more experienced in elisp, but unfortunately that's not me (although I'm willing to try and look a bit more into it).
Anything else I can do to get this supported?
Thanks a lot!