Dominique wrote:

> PR is ready for integration. but:
> * I noticed had to use getpos('.') instead of getcurpos() in the test, as 
> :mkview does not save curswant. Perhaps :mkview should save curswant. 

Not sure what you mean.  When I source the generated file, curswant is
set properly, "j" keeps the column.

> * I initially wrote tests of ":mkview {nr}" and ":mkview" without argument, 
> which I eventually removed because they were writing to read-only directory 
> in CI.  So only :mkview {file} is currently tested.  Tests of ":mkview {nr}" 
> and ":mkview" without arg were passing locally, but in CI, they were giving 
> this kind of error:
> ```
> E739: Cannot create directory: /Users/travis/.vim/view @ function 
> RunTheTest[40]..Test_mkview_loadview_nr, line 13
> ```

You should be able to solve that by setting 'viewdir'.  E.g. set it to
getcwd() . "/Xview".

-- 
EXPERIENCE - experience is a wonderful thing. It enables you to 
recognise a mistake when you make it again.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

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

Raspunde prin e-mail lui