11187Re: Problem with BufRead and system()
- Feb 1 10:17 AMOn Feb 1, 2010, at 9:04 AM, björn wrote:
>I attached some files that I used to grep for 'macOS'. When I try with multiple files (*.tcl), a swap file is created for end.tcl, but when I grep start.tcl only no swap file is created.
> On 1 February 2010 01:48, Israel Chauca Fuentes wrote:
>> I recently tried to use the :grep command and found out that the current window (in a mac sense) froze. So I have tracked the origin and it is an autocmmand that calls system() on BufRead.
>> I don't have problems with the default version of vim in my mac, with the one from Fink or when using the vim inside MacVim in the terminal, the problem only occurs in MacVim, I'm using snapshot 51.
>> Starting with no config files or plug-ins, I reproduce it like this:
>> 1. :au BufRead *.* echo system('date')
>> 2. :grep 'pattern' file
>> Could somebody else confirm this?
> I can't reproduce. Does it perhaps depend on what files you are
> grep:ing? I tried on one file at a time, several files (:grep 'gui'
> *.c), but it does not freeze.
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
- << Previous post in topic Next post in topic >>