[vim/vim] "No write since last change" error on netrw buffer (Issue #15660)

22 views
Skip to first unread message

user202729

unread,
Sep 10, 2024, 10:34:20 AM9/10/24
to vim/vim, Subscribed

Steps to reproduce

  1. Open vim
  2. :e /tmp/ (see a netrw buffer. Other directories are fine)
  3. Press s to change sort order. See the status bar below shows [No Name] [RO]
  4. Press ZZ to exit.
  5. See E37 No write since last change E162 No write since last change for buffer "/tmp/"

Expected behaviour

Exits cleanly.

Version of Vim

9.1.707

Environment

Linux

Logs and stack traces

No response


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/15660@github.com>

William Banquier

unread,
Nov 22, 2024, 6:23:38 PM11/22/24
to vim/vim, Subscribed

Just wanted to note I have reproduced this bug on windows.
I was able to find the bug doing :E when in my _vimrc, opening up a directory with vim. I was also able to reproduce this bug in a random java file inside of a random github project. Once I select a file, for example the java file, I can write to it, however I cannot quit, do a quit command opens up the same error and sends me back to the directory listing (within netrw)

Furthermore it is produced when doing :q, :q!

To be clear, this bug prevents exiting vim without fully just getting a new command prompt or powershell and only activates upon pressing s (as in at least once, however it still happens on more than one press)


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/15660/2495083342@github.com>

William Banquier

unread,
Nov 22, 2024, 6:28:26 PM11/22/24
to vim/vim, Subscribed

Followup, to be clear :qa! exits it successfully


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/15660/2495089309@github.com>

Ted

unread,
Dec 12, 2025, 11:45:41 AM12/12/25
to vim/vim, Subscribed
TedCha left a comment (vim/vim#15660)

I am also able to reproduce this issue on Windows.

Reproduction Steps

  • Open netrw in directory ( vim .).
  • Press a twice.
  • Quit the buffer (:q).

Vim Version

  • Major Version: 9.1
  • Included Patches: 1-1825

Environment

  • Operating system: Microsoft Windows 11 Enterprise (10.0.26100)
  • Terminal: Windows Terminal (1.23.12811.0)
  • Value of $TERM:
  • Shell: Powershell Core (7.5.4)


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/15660/3647330187@github.com>

Reply all
Reply to author
Forward
0 new messages