who install verilog_emacsauto.vim? help me

57 views
Skip to first unread message

王军

unread,
Sep 6, 2012, 2:49:31 AM9/6/12
to vim...@googlegroups.com

Hi:

         I can’t install verilog_emacsauto.vim.

 

         Who can help me?

Ben Fritz

unread,
Sep 6, 2012, 10:18:22 AM9/6/12
to vim...@googlegroups.com
What problems did you run into?

I assume you are talking about the script at http://www.vim.org/scripts/script.php?script_id=1875. If this is the case, looking at only the documentation on the page, I can tell that you will need:

1. In your .vimrc, you need "filetype plugin on" at a minimum. "filetype plugin indent on" will also work.
2. On Unix-like systems, a ~/.vim/ftplugin directory and a ~/elisp directory. On Windows, a $HOME/vimfiles/ftplugin directory and a $HOME/elisp directory. HOME can either be set as an environment variable outside of Vim, or you can use whatever Vim calculates it to be. Ask Vim where it is by doing ":echo $HOME" within Vim.
3. The script downloaded from the link above, placed in the correct ftplugin directory for your system.
4. The verilog-mode.el script mentioned in the link above, downloaded from the link on that page and placed in the appropriate elisp directory for your system.
5. Edit a file which Vim detects as the verilog filetype, or set the filetype manually to verilog.

If you do not have all these things in place, please try them now. If you try them and still have problems, come back with a specific sequence of steps you tried and what happened, and what you expected to happen.

王军

unread,
Sep 6, 2012, 9:33:31 PM9/6/12
to vim...@googlegroups.com
It must install emacs?
I uninstall emacs early

-----邮件原件-----
发件人: vim...@googlegroups.com [mailto:vim...@googlegroups.com] 代表 Ben Fritz
发送时间: 2012年9月6日 22:18
收件人: vim...@googlegroups.com
主题: Re: who install verilog_emacsauto.vim? help me
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Ben Fritz

unread,
Sep 6, 2012, 11:02:47 PM9/6/12
to vim...@googlegroups.com
On Thursday, September 6, 2012 8:33:36 PM UTC-5, jun wang wrote:
> It must install emacs?
>
> I uninstall emacs early
>

Nobody said anything about emacs. Follow the install instructions on the vim.org script page and see what happens.

王军

unread,
Sep 7, 2012, 1:20:28 AM9/7/12
to vim...@googlegroups.com

I use \a,it prompt:

 

 

And generate  verilog_emacsauto.vim.emacsautotmp

-----邮件原件-----
发件人: vim...@googlegroups.com [mailto:vim...@googlegroups.com] 代表 Ben Fritz

发送时间: 201297 11:03
收件人: vim...@googlegroups.com
主题: Re: 答复: who install verilog_emacsauto.vim? help me

--

image001.png
image002.png
verilog_emacsauto.vim.emacsautotmp

Tony Mechelynck

unread,
Sep 7, 2012, 2:38:26 AM9/7/12
to vim...@googlegroups.com, 王军
On 07/09/12 07:20, 锟斤拷锟斤拷 wrote:
> I use 锟斤拷\a锟斤拷,it prompt:
>
> And generate 锟斤拷verilog_emacsauto.vim.emacsautotmp锟斤拷

That Chinese sentence on the images means "command not found", I
suppose, or whatever Windows uses to say that?

In that case I suppose the script can only be used on Unix-like systems
(including Cygwin but not Native-Windows), because "rm" (for "remove")
is what Unix uses for the command known on Windows (and MS-DOS) as DEL
(or maybe DELETE).


Best regards,
Tony.
--
If God wanted us to be brave, why did he give us legs?
-- Marvin Kitman

Christian Brabandt

unread,
Sep 7, 2012, 3:37:07 AM9/7/12
to vim...@googlegroups.com
On Fri, September 7, 2012 03:33, 王军 wrote:
> It must install emacs?
> I uninstall emacs early

Yes, the script assumes, you have emacs installed and in your %PATH%
environment. It also makes use of removing files using the unix rm
command, so open the file and replace each rm call by del.

You should possible also tell the author (if he is still actively maintaining
the script) about your issue, so he'll be able to update the script
for use on Windows (e.g. by using the delete() VimL functions) and to
also update the documentation for installing the plugin)

regards,
Christian

王军

unread,
Sep 7, 2012, 3:42:49 AM9/7/12
to vim...@googlegroups.com
Thank you all!
I give up.

-----邮件原件-----
发件人: vim...@googlegroups.com [mailto:vim...@googlegroups.com] 代表 Christian Brabandt
发送时间: 2012年9月7日 15:37
收件人: vim...@googlegroups.com
主题: Re: ç”å¤ : who install verilog_emacsauto.vim? help me
Reply all
Reply to author
Forward
0 new messages