Problem: bufname() does not return the name displayed by the ":ls" command, in contrary to the documentation.
Some tests are failing because of this change. While they can be fixed easily, it seems likely that some plugins might be relying on this "wrong" behavior. What do you think?
https://github.com/vim/vim/pull/8629
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
Oh this breaks netrw.
perhaps the documentation should be updated then?
@tomtomjhj pushed 2 commits.
—
You are receiving this because you are subscribed to this thread.
Reverted the change and updated the documentation
I am curious, in what cases does it differ from the output of the :ls command? Should we mention, that bufname() does not always match the output from the :ls command? Or perhaps it is possible to change the :ls command instead?
bufname() doesn't return the "special values" like [No Name].
I think it's useful to mention the :ls command, but make clear that the name is not exactly the same.
No need to updated the PR.
Closed #8629.