Bug#609599: vim-runtime: Error detected while processing /usr/share/vim/vim73/ftplugin/ruby.vim: line 83

January 10th, 2011 - 04:20 pm ET by Michael Kirk | Report spam
Package: vim-runtime
Version: 2:7.3.035+hg~8fdc12103333-1
Severity: minor

When I open a ruby file

fish$ vim File.rb
Error detected while processing /usr/share/vim/vim73/ftplugin/ruby.vim:
line 83







/usr/share/vim/vim73/ftplugin/ruby.vim












80 if &shellxquote == "'"
81 let s:ruby_path = system('ruby -e "' . s:code . '"')
82 else
83 let s:ruby_path = system("ruby -e '" . s:code . "'")
84 endif

I'm using fish as my shell.

I'm not sure of the repercussions of this error, vim starts more-or-less normally after a bit.

Debian Release: 6.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii vim 2:7.3.035+hg~8fdc12103333-1 Vi IMproved - enhanced vi editor
ii vim-tiny 2:7.3.035+hg~8fdc12103333-1 Vi IMproved - enhanced vi editor -

vim-runtime suggests no packages.




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Similar topics

Replies

#1 James Vega
January 10th, 2011 - 05:50 pm ET | Report spam
On Mon, Jan 10, 2011 at 4:08 PM, Michael Kirk
wrote:
When I open a ruby file

fish$ vim File.rb
Error detected while processing /usr/share/vim/vim73/ftplugin/ruby.vim:
line 83

/usr/share/vim/vim73/ftplugin/ruby.vim












 80     if &shellxquote == "'"
 81       let s:ruby_path = system('ruby -e "' . s:code . '"')
 82     else
 83       let s:ruby_path = system("ruby -e '" . s:code . "'")
 84     endif

I'm using fish as my shell.

I'm not sure of the repercussions of this error, vim starts more-or-less normally after a bit.



Vim uses POSIX-compatible syntax for running commands in the shell
(unless using one of the few non-POSIX shells it recognizes).
Obviously, Fish strays fairly far from POSIX so your best bet it to tell
Vim to use a different shell. It may be possible to tweak the
shell-related options (like 'shellxquote', 'shellquote', etc.) but it's
easier just to change the shell. Here's what I used to have in my vimrc
when I used fish:

if $SHELL =~ 'fish'
set shell='/bin/sh'
endif

James
GPG Key: 1024D/61326D40 2003-09-02 James Vega



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search