On Sun, Jun 1, 2008 at 6:26 PM, Dave Engvall <[EMAIL PROTECTED]> wrote:

>
> On Jun 1, 2008, at 6:06 PM, Gary Fixler wrote:
>
> I'm sorry to hear that it's not working, Dave, and it's a pain for us both
> that I'm such a newb in this area. Line 2 in filetype.vim is this:
>
> if exists("did_load_filetypes")
>
> And if so, it finishes, which means it doesn't try to reload the file type
> on top of one that's already loaded. Your next error line is:
>
> E492: Not an editor command: OUTPUT: M05M0f exists("did_load_filetypes")
>
> Is this talking about line 492 in your barrel_rest file? Do you have an
> OUTPUT: M05M0f line there? Or is E492 the error number of a 'not an editor
> command' error, perhaps?
>
> Nope, that is the first line in your filetype.vim file. i.e. the OUTPUT ...
> is part of filetype.vim. ;-(
>

Hmmm... that's weird. It shouldn't be. Can you check the link again?

http://www.garyfixler.com/emc/vim/filetype.vim

I only created/see this:

" my filetype file
if exists("did_load_filetypes")
  finish
endif
augroup filetypedetect
  au! BufRead,BufNewFile *.ngc          setfiletype ngc
augroup END

Are you merging it with an older filetype.vim?


> I note that your .vim contents are all owned by root. I have the same
> permissions, but everything's owned by me. That couldn't be causing a
> problem, could it?
>
> Indeed, that could be part of the problem. I'm running FC5 and I find it
> picky about permissions.
> Maybe I'm just a klutz but chmod, etc don't always seems to work...
> and changing the sudoers file seems to be a pain. *nix is neat when it
> works but sometimes .....
>

That is also weird. You should be able to make them yours with:

sudo chown dave:dave

-g


>
> dave
>
>
>
>
>
> -g
>
> On Sun, Jun 1, 2008 at 9:24 AM, dave engvall <[EMAIL PROTECTED]> wrote:
>
>> Hi Gary,
>> I thought I set it up right but here is what I get. What did I miss?
>>
>> Yes I do use vi or vim and as a friend of mine claims vi is vile;
>> however I can make quick changes in vi while gedit is still loading.
>>
>> Dave
>>
>> [EMAIL PROTECTED] .vim]$ vim /usr/weber/ST/barrel_rest.ngc
>> Error detected while processing /home/dave/.vim/filetype.vim:
>> line    2:
>> E492: Not an editor command: OUTPUT: M05M0f exists("did_load_filetypes")
>> Hit ENTER or type command to continue
>>
>>
>> [EMAIL PROTECTED] .vim]$ ls -l
>> total 16
>> -rw-r--r-- 1 root root  144 Jun  1 09:12 filetype.vim
>> drwxr-xr-x 2 root root 4096 Jun  1 09:10 syntax
>>
>>
>>
>> <snip all>
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to