When quitting Vim using the :quit command, if there are still files in the argument
list to edit, then the E173: error message is displayed. The following commands
will produce this error:
args a b c
quit
This error is not displayed if the argument list is set using only a single file and
then files are added to the argument list using argadd:
args a
argadd b c
quit
The attached patch fixes this issue. The error message is now displayed if
the argument list has still files to edit.
https://github.com/vim/vim/pull/5596
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
I'm not sure we want to change this. The error can be quite annoying and in general it's just a warning that you forgot to edit some files. Usually it's easy to get back that argument list, it's not like unsaved data will be lost. I suspect more users will get annoyed by the error than anything else.
Merging #5596 into master will increase coverage by
<.01%.
The diff coverage is100%.
@@ Coverage Diff @@ ## master #5596 +/- ## ========================================== + Coverage 83.15% 83.16% +<.01% ========================================== Files 137 137 Lines 152059 152065 +6 ========================================== + Hits 126452 126471 +19 + Misses 25607 25594 -13
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/arglist.c | 92.97% <100%> (+0.01%) |
⬆️ |
| src/gui.c | 63.43% <0%> (-0.11%) |
⬇️ |
| src/channel.c | 84% <0%> (-0.08%) |
⬇️ |
| src/message_test.c | 100% <0%> (ø) |
⬆️ |
| src/version.c | 92.1% <0%> (ø) |
⬆️ |
| src/window.c | 88.59% <0%> (+0.03%) |
⬆️ |
| src/os_unix.c | 63.68% <0%> (+0.04%) |
⬆️ |
| src/ui.c | 72.4% <0%> (+0.08%) |
⬆️ |
| src/evalfunc.c | 91.79% <0%> (+0.1%) |
⬆️ |
| src/if_xcmdsrv.c | 86.35% <0%> (+0.17%) |
⬆️ |
| ... and 2 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update 6702188...c93a42b. Read the comment docs.
—
You are receiving this because you commented.