[vim/vim] Windows 11 24H2: intermittent loss of @+ register contents when assigning @+ from an expression involving @+ (Issue #21365)

6 views
Skip to first unread message

RBGS

unread,
Sep 24, 2026, 3:18:00 AM (2 days ago) Sep 24
to vim/vim, Subscribed
RBGS created an issue (vim/vim#21365)

Steps to reproduce

  1. gvim -u NONE -U NONE
  2. Define the function:
    function! Regtest() let i = 10 while i > 0 let i -= 1 let @+ = 'abc' | let @+ = @+ | echo i .. @+ endwhile endfunction
  3. Call Regtest()
  4. Alternatively run repeatedly: :let @+ = 'abc' | let @+ = @+ | echo @+

Expected behaviour

Expected:
9abc
8abc
7abc
6abc
5abc
4abc
3abc
2abc
1abc
0abc

Actual on affected system (varies):
9abc
8abc
7
6
5
4
3abc
2abc
1
0abc

Version of Vim

VIM - Vi IMproved 9.2 (2026 Feb 14, compiled Aug 23 2026 22:20:15) MS-Windows 32-bit GUI/console version with OLE support Included patches: 1-1001 Compiled by runneradmin@runnervm6iq3x

Environment

System where issue occurs:
Edition Windows 11 Enterprise
Version 24H2
Installed on 2026-02-06
OS build 26100.9106
Experience Windows Feature Experience Pack 1000.26100.334.0

System where issue does not occur:
Edition Windows Server 2022 Standard
Version 21H2
Installed on 2024-03-21
OS build 20348.5499

Logs and stack traces

—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/21365@github.com>

Maxim Kim

unread,
Sep 24, 2026, 3:32:21 AM (2 days ago) Sep 24
to vim/vim, Subscribed
habamax left a comment (vim/vim#21365)

Can't reproduce with gvim 9.2.1116

Image: Image (view on web)

—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

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

Christian Brabandt

unread,
Sep 25, 2026, 3:20:31 PM (21 hours ago) Sep 25
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#21365)

cannot reproduce on Windows 11 25H2

—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

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

Reply all
Reply to author
Forward
0 new messages