Monday, May 29, 2017

Re: E114: Missing quote in gvim.exe', '-c'

Le dimanche 28 mai 2017 21:49:03 UTC+2, Ni Va a écrit :
> Hi,
>
> An attempt to modify Make_mvc.mak with a gvim -c command and it fails :
>
> let makefile = globpath(expand('$tmp'.'/vim/src'),'Make_mvc.mak')
> call job_start([$vimruntime.'/gvim.exe', '-c', 'edit '.makefile, '-c', 'call setline(1,"SDK_INCLUDE_DIR")'])
>
>
> Errors appear like that :
> rror detected while processing command line:
> E114: Missing quote: "SDK_INCLUDE_DIR)
> E116: Invalid arguments for function setline
>
>
> I don't understand why.
> Thank by advance !
> Niva

Just another point :

start:['D:\Logiciels\Vim\vim80/gvim.exe', '-c', 'edit C:\Users\nn\AppData\Local\Temp\vim\src\Make_mvc.mak', '-c', 'call setline(1,\"setSDK_INCLUDE_DIR\")', '-c', 'wq']

How can I setline with space char in text, "set SDK_INCLUDE_DIR" out of "setSDK_INCLUDE_DIR".

Thanks

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: