On 2010-06-12, aleCodd wrote:
> Gary Johnson-4 wrote:
> >
> > On 2010-06-12, aleCodd wrote:
> >
> >> John Beckett-2 wrote:
> >> oh, thank you very much. although i find it irritating that it will
> >> always
> >> start writing from the third line and on. why not from the first line
> >
> > It works fine for me. Give us a concrete example of what doesn't
> > work for you and maybe we can figure out what the problem is.
> >
>
> hmm, actually now it starts from the second line. example:
> :redir! file_name
> ls
> redir end
> tabnew file_name
Now I understand. That is weird. The contents of the file I
created doing that are between the horizontal lines below.
----------------------------------------------------------------
1 %a "[No Name]" line 1
----------------------------------------------------------------
Looks like a bug to me.
> >> by the way, i have the same problem w/ the 'verbosefile' option. it still
> >> doesn't work.
> >
> > Again, a concrete example would help. Explain exactly what you do,
> > the results you expect, and the results you get.
> >
>
> example:
> set verbosefile=file_name
> ls
> tabnew file_name
> the file is still empty. Why
:help 'verbosefile'
says
Writing to the file ends when Vim exits or when 'verbosefile' is made
empty.
So I guess that "Writing to the file ends" also means that "output
to the file isn't flushed until". I think that the help entry
should be clarified.
The resulting file also has the odd leading blank lines.
Thanks for clarifying the problem.
Regards,
Gary
--
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