It seems to be expanded like following.
(cat inputfile | grep foo outputfile 21)
grep: ): No such file or directory
This should be:
(cat inputfile | grep foo outputfile) 21
--
You received this message from the vim_dev maillist.
Do not top-post! Type your reply below the text you are replying
On Feb 20, 4:05 am, mattn mattn...@gmail.com wrote:
It seems to be expanded like following.
(cat inputfile | grep foo outputfile 21)
grep: ): No such file or directory
This should be:
(cat inputfile | grep foo outputfile) 21
The first is actually (mostly) correct, Vim doesn't expand to
On Feb 20, 10:57 am, h_east h.east@gmail.com wrote:
I think mattn is right.
Talk of 'shellxquote' option. (Default: ')' in cmd.exe)
Enclosed in parentheses is to grouping. It same as that of the Bash.
And be enclosed in quotation marks is a different meaning.
Yes, parentheses are
Hi Dominique,
I've noticed that pasting a large amount of text in the
Ex command line of Vim-7.3.444 (huge) is very slow.
Performances is quadratic with the number of characters
pasted.
Attached patch speeds it up.
About once a month I will accidentally paste a complete document into
Following on from a bug report I made on the Syntastic issue list:
https://github.com/scrooloose/syntastic/issues/151
When the error list window is open, along with the file it was opened
with, you can cause a segfault to happen by just quitting the source
file (while the error list is still open)
Patch 7.3.446 (after 7.3.445)
Problem:Win32: External commands with special characters don't work.
Solution: Add the 'shellxescape' option.
Files: src/misc2.c, src/option.c, src/option.h, runtime/doc/options.txt
*** ../vim-7.3.445/src/misc2.c 2012-02-19 18:19:24.0 +0100
---
If you want to give me a quick guide, I'll happily do it for you. It's
100% reproducible here for me
On Mon, Feb 20, 2012 at 9:37 PM, Bram Moolenaar b...@moolenaar.net wrote:
Daniel Hunt wrote:
Following on from a bug report I made on the Syntastic issue list:
Daniel Hunt, Mon 2012-02-20 @ 21:44:47+:
If you want to give me a quick guide, I'll happily do it for you. It's
100% reproducible here for me
I don't know whether gdb comes installed by default on a Mac or if you
have to install it manually. Either way, make sure you have it, then:
1.
On 20 February 2012 22:37, Bram Moolenaar b...@moolenaar.net wrote:
I can't reproduce it. If someone can, please use gdb to get a stack
trace.
Sending in a backtrace just in case:
(gdb) bt
#0 0x0815b0a5 in update_screen (type=40) at screen.c:475
#1 0x081e739a in main_loop (cmdwin=0,
On Mon, Feb 20, 2012 at 10:10 PM, Lech Lorens lech.lor...@gmail.com wrote:
On 20 February 2012 22:37, Bram Moolenaar b...@moolenaar.net wrote:
I can't reproduce it. If someone can, please use gdb to get a stack
trace.
Sending in a backtrace just in case:
(gdb) bt
#0 0x0815b0a5 in
vim7.3.446 is not working with 'noshelltemp' option in MS-Windows.
gvim.exe -u NONE
:set noshelltemp
:set noshellslash
:echo system('ls')
ls: cannot access c:\cygwin-1.7\tmp\VIo475.tmp: No such file or directory
ls: cannot access 21: No such file or directory
E484: Can't open file
() is workaround for cmd.exe
It's not needed for ':!start'. ':!start' should call external program
directly.
https://raw.github.com/gist/1872497/gistfile1.diff
diff -r 068bb8a58a4e src/os_win32.c
--- a/src/os_win32.cMon Feb 20 22:18:30 2012 +0100
+++ b/src/os_win32.cTue Feb 21 09:16:28
Thanks your testing. :)
https://raw.github.com/gist/1872858/gistfile1.diff
diff -r 068bb8a58a4e src/os_win32.c
--- a/src/os_win32.c Mon Feb 20 22:18:30 2012 +0100
+++ b/src/os_win32.c Tue Feb 21 10:40:10 2012 +0900
@@ -3898,121 +3898,107 @@
else
{
/* we use command or cmd to start
start command is working in vim7.3.443's default value.
gvim7.3.446.exe -u NONE
:let shellxescape = '|()@^'
!start C:\cygwin-1.7\bin\mintty.exe -e /bin/bash.exe -l -c cd $HOME; exec
/bin/bash.exe
is working.
but,
:set shellxescape
!start C:\cygwin-1.7\bin\mintty.exe -e /bin/bash.exe -l -c cd
Ah, I notice the behavor. When :!start, It don't need all of workarounds ()
or shellxescape.
Sorry. This is my mistake. I'll fix soon.
--
You received this message from the vim_dev maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit
add Unescape in shellxescape.
https://raw.github.com/gist/1873264/gistfile1.diff
diff -r 068bb8a58a4e src/os_win32.c
--- a/src/os_win32.cMon Feb 20 22:18:30 2012 +0100
+++ b/src/os_win32.cTue Feb 21 11:56:48 2012 +0900
@@ -3898,121 +3898,123 @@
else
{
/* we use command
thanks.
Would you also correct 'noshelltemp' option?
gvim7.3.446.exe -u NONE
:set noshelltemp
:set shellxquote
:echo system('ls')
ls: cannot access c:\cygwin-1.7\tmp\VIo475.tmp: No such file or directory
ls: cannot access 21: No such file or directory
E484: Can't open file
oops. This patch is broken. X-(
I'll fix.
--
You received this message from the vim_dev 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
probably, this fixes both following.
* :!start problem
* cygwin system(ls) problem
https://raw.github.com/gist/1873927/gistfile1.diff
diff -r 068bb8a58a4e src/os_win32.c
--- a/src/os_win32.c Mon Feb 20 22:18:30 2012 +0100
+++ b/src/os_win32.c Tue Feb 21 14:20:18 2012 +0900
@@ -3559,6 +3559,7
'noshelltemp' option is working.
from https://github.com/thinca/vim-ref/blob/master/autoload/ref.vim#L383
ref#system()
:set noshelltemp
:set shellxquote=
:let shellredir = '%s 2' . shellescape(tempname())
:echo system('ghc-mod type ./grep.hs main gcd')
E484: Can't open file
where is grep.hs?
--
You received this message from the vim_dev 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
sorry.
:set noshelltemp
:set shellxquote=
:let shellredir = '%s 2' . shellescape(tempname())
:echo system('ls')
The filename, directory name, or volume label syntax is incorrect.
:set noshelltemp
:set shellxquote=or set shellxquote=
:let shellredir = '%s 2' . tempname()
:echo system('ls')
22 matches
Mail list logo