From unknown Wed Jun 18 00:27:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#27187 <27187@debbugs.gnu.org> To: bug#27187 <27187@debbugs.gnu.org> Subject: Status: wrong cursor postion after sort in dired Reply-To: bug#27187 <27187@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:27:13 +0000 retitle 27187 wrong cursor postion after sort in dired reassign 27187 emacs submitter 27187 Shuguang Sun severity 27187 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 01 11:07:50 2017 Received: (at submit) by debbugs.gnu.org; 1 Jun 2017 15:07:50 +0000 Received: from localhost ([127.0.0.1]:49842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGRhV-0006hU-Tj for submit@debbugs.gnu.org; Thu, 01 Jun 2017 11:07:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGRhU-0006hI-K4 for submit@debbugs.gnu.org; Thu, 01 Jun 2017 11:07:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGRhO-0000XM-OV for submit@debbugs.gnu.org; Thu, 01 Jun 2017 11:07:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56541) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dGRhO-0000XI-LA for submit@debbugs.gnu.org; Thu, 01 Jun 2017 11:07:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGRhN-0004Fb-IL for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2017 11:07:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGRhM-0000Wn-Eq for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2017 11:07:41 -0400 Received: from mail-qt0-x234.google.com ([2607:f8b0:400d:c0d::234]:32829) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGRhM-0000WS-B5 for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2017 11:07:40 -0400 Received: by mail-qt0-x234.google.com with SMTP id t26so38454030qtg.0 for ; Thu, 01 Jun 2017 08:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=WW0gtG01Ko4RqxX/Wz8z+knq3UKzipdSdvIhqMvCC8E=; b=j2trt5kFUeSFkzzcEAAnxZWytzfNtKaGcv7H2i07qEh3/k2ai+dOYbsTnk6FuCA/y9 /oJuWFcDOewnubb4i2F/FeDIJ0J1BEx2eUu6fZtbwEsod8pOOqRS9BVUQrEIJwJqeEGb j0awLLM006b2zP0onCgfrO3WyvIJw53sXzI2NuyHpIrJgtDhbtAyJft/Ck4AQKTLOFj2 WJRCETZ7jSOhog/hZNsIACsLoxa7C7dgvsrLBPv24/EbdtZO7kzFL3OZ4tjJDfoQhKjq hU31eDWwXDwDNF3enz+JUJHFR6xC74GtbA3HrWOjJ8Rn1UkXcAIgGuXWIJYMHz4u04YM X0iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WW0gtG01Ko4RqxX/Wz8z+knq3UKzipdSdvIhqMvCC8E=; b=aSOax256nMhamf4xRcaGG7+Ll5W/Kh0Ab4IWHyMR12UWKt9eKfniSgFyccq/jjCLBJ pv0tCFeVWZZI4Ozh4oIEAc4qAm+ZHR1FD4i9bztm87c/AclAL0RJ2OialfhkA5njEb8X gcmIqsN980tcNehJCvuNGgW9LGUDoecd4TULBCFvcZxXKwLJI9QU7JoZbjk77lZ7PTym VXhtKqPLvRPhTcZTvpK2Fu9FdzZG5uXec8Hv6oBdtbG6LoGG3XmyE58CNNRH8RAiKELy z6aQKwehSixUCMZGVYfMq71lEHUWfJ7myiBY1FnKWlzmR+5w+jEGvFbdmL3K8UaEGgnl W2Ng== X-Gm-Message-State: AODbwcDg+ElfS8oMkEgBncmUWK+iSfuVVWmA17z1LTFzjG9pEMyN7v70 5TH0GwTz5wmC5Q0/wblt+a1pPQsbQVQq X-Received: by 10.237.54.193 with SMTP id f59mr2313801qtb.63.1496329658101; Thu, 01 Jun 2017 08:07:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.49.76 with HTTP; Thu, 1 Jun 2017 08:07:37 -0700 (PDT) From: Shuguang Sun Date: Thu, 1 Jun 2017 23:07:37 +0800 Message-ID: Subject: wrong cursor postion after sort in dired To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="001a1143de62bcf9f10550e76596" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a1143de62bcf9f10550e76596 Content-Type: text/plain; charset="UTF-8" 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 --001a1143de62bcf9f10550e76596 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear,

The cursor will keep t= he postion in the screening, and can't move the correct postion after s= ort in dired when blink-cursor-mode is disabled. If blink-cursor-mode is en= abled, 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 di= rectory, and the cursor will keep the postion in the buffer and not move wi= th the file.


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


Best Regards,
=
Shuguang Sun
--001a1143de62bcf9f10550e76596-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 02 05:57:52 2017 Received: (at 27187-done) by debbugs.gnu.org; 2 Jun 2017 09:57:53 +0000 Received: from localhost ([127.0.0.1]:50581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGjL6-0006IH-MI for submit@debbugs.gnu.org; Fri, 02 Jun 2017 05:57:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGjL3-0006Hi-Ez for 27187-done@debbugs.gnu.org; Fri, 02 Jun 2017 05:57:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGjKv-0001kP-An for 27187-done@debbugs.gnu.org; Fri, 02 Jun 2017 05:57:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGjKv-0001kG-7A; Fri, 02 Jun 2017 05:57:41 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3097 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dGjKu-0000Vf-Ic; Fri, 02 Jun 2017 05:57:40 -0400 Date: Fri, 02 Jun 2017 12:57:34 +0300 Message-Id: <83efv2d84x.fsf@gnu.org> From: Eli Zaretskii To: Shuguang Sun In-reply-to: (message from Shuguang Sun on Thu, 1 Jun 2017 23:07:37 +0800) Subject: Re: bug#27187: wrong cursor postion after sort in dired References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27187-done Cc: 27187-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Shuguang Sun > Date: Thu, 1 Jun 2017 23:07:37 +0800 > > 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. Thanks, I think I fixed this. I'm marking the bug done; feel free to reopen if some problems remain. From unknown Wed Jun 18 00:27:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 30 Jun 2017 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator