GNU bug report logs - #7557
23.1; Flymake fails when used in conjunction with Tramp

Previous Next

Package: emacs;

Reported by: kmontag <at> cs.stanford.edu

Date: Sun, 5 Dec 2010 03:52:01 UTC

Severity: normal

Found in version 23.1

Fixed in version 23.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7557 in the body.
You can then email your comments to 7557 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7557; Package emacs. (Sun, 05 Dec 2010 03:52:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to kmontag <at> cs.stanford.edu:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 05 Dec 2010 03:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kevin Montag <kmontag <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; Flymake fails when used in conjunction with Tramp
Date: Sat, 04 Dec 2010 19:51:01 -0800
When opening a remote PHP file using Tramp over SSH, a message box 
appears with the text "Flymake: Configuration error has occured while 
running (php -f index_flymake.php -l). Flymake will be switched OFF", 
and Flymake is not used.  If a copy of the file is opened locally, no 
message appears and Flymake works as expected.

Changing 'start-process' to 'start-file-process' in 
'flymake-start-syntax-check-process' of flymake.el (as suggested in 
http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/dda14275ce2b8b02/d58b601f2b3be223) 
partially fixes the problem.  With this change, Flymake performs syntax 
checks on remote files without an error message - however, the buffer is 
marked as modified each time such a check is performed.


In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-03-29 on rothera, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10900000
configured using `configure  '--build=i486-linux-gnu' 
'--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
'--libexecdir=/usr/lib' '--localstatedir=/var/lib' 
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' 
'--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' 
'--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 
'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 
'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: PHP

Minor modes in effect:
  shell-dirtrack-mode: t
  global-auto-complete-mode: t
  auto-complete-mode: t
  show-paren-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
C-x C-f <backspace> <backspace> / h e a r a s a y <backspace>
<backspace> <backspace> <backspace> s a y : / h o m
e / k e <tab> p u <tab> h e <tab> - <tab> i n d <tab>
<return> SPC SPC SPC SPC SPC SPC <backspace> <backspace>
<backspace> <backspace> <backspace> M-x r e p o <tab>
r <tab> <return>

Recent messages:
Loading tramp...done
Tramp: Opening connection for hearsay using scp...
Tramp: Waiting 60s for local shell to come up...
Tramp: Sending command `ssh hearsay   -q -e none && exit || exit'
Tramp: Waiting for prompts from remote shell
Tramp: Found remote shell prompt on `hearsay'
Wrote /tmp/tramp.7407ZEV.php
index.php has auto save data; consider M-x recover-this-file
Loading vc-hg...done
Making completion list...





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7557; Package emacs. (Tue, 07 Dec 2010 19:42:02 GMT) Full text and rfc822 format available.

Message #8 received at 7557 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: kmontag <at> cs.stanford.edu
Cc: 7557 <at> debbugs.gnu.org
Subject: Re: bug#7557: 23.1; Flymake fails when used in conjunction with Tramp
Date: Tue, 07 Dec 2010 20:47:44 +0100
Kevin Montag <kmontag <at> gmail.com> writes:

> Changing 'start-process' to 'start-file-process' in
> flymake-start-syntax-check-process' of flymake.el (as suggested in
> http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/dda14275ce2b8b02/d58b601f2b3be223)
> partially fixes the problem.  With this change, Flymake performs
> syntax checks on remote files without an error message - however, the
> buffer is marked as modified each time such a check is performed.

I've changed tramp-handle-start-file-process not to set the modified
flag of the buffer. However, with the current Tramp in the emacs-23
branch other mysterious effects happen when enabling flymake-mode, which
are not reproducible with Emacs 23.1. I will continue to investigate.

Just to let you know ...

Best regards, Michael.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7557; Package emacs. (Wed, 08 Dec 2010 20:19:02 GMT) Full text and rfc822 format available.

Message #11 received at 7557 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: kmontag <at> cs.stanford.edu
Cc: 7557 <at> debbugs.gnu.org
Subject: Re: bug#7557: 23.1; Flymake fails when used in conjunction with Tramp
Date: Wed, 08 Dec 2010 21:23:56 +0100
Kevin Montag <kmontag <at> gmail.com> writes:

> Changing 'start-process' to 'start-file-process' in
> flymake-start-syntax-check-process' of flymake.el (as suggested in
> http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/dda14275ce2b8b02/d58b601f2b3be223)
> partially fixes the problem.  With this change, Flymake performs
> syntax checks on remote files without an error message - however, the
> buffer is marked as modified each time such a check is performed.

I've fixed this in the emacs-23 branch. Will be available with the
upcoming Emacs 23.3.

Best regards, Michael.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7557; Package emacs. (Wed, 08 Dec 2010 20:20:03 GMT) Full text and rfc822 format available.

Message #14 received at 7557 <at> debbugs.gnu.org (full text, mbox):

From: Kevin Montag <kmontag <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 7557 <at> debbugs.gnu.org
Subject: Re: bug#7557: 23.1; Flymake fails when used in conjunction with Tramp
Date: Wed, 08 Dec 2010 12:25:23 -0800
On 12/08/2010 12:23 PM, Michael Albinus wrote:
> Kevin Montag<kmontag <at> gmail.com>  writes:
>
>> Changing 'start-process' to 'start-file-process' in
>> flymake-start-syntax-check-process' of flymake.el (as suggested in
>> http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/dda14275ce2b8b02/d58b601f2b3be223)
>> partially fixes the problem.  With this change, Flymake performs
>> syntax checks on remote files without an error message - however, the
>> buffer is marked as modified each time such a check is performed.
> I've fixed this in the emacs-23 branch. Will be available with the
> upcoming Emacs 23.3.
>
> Best regards, Michael.
Wonderful - thank you, Michael!




bug marked as fixed in version 23.3, send any further explanations to kmontag <at> cs.stanford.edu Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 09 Dec 2010 20:22:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 07 Jan 2011 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.