From: Michael Albinus <michael.albinus@gmx.de>
To: Gary <help-gnu-emacs@garydjones.name>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to disable flymake in tramp buffers
Date: Wed, 18 Aug 2010 20:34:40 +0200 [thread overview]
Message-ID: <87r5hv6a7z.fsf@gmx.de> (raw)
In-Reply-To: i412sp$f3v$1@dough.gmane.org
Gary <help-gnu-emacs@garydjones.name> writes:
> 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
IIRC, I've asked for a bug report. Nobody did report, consequently
nobody did work on it.
However, the change is not risky. I have committed the following patch
to the Emacs 23 branch:
--8<---------------cut here---------------start------------->8---
*** /usr/local/src/emacs-23/lisp/progmodes/flymake.el.~99985~" 2010-08-18 20:19:10.536199643 +0200
--- /usr/local/src/emacs-23/lisp/progmodes/flymake.el 2010-08-18 16:44:18.545857439 +0200
***************
*** 1152,1158 ****
(when dir
(let ((default-directory dir))
(flymake-log 3 "starting process on dir %s" default-directory)))
! (setq process (apply 'start-process "flymake-proc" (current-buffer) cmd args))
(set-process-sentinel process 'flymake-process-sentinel)
(set-process-filter process 'flymake-process-filter)
(push process flymake-processes)
--- 1152,1159 ----
(when dir
(let ((default-directory dir))
(flymake-log 3 "starting process on dir %s" default-directory)))
! (setq process (apply 'start-file-process
! "flymake-proc" (current-buffer) cmd args))
(set-process-sentinel process 'flymake-process-sentinel)
(set-process-filter process 'flymake-process-filter)
(push process flymake-processes)
--8<---------------cut here---------------end--------------->8---
Could somebody, please, check, whether this is TRT? I do not use flymake.
Best regards, Michael.
prev parent reply other threads:[~2010-08-18 18:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-12 9:18 How to disable flymake in tramp buffers Gary
2010-08-12 11:45 ` Michael Albinus
2010-08-12 12:00 ` Andrea Crotti
2010-08-12 15:10 ` Gary
2010-08-13 8:45 ` Andrea Crotti
2010-08-18 18:34 ` Michael Albinus [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r5hv6a7z.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=help-gnu-emacs@garydjones.name \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.