[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to disable flymake in tramp buffers
From: |
Andrea Crotti |
Subject: |
Re: How to disable flymake in tramp buffers |
Date: |
Fri, 13 Aug 2010 10:45:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) |
>
> It is a known problem with flymake when opening files on a remote
> host. It uses the wrong function to start the checking process, I
> believe. Michael Albinus knows more than I do, it was one of his posts I
> found explaining it :) - see
> http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/dda14275ce2b8b02/aa9533ce3666e0ca
> Sadly it looks like it hasn't even been changed in CVS :(
Maybe you can use something like (in the hook)
--8<---------------cut here---------------start------------->8---
(when (not (tramp-file-name-p current-file-name))
; start flymake
--8<---------------cut here---------------end--------------->8---
(not tested)