Subject: wrong cursor postion after sort in dired

From: Shuguang Sun <[email-masked]>
Date: Thu, 1 Jun 2017 23:07:37 +0800

Dear,

The cursor will keep the postion in the screening, and can't move the
correct postion after sort in dired when blink-cursor-mode is disabled. If
blink-cursor-mode is enabled, the cursor can jump to the correct postion
when the cursor blinks.

How to reproduce it:
1. runemacs.exe -Q
2. eval (blink-cursor-mode 0) to disable blink-cursor-mode
3. dired a directory
4. press "s" to sort the directory, and the cursor will keep the postion in
the buffer and not move with the file.

Emacs version: GNU Emacs 26.0.50 (build 1, x86_64-w64-mingw32) of 2017-05-31
Windows 7 x64

Best Regards,
Shuguang Sun