From: Jonathan Groll <lists@groll.co.za>
To: help-gnu-emacs@gnu.org
Subject: Re: Flymake and tramp
Date: Thu, 7 May 2009 17:35:39 +0200 [thread overview]
Message-ID: <20090507153539.GA22035@groll.co.za> (raw)
In-Reply-To: <20090507144906.GA19830@groll.co.za>
On Thu, May 07, 2009 at 04:49:06PM +0200, Jonathan Groll wrote:
> When I open a ruby buffer using tramp's ssh method I get a popup
> stating:
>
> Flymake: Configuration error has occured while running (ruby -c
> buffername_flymake.rb). Flymake will be switched OFF
>
> ("buffername.rb" in the above will be the name of the file I'm opening)
>
> I assume I need to supply tramp with hints as to where to find ruby?
> Or flymake.el? But, the message implies a configuration error, is
> there a tramp log perhaps that will show the error? Customizing
> flymake-log-level to 3 results in the following in *Messages* which
> doesn't say all that much more:
>
> switched OFF Flymake mode for buffer blogg.rb due to fatal status
> CFGERR, warning Configuration error has occured while running (ruby -c
> blogg_flymake.rb)
>
> I wonder too why it appends _flymake to the filename, such a file does not exist!
>
> If I ssh into the same host and open the same buffer in emacs -nw, flymake
> works fine and stays on.
Got more verbose logging out (replaced real IPs with x.xxx):
file /ssh:192.168.x.xxx:/var/www/blog/blogg.rb, init=flymake-ruby-init
flymake is running: nil
file /ssh:192.168.x.xxx:/var/www/blog/blogg.rb, init=flymake-ruby-init
[3 times]
create-temp-inplace: file=/ssh:192.168.x.xxx:/var/www/blog/blogg.rb
temp=/ssh:192.168.x.xxx:/var/www/blog/blogg_flymake.rb
saved buffer blogg.rb in file
/ssh:192.168.x.xxx:/var/www/blog/blogg_flymake.rb
started process 16787, command=(ruby -c blogg_flymake.rb),
dir=/ssh:192.168.x.xxx:/var/www/blog/
received 73 byte(s) of output from process 16787
file /ssh:192.168.x.xxx:/var/www/blog/blogg.rb, init=flymake-ruby-init
parsed '/usr/bin/ruby: No such file or directory -- blogg_flymake.rb
(LoadError)', no line-err-info
file /ssh:192.168.x.xxx:/var/www/blog/blogg.rb, init=flymake-ruby-init
process 16787 exited with code 1
cleaning up using flymake-simple-cleanup
deleted file /ssh:192.168.x.xxx:/var/www/blog/blogg_flymake.rb
blogg.rb: 0 error(s), 0 warning(s) in 0.93 second(s)
switched OFF Flymake mode for buffer blogg.rb due to fatal status
CFGERR, warning Configuration error has occured while running (ruby -c
blogg_flymake.rb)
Mark set
A temp-inplace file is created by flymake, reading the above it seems
that this is a path issue, or is that wrong? I tried adding
/var/www/blog to $PATH in ~/.shrc and ~/.bashrc on the remote host,
and also customized "Tramp Remote Path" but none of those worked
yet...
Regards,
Jonathan.
next prev parent reply other threads:[~2009-05-07 15:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-07 14:49 Flymake and tramp Jonathan Groll
2009-05-07 15:35 ` Jonathan Groll [this message]
2009-05-26 19:45 ` Michael Albinus
2009-05-29 7:59 ` Jonathan Groll
2009-06-07 16:37 ` Michael Albinus
2009-06-09 14:16 ` Jonathan Groll
2009-06-09 14:51 ` Michael Albinus
-- strict thread matches above, loose matches on Subject: below --
2008-07-19 15:28 flymake " Joe Bloggs
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=20090507153539.GA22035@groll.co.za \
--to=lists@groll.co.za \
--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.