Commit: runtime(doc): update todo for the remaining 'smoothscroll' scroll position

Christian Brabandt <[email protected]> Thu, 30 Jul 2026 22:30:03 +0200
Newsgroups gmane.editors.vim.devel
Message-ID <[email protected]>
runtime(doc): update todo for the remaining 'smoothscroll' scroll position

Commit: https://github.com/vim/vim/commit/902db1d7a5141adabba4c869a62c8a5e9757680a
Author: Hirohito Higashi <[email protected]>
Date:   Thu Jul 30 20:16:15 2026 +0000

    runtime(doc): update todo for the remaining 'smoothscroll' scroll position
    
    The autocommand window no longer resets the scroll position since patch
    9.2.0881.  What is left is a window that is temporarily squeezed to a couple
    of lines, and 'splitkeep' "screen".
    
    related: #20885
    closes:  #20887
    
    Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 9c8c0f493..a8073702f 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -40,10 +40,13 @@ Mapping with modifier is not recognized after a partial mapping.  Probably
 because the typeahead was simplified when looking for a matching mapping.
 Need to somehow undo the simplification.  #12002
 
-Using the autocmd window resets w_skipcol when the cursor is in a long
-wrapped line.  In restore_snapshot_rec() restore more values from the
-snapshot, instead of calling frame_new_height() and frame_new_width(),
-especially w_skipcol.
+With 'smoothscroll' the scroll position is lost when a window is temporarily
+squeezed to a couple of lines, for example ":help" followed by ":close".  In
+restore_snapshot_rec() restore more values from the snapshot, instead of
+calling frame_new_height() and frame_new_width(), especially w_skipcol.
+
+With 'splitkeep' "screen" the scroll position is lost when splitting and
+closing a window, win_fix_cursor() moves the cursor to another line.
 
 Check places that source "path/*.vim" to not match other extensions, e.g.
 .vim9, on MS-Windows (short file name match, gets expanded to long file name).

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1wpXOF-004g9o-Uj%40256bit.org.