<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/nvim/testdir/test_autochdir.vim, branch fix_20726</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>test: move oldtests to test directory (#22536)</title>
<updated>2023-03-07T03:13:04+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-03-07T03:13:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=af23d173883f47fd02a9a380c719e4428370b484'/>
<id>af23d173883f47fd02a9a380c719e4428370b484</id>
<content type='text'>
The new oldtest directory is in test/old/testdir. The reason for this is
that many tests have hardcoded the parent directory name to be
'testdir'.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new oldtest directory is in test/old/testdir. The reason for this is
that many tests have hardcoded the parent directory name to be
'testdir'.</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:partial:8.2.1183: assert_fails() checks the last error message</title>
<updated>2022-11-05T04:27:45+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-11-04T23:24:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8b0c5de4e0964109326a0befb1b3bff6aac4d0db'/>
<id>8b0c5de4e0964109326a0befb1b3bff6aac4d0db</id>
<content type='text'>
Problem:    assert_fails() checks the last error message.
Solution:   Check the first error, it is more relevant.  Fix all the tests
            that rely on the old behavior.

https://github.com/vim/vim/commit/9b7bf9e98f06ece595fed7a3ff53ecce89797a53

Skip test_listener.vim, test_textprop.vim, test_viminfo.vim.
Skip test_python2.vim: affected line fails and hasn't been ported.
Skip test_python3.vim: affected lines fail and haven't been ported.
Skip CHECK_LIST_MATERIALIZE.

Co-authored-by: Bram Moolenaar &lt;Bram@vim.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    assert_fails() checks the last error message.
Solution:   Check the first error, it is more relevant.  Fix all the tests
            that rely on the old behavior.

https://github.com/vim/vim/commit/9b7bf9e98f06ece595fed7a3ff53ecce89797a53

Skip test_listener.vim, test_textprop.vim, test_viminfo.vim.
Skip test_python2.vim: affected line fails and hasn't been ported.
Skip test_python3.vim: affected lines fail and haven't been ported.
Skip CHECK_LIST_MATERIALIZE.

Co-authored-by: Bram Moolenaar &lt;Bram@vim.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.4513: window-local directory is not applied if 'acd' fails</title>
<updated>2022-03-06T22:43:03+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-03-06T01:11:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=eb70540ff0385f3929b39f26faceaa2765f6949a'/>
<id>eb70540ff0385f3929b39f26faceaa2765f6949a</id>
<content type='text'>
Problem:    Window-local directory is not applied if 'acd' fails.
Solution:   Don't call do_autochdir(). (closes vim/vim#9891)
https://github.com/vim/vim/commit/b29ae159777028bb3266835b55716749ab0515be
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Window-local directory is not applied if 'acd' fails.
Solution:   Don't call do_autochdir(). (closes vim/vim#9891)
https://github.com/vim/vim/commit/b29ae159777028bb3266835b55716749ab0515be
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.3920: restoring directory after using another window is inefficient</title>
<updated>2022-03-06T22:43:03+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-03-06T00:11:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=da9bc96152efedfa80fabf0d1aabe52b7269181e'/>
<id>da9bc96152efedfa80fabf0d1aabe52b7269181e</id>
<content type='text'>
Problem:    Restoring directory after using another window is inefficient.
Solution:   Only restore the directory for win_execute().  Apply 'autochdir'
            only when needed.
https://github.com/vim/vim/commit/90c317f2246a7fb4bd4e3feb0778b53627bc9fad
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Restoring directory after using another window is inefficient.
Solution:   Only restore the directory for win_execute().  Apply 'autochdir'
            only when needed.
https://github.com/vim/vim/commit/90c317f2246a7fb4bd4e3feb0778b53627bc9fad
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.3745: autochdir test fails without the +channel feature</title>
<updated>2022-03-06T22:43:03+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-03-06T00:10:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=1a5409db0d21c2cf4fe59c825ed73d8a64f62693'/>
<id>1a5409db0d21c2cf4fe59c825ed73d8a64f62693</id>
<content type='text'>
Problem:    Autochdir test fails without the +channel feature.
Solution:   Remove the ch_logfile() call. (Dominique Pellé, closes vim/vim#9281)
https://github.com/vim/vim/commit/f661cee847d2c17652b0ad0d703d2e3ac8610265
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Autochdir test fails without the +channel feature.
Solution:   Remove the ch_logfile() call. (Dominique Pellé, closes vim/vim#9281)
https://github.com/vim/vim/commit/f661cee847d2c17652b0ad0d703d2e3ac8610265
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.3739: in wrong directory when using win_execute() with 'acd' set</title>
<updated>2022-03-06T22:43:03+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-03-05T23:57:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8262de0b489d5b9b5f6c99c1016b62d4e72a899b'/>
<id>8262de0b489d5b9b5f6c99c1016b62d4e72a899b</id>
<content type='text'>
Problem:    In wrong directory when using win_execute() with 'acd' set.
Solution:   Restore the directory when returning to the window. (closes vim/vim#9276)
https://github.com/vim/vim/commit/dea4a616376c6500894c16e26057ce16d7ef9f0e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    In wrong directory when using win_execute() with 'acd' set.
Solution:   Restore the directory when returning to the window. (closes vim/vim#9276)
https://github.com/vim/vim/commit/dea4a616376c6500894c16e26057ce16d7ef9f0e
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.4422: autochdir test fails on MS-Windows</title>
<updated>2022-02-19T15:55:17+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2022-02-19T15:38:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9c04285057b70f90ca19cb08a49f96369085d882'/>
<id>9c04285057b70f90ca19cb08a49f96369085d882</id>
<content type='text'>
Problem:    Autochdir test fails on MS-Windows.
Solution:   Expecta nother error on MS-Windows.
https://github.com/vim/vim/commit/adbb383e0f2bb59286ea8133f02c448fd334958f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Autochdir test fails on MS-Windows.
Solution:   Expecta nother error on MS-Windows.
https://github.com/vim/vim/commit/adbb383e0f2bb59286ea8133f02c448fd334958f
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.4418: crash when using special multi-byte character</title>
<updated>2022-02-19T15:29:17+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2022-02-19T14:58:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9f4401897a860d10df9ce501eddbde725c943e44'/>
<id>9f4401897a860d10df9ce501eddbde725c943e44</id>
<content type='text'>
Problem:    Crash when using special multi-byte character.
Solution:   Don't use isalpha() for an arbitrary character.
https://github.com/vim/vim/commit/5921aeb5741fc6e84c870d68c7c35b93ad0c9f87

Rename vim_isalpha to mb_isalpha.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Crash when using special multi-byte character.
Solution:   Don't use isalpha() for an arbitrary character.
https://github.com/vim/vim/commit/5921aeb5741fc6e84c870d68c7c35b93ad0c9f87

Rename vim_isalpha to mb_isalpha.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.3622: "verbose pwd" shows confusing info</title>
<updated>2021-11-19T12:07:04+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2021-11-19T12:07:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=349b9ce9df0c7f48ce236216ab0d2c507f483425'/>
<id>349b9ce9df0c7f48ce236216ab0d2c507f483425</id>
<content type='text'>
Problem:    "verbose pwd" shows confusing info when :lcd does not change
            directory.
Solution:   Clear last_chdir_reason also when the directory does not change.
            (closes vim/vim#9160)
https://github.com/vim/vim/commit/64be6aa3a54ecfe355d4a03e1200650c301e7f29

This only ports the tests, as this is already Nvim's behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    "verbose pwd" shows confusing info when :lcd does not change
            directory.
Solution:   Clear last_chdir_reason also when the directory does not change.
            (closes vim/vim#9160)
https://github.com/vim/vim/commit/64be6aa3a54ecfe355d4a03e1200650c301e7f29

This only ports the tests, as this is already Nvim's behavior.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.3617: ":verbose pwd" does not mention 'autochdir' was applied</title>
<updated>2021-11-19T12:07:04+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2021-11-19T12:07:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=4785cad8ee808d166a9cbc9d7ab5761da70d0563'/>
<id>4785cad8ee808d166a9cbc9d7ab5761da70d0563</id>
<content type='text'>
Problem:    ":verbose pwd" does not mention 'autochdir' was applied.
Solution:   Remember the last chdir was done by 'autochdir'.  (issue vim/vim#9142)
https://github.com/vim/vim/commit/0526815c15170a5926e1008600ec29d42d8b64c2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    ":verbose pwd" does not mention 'autochdir' was applied.
Solution:   Remember the last chdir was done by 'autochdir'.  (issue vim/vim#9142)
https://github.com/vim/vim/commit/0526815c15170a5926e1008600ec29d42d8b64c2
</pre>
</div>
</content>
</entry>
</feed>
