From unknown Wed Jun 18 23:07:43 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#75333 <75333@debbugs.gnu.org> To: bug#75333 <75333@debbugs.gnu.org> Subject: Status: 31.0.50; Feature-Request: Always keep cursor's position when pixel scrolling Reply-To: bug#75333 <75333@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:07:43 +0000 retitle 75333 31.0.50; Feature-Request: Always keep cursor's position when = pixel scrolling reassign 75333 emacs submitter 75333 Eason Huang severity 75333 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 03 19:51:50 2025 Received: (at submit) by debbugs.gnu.org; 4 Jan 2025 00:51:50 +0000 Received: from localhost ([127.0.0.1]:52709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTsOM-0006RS-4i for submit@debbugs.gnu.org; Fri, 03 Jan 2025 19:51:50 -0500 Received: from lists.gnu.org ([2001:470:142::17]:53994) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTsOI-0006R6-AG for submit@debbugs.gnu.org; Fri, 03 Jan 2025 19:51:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTsOC-0006ce-3i for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 19:51:40 -0500 Received: from xmbghk7.mail.qq.com ([43.163.128.44]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTsNz-0008Cw-0Q for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 19:51:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1735951877; bh=tovlNQ4QkxR/BCOiAoa0sH1U9TFEz5BAtzvYUS3rRvg=; h=From:To:Subject:Date; b=lG5/kh9bDqn55/EQFYswC7DUjazWyCRd8p70nQeEnT0qOrn5BXT4X/ygRZYFNS+z4 7Ztq3l+kvktyFQIheVvkTiuv6JolfsGg/KguDdVsZsPUFiUKTl+XT9lZbGVStbG/rv sfPdIC4p11OeO74Tc7KJ0z6/VrAyiKyqDmP133xI= Received: from 192.168.1.4 ([101.85.8.70]) by newxmesmtplogicsvrszb20-0.qq.com (NewEsmtp) with SMTP id C88274A4; Sat, 04 Jan 2025 08:50:08 +0800 X-QQ-mid: xmsmtpt1735951808tpd85mnn6 Message-ID: X-QQ-XMAILINFO: M7W7QqjC7ykd6Zk7uHyTR0kxT67ws3jhg8M4y0Y8wl8heKEvuuB34kWSilwcL9 YFQ65D51i8J2YOOnn/5XY2pLthtWdUXdQ4vcMoabDjf1qQXOpAkfzNMYYU4qoCUSLSTbWdk5mAWx RbbdPomJoGJioQT3uIM7unfyk9tWdzTKN8CFF67z/t9tWCXYw2D93sXyxzSBPenU6aM/Y5+VNGP8 95rR++cJOF+tUjVzraxbzxjtrs3gkD2tOk9tIP34zTUTZb6DlkTyThox7Rj/Xb55ao7f9bYd2RoI SmZKIzRXpqXiHUilP4sNKniNmrSm89bWJLJ9X9FVGmzqCkguW20p4Nxbqn8Cpp75nqbRESw1/yUY geZmIEYqDU/0+RJ7IOHZWSk7Umu+VqK6qt+qR47QagwNrEr84CedR+Jmsjf1qwI+ZEXIfdgg3m+E edFKmswzOqjbxRVRPs48fUOeyvx4AgQORCkKdiUpnr+8XpJZPAqIYoNdrdMN6atjLCGNu2bnCSel V/AUaum4e0wL/CaWD8pBi8AquFnsvgQnrHpiqX7elWQWdwgW5IkXRDVBqPYc4oCunaCg58ea92w+ nfPVATXX0scbjwEf6eWutns0JJFx7oh19LvtKSdTrB7ma0oWdsAWA/P4JMT5DndpemSTd8Anx94X JQQYg3YLkKF7CmWgtx8tw/JxTeConwiFgXfyl7MDzmx5eyytHVwZtqS0aSy/LVwePynkWuK3nwJy 7dQ+leWvqvskUV8s+BfAwmU9DCTybqHraX9Xiyw3f+lUPb2sqrEAjHi0fb2xY7BonwO0EpHtDR8q Q5gl9fcY6snmWb29K/twJwmFnRLNkA6zLratvEvCwWNbQVNIOJ+fa0xY/m//QObvpSy85tDcuqhd mcLUkcoFwOHCrpzR+8S16OiR8WhnfP+okby4mTbBzeN0PEubanWozonhiK2LZ9AuGhepJFaWTrEo 1psOIr/E842jj8AIOAqQ== X-QQ-XMRINFO: NI4Ajvh11aEj8Xl/2s1/T8w= From: Eason Huang To: bug-gnu-emacs@gnu.org Subject: 31.0.50; Feature-Request: Always keep cursor's position when pixel scrolling X-Debbugs-Cc: Date: Sat, 04 Jan 2025 08:50:04 +0800 X-OQ-MSGID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=43.163.128.44; envelope-from=aqua0210@foxmail.com; helo=xmbghk7.mail.qq.com X-Spam_score_int: 48 X-Spam_score: 4.8 X-Spam_bar: ++++ X-Spam_report: (4.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_PBL=3.335, RCVD_IN_SBL_CSS=3.335, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 4.8 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Recently, when the cursor is inside the screen, it's positon will not move when pixel scrolling. But when the cursor touching the bording of window, it's position begin to change. expected: 1. when the cursor(line) is closed to the border of window, partially-visible the cursor 2. when the cursor(line) is outside the window, hide the cursor 3. wehn the cursor(line) is inside the window, [...] Content analysis details: (4.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (aqua0210[at]foxmail.com) 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [43.163.128.44 listed in zen.spamhaus.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (aqua0210[at]foxmail.com) 0.0 SPOOFED_FREEMAIL No description available. 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: 3.8 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Recently, when the cursor is inside the screen, it's positon will not move when pixel scrolling. But when the cursor touching the bording of window, it's position begin to change. expected: 1. when the cursor(line) is closed to the border of window, partially-visible the cursor 2. when the cursor(line) is outside the window, hide the cursor 3. wehn the cursor(line) is inside the window, [...] Content analysis details: (3.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [43.163.128.44 listed in zen.spamhaus.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (aqua0210[at]foxmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (aqua0210[at]foxmail.com) -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Recently, when the cursor is inside the screen, it's positon will not move when pixel scrolling. But when the cursor touching the bording of window, it's position begin to change. expected: 1. when the cursor(line) is closed to the border of window, partially-visible the cursor 2. when the cursor(line) is outside the window, hide the cursor 3. wehn the cursor(line) is inside the window, show the cursor again Or there already an option to enable this feature? As I known, Apple Xcode and Microsoft Word have the same behavior as describe above. -- Eason Huang In GNU Emacs 31.0.50 (build 1, x86_64-apple-darwin24.2.0, NS appkit-2575.30 Version 15.2 (Build 24C101)) of 2025-01-01 built on 192.168.1.4 Windowing system distributor 'Apple', version 10.3.2575 System Description: macOS 15.2 Configured using: 'configure --without-native-compilation --without-dbus 'CPPFLAGS=-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk' 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath /opt/local/lib/gcc14 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64'' Configured features: ACL GIF GLIB GMP GNUTLS JPEG LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB Important settings: value of $LANG: zh_CN.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-git diff-mode track-changes easy-mmode files-x vc-dispatcher cl-loaddefs cl-lib china-util rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process tty-child-frames emacs) Memory information: ((conses 16 46556 10009) (symbols 48 5998 0) (strings 32 15092 2485) (string-bytes 1 375037) (vectors 16 11182) (vector-slots 8 185208 10596) (floats 8 24 154) (intervals 56 508 38) (buffers 992 12)) From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 04 02:45:36 2025 Received: (at 75333) by debbugs.gnu.org; 4 Jan 2025 07:45:36 +0000 Received: from localhost ([127.0.0.1]:53211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTyql-0000Y2-PY for submit@debbugs.gnu.org; Sat, 04 Jan 2025 02:45:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53602) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTyqj-0000Xo-37 for 75333@debbugs.gnu.org; Sat, 04 Jan 2025 02:45:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTyqd-00018Q-7N; Sat, 04 Jan 2025 02:45:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=uZZ8NaY6r4eT0v4jCpkVq5r9092xY+pRDe27XKMuSPQ=; b=ScPQM7LaM3vH JOxToGTlL1yDyYDZRgg8aNAkc0BQwxFHbjkMxaEVAnd4K6akVjHmoDs8oE4X1V3gnINT/EcRk27UT n/EnpZZfvSQVHLjSPDwAqvkuqlzEmGgX1BIOVd+4gL2oQLY9RJNxnsYuDnTfRefWixZdZTupiroEP HsY4FWdEBsMMBX3rp9FTHnF4Gs7lwmShFle2ydb44Fe/FOaRgudNMje1aQc/MTD/b0TwrzwRe0o4w Yc9qiNMDDs4WkcEin0vUWTEb3sWXwgvndpCvUa9FTxoDr6uRhMjF3sMmJjhYFgMF2h76jxuhuMNoC /FwGW3GH55keGfqROcIDrg==; Date: Sat, 04 Jan 2025 09:45:24 +0200 Message-Id: <86jzbbf2ej.fsf@gnu.org> From: Eli Zaretskii To: Eason Huang In-Reply-To: (message from Eason Huang on Sat, 04 Jan 2025 08:50:04 +0800) Subject: Re: bug#75333: 31.0.50; Feature-Request: Always keep cursor's position when pixel scrolling References: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 75333 Cc: Po Lu , 75333@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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Eason Huang > Date: Sat, 04 Jan 2025 08:50:04 +0800 > > > Recently, when the cursor is inside the screen, it's positon will not > move when pixel scrolling. But when the cursor touching the bording of > window, it's position begin to change. > > expected: > > 1. when the cursor(line) is closed to the border of window, partially-visible > the cursor > 2. when the cursor(line) is outside the window, hide the cursor > 3. wehn the cursor(line) is inside the window, show the cursor again > > Or there already an option to enable this feature? > > As I known, Apple Xcode and Microsoft Word have the same behavior as > describe above. Unlike other editors, Emacs' display engine was designed with the explicit requirement that the position of point (what you call "cursor") is always visible in the window. So when the window is scrolled for some reason, Emacs moves point to bring it back into the visible portion of the window. This behavior is coded and assumed all over the place, and is hard to change. There's therefore no option for the behavior you expect. There was an effort in the past to provide such behavior as an option, but AFAIR it wasn't completed. We did discuss some of the consequences of such behavior and identified some problematic decisions which will need to be made in various situations (e.g., what should happen when point is outside of the window and the user runs some command which modifies the buffer?), and I personally consider those issues we considered to be the tip of a very large iceberg. See this discussion: https://lists.gnu.org/archive/html/emacs-devel/2021-12/msg00328.html From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 04 09:03:39 2025 Received: (at 75333) by debbugs.gnu.org; 4 Jan 2025 14:03:39 +0000 Received: from localhost ([127.0.0.1]:53977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tU4kc-0001Et-Hs for submit@debbugs.gnu.org; Sat, 04 Jan 2025 09:03:38 -0500 Received: from out162-62-57-87.mail.qq.com ([162.62.57.87]:52143) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tU4kY-0001EZ-VF for 75333@debbugs.gnu.org; Sat, 04 Jan 2025 09:03:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1735999394; bh=zF4fG//lKjn1mBLzeskfFCci40fmF5/Ur16xx6viXOA=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=Y/bClkQXN9gWLFFYh0RbXrdMycWhJRwUZEAmPy/O0svgHge3s7pfZqMUlWmsPBYkh L04lqdKW+VhNFFT8RWLqB8rE1FkOm1l3cYBEjctah5kWkoKNiKDZ6iXG/X6jGgu6L2 uic8Pw+VBf1hIAd5O0/bih/r6wI8Ciji5xSKVyQo= Received: from 192.168.1.4 ([101.85.8.70]) by newxmesmtplogicsvrsza36-0.qq.com (NewEsmtp) with SMTP id CD3C29B; Sat, 04 Jan 2025 22:03:13 +0800 X-QQ-mid: xmsmtpt1735999393tgle59wxg Message-ID: X-QQ-XMAILINFO: NC4p7XQIBeahw9uDy0AY9AgpgjGKtWE/elNxrGRPX1QkR7YwfKn5KbSph/1YO9 jtCatbue7HqfvAb7qPGLmi1IMhUctZ5muovAKMuvrbNmL3Wu2nEtB5hf+5myvMH+BxI/Jf1y8m3T UO81cjCUyorZkxyWzHSnzVA/TvSfV0+80CWenzXdu3usWHFVY9z8HRPvZMm7JWePs1+rSoI3iqJL Orn1gWAhju+HQ5GiIc23lewdEHwTRdW0agS0vnMU62V/FMQUudVYJci5Dui7rmbDVWmLG6aa6+SR 4Yiae5IAemdch7U6iqKAGMg1DBn8A9igIXmpBkIbbwz8x7nmfjD3aWmUQBHk3v6PETjnnQjhpuBP 9siJFfi1PjdMcTw0tKsNnqwHQaZFkbeYIrd7wJYXl8fM67gx13EEGu65dUSEl3c/BsklRdd1jx6Y sJOEl41Ys2qW7MST6Ykx7ZQvBOCqFDz5XlRR3/Y8BR+Kd/B8lwPNq2MvHkF9KdbdAMjh/84GmAgY A8y/iK4vmVCrhVAmK+mPXWY+/9EOAxje2o9tBJPwUVGTbCQ1swO5izW0RME6XnoZpitj5pM8+vYS GS8lsmwaEOE+FsATtGM2JZGlzyapSh3Gv21+LjxSr8BmMrGTUk7laD+ZdiqB7gy/Tj2DhmIa3EIV x0V8GCXgOZFjV2Tny2iGm+2SFS8z5uJgfHejy/TxzrsdBjSCvqbIBDH378AETxIp/Ss4wGgcjTiA 8Q2uKVPBV8x0731zsvpnGDGO24gdfS5zPJQ9rZ7ATJUSCKYz93SHT0enzdt8FZVayNyHf9IDPQmM RFXVm9WFiXINFvIJmznpxPpTAdYZPgYSjYo6oQ9WJSqoFUbO/PfHJ6RTIWM3HD1Q6hM5LACKlqk4 llePWIzoubMieRAVm1/ub+kuEhv5Pai86vKFgDbo3wcnpqkCWtWZ0cpYmeikdNpB3hAxtgjEVdEg hVPxvitjyvA+QpJilLplMu6cW/F7+DLzATBTusjti5cidoSp0hDT5XzoCobLvKUHfA9Cj13cPrMG vC6w+iEQ== X-QQ-XMRINFO: Mp0Kj//9VHAxr69bL5MkOOs= From: Eason Huang To: Eli Zaretskii Subject: Re: bug#75333: 31.0.50; Feature-Request: Always keep cursor's position when pixel scrolling In-Reply-To: <86jzbbf2ej.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 04 Jan 2025 09:45:24 +0200") References: <86jzbbf2ej.fsf@gnu.org> Date: Sat, 04 Jan 2025 22:03:09 +0800 X-OQ-MSGID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii writes: >> From: Eason Huang >> Date: Sat, 04 Jan 2025 08:50:04 +0800 >> >> >> Recently, when the cursor is inside the screen, it's positon will not >> move when pixel scrolling. But when the cursor touchin [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [162.62.57.87 listed in sa-trusted.bondedsender.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [162.62.57.87 listed in list.dnswl.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [162.62.57.87 listed in bl.score.senderscore.com] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (aqua0210[at]foxmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (aqua0210[at]foxmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 3.2 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) X-Debbugs-Envelope-To: 75333 Cc: Po Lu , 75333@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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii writes: >> From: Eason Huang >> Date: Sat, 04 Jan 2025 08:50:04 +0800 >> >> >> Recently, when the cursor is inside the screen, it's positon will not >> move when pixel scrolling. But when the cursor touchin [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [162.62.57.87 listed in sa-accredit.habeas.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [162.62.57.87 listed in list.dnswl.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [162.62.57.87 listed in bl.score.senderscore.com] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (aqua0210[at]foxmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (aqua0210[at]foxmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 3.2 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Eli Zaretskii writes: >> From: Eason Huang >> Date: Sat, 04 Jan 2025 08:50:04 +0800 >> >> >> Recently, when the cursor is inside the screen, it's positon will not >> move when pixel scrolling. But when the cursor touching the bording of >> window, it's position begin to change. >> >> expected: >> >> 1. when the cursor(line) is closed to the border of window, partially-visible >> the cursor >> 2. when the cursor(line) is outside the window, hide the cursor >> 3. wehn the cursor(line) is inside the window, show the cursor again >> >> Or there already an option to enable this feature? >> >> As I known, Apple Xcode and Microsoft Word have the same behavior as >> describe above. > > Unlike other editors, Emacs' display engine was designed with the > explicit requirement that the position of point (what you call > "cursor") is always visible in the window. So when the window is > scrolled for some reason, Emacs moves point to bring it back into the > visible portion of the window. This behavior is coded and assumed all > over the place, and is hard to change. There's therefore no option > for the behavior you expect. > > There was an effort in the past to provide such behavior as an option, > but AFAIR it wasn't completed. We did discuss some of the > consequences of such behavior and identified some problematic > decisions which will need to be made in various situations (e.g., what > should happen when point is outside of the window and the user runs > some command which modifies the buffer?), and I personally consider > those issues we considered to be the tip of a very large iceberg. See > this discussion: > > https://lists.gnu.org/archive/html/emacs-devel/2021-12/msg00328.html > Hi Eli, Thanks for your explanation, it make sense. -- Eason Huang From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 23:14:13 2025 Received: (at 75333-done) by debbugs.gnu.org; 2 Mar 2025 04:14:13 +0000 Received: from localhost ([127.0.0.1]:49667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1toaiS-0004oi-Nw for submit@debbugs.gnu.org; Sat, 01 Mar 2025 23:14:13 -0500 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:56541) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1toaiP-0004nk-3e for 75333-done@debbugs.gnu.org; Sat, 01 Mar 2025 23:14:10 -0500 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-5e4d50ed90aso3251456a12.0 for <75333-done@debbugs.gnu.org>; Sat, 01 Mar 2025 20:14:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740888843; x=1741493643; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=FBntd7ehSuIsx1M+KkL0ecn2MwP97Q2AnqD0hftOLEM=; b=AFAUzg4Sf81omK2bJGaSZJH8ui0fHzOKpX5pIHeeUD1mj+agui5ohSUwLZ+Jlg6P1F v6lr7iHuTX5lkZnWRtYquLlmnTDaM0cNR2W7f2FUxzajmT8UMC1eiBbxqHTurijxcTwV A3+pAgTZVRCpCAN0E9tIsq3ZXasiU0pXatP08VVzFU+p2eNKVsLEyNgFcMAm4dUEuhHx 1iSKOPUgvNwL33dQd3YjqRQw9uomSgPkobhct8tzkR1YKc9pRuY743OEHWHZQq9HsoV9 e+PI+DQHLPv4hzHTRYSSSFWt/YubBIM0P1WUkOyJOlP2d7rfDgXu5Z2tlByYOJb4Kscr uoYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740888843; x=1741493643; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FBntd7ehSuIsx1M+KkL0ecn2MwP97Q2AnqD0hftOLEM=; b=eZ+Kzev9f7S6bFyHPHO85dfj16jNp47LbHb1vK0enz+mh4vjpBTgyomdEN05GA5UOo HOqibI9DzLMYpLQgueqb1agu+8Qi5NOFl5qMAgICZ22ecCRyvKbHALsEDTTeR206XLRC /qGkVodfOfmAypbipk5mgvc6Ls173/z3kDDpSnzlPM3hLx4krCQ6RPQzYLdK0U77wV5v fL3x6O3FqzttBEkAya0TbeYP2NNKVyOeBR65X9TnjiB41T8GYbZCP2r8YDCPIAktgpM6 GrwLPg3YLBO+5hlb5plwdZxqGzRnQtiPBPQ15/dCK4BBgOqmpGbSqljFUpPoVU/iVabC dcfQ== X-Forwarded-Encrypted: i=1; AJvYcCXDGr3Tl5rBELJv7qkSO+5KwGR3tiPwMl+VWcmZGiHevgSMn7/iXDJsMmRE/kVYJGfWtQqMwBkcWRsc@debbugs.gnu.org X-Gm-Message-State: AOJu0YyQulH7EEySrg0VyeRWS98RCEvK/4uIlfEhWl4DaL5SIDxM7OVL SRc0JzZs5dLAzR0RujAg3bdqCr/DTtN0lBZeOoeXghEcJLnhvd2dyluenQEoGqTYVmLUw6xF3fI fmee3InyN9KqVEFkycvBHntUqe2s= X-Gm-Gg: ASbGncun6eka2KAqDqXtzTrKu8d7P6ipc011qvNgsdiBvY93FSuGdwcFGl0E+LN7D0U 6KgVCk5qvG2uaMdd2aNJPIuuovg5GSry/coDetqleuSITGPzQO3tdI2HJLrtlc4cas4GH2iEMhB f2Se23V6NTu1bKdwByaY1Hv6y7Kw== X-Google-Smtp-Source: AGHT+IEf5NGXgaCffZWYaPC7j+YQBQ0DYEeAyexr7a3QzNHV+mkmQj2KWG6mADI2mwCaZjYP4yAH/bqxNBdbekp2oKA= X-Received: by 2002:a05:6402:5247:b0:5de:e02a:89c1 with SMTP id 4fb4d7f45d1cf-5e4d6b62a7emr9772920a12.26.1740888842839; Sat, 01 Mar 2025 20:14:02 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 1 Mar 2025 20:14:02 -0800 From: Stefan Kangas In-Reply-To: References: <86jzbbf2ej.fsf@gnu.org> MIME-Version: 1.0 Date: Sat, 1 Mar 2025 20:14:02 -0800 X-Gm-Features: AQ5f1JqM-qMfDIdwPQDIWXxxPNoZe2aftqarxPBTcqa_oTgsh5awK81yz3s7MI4 Message-ID: Subject: Re: bug#75333: 31.0.50; Feature-Request: Always keep cursor's position when pixel scrolling To: Eason Huang Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75333-done Cc: Po Lu , Eli Zaretskii , 75333-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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eason Huang writes: > Eli Zaretskii writes: > >>> From: Eason Huang >>> Date: Sat, 04 Jan 2025 08:50:04 +0800 >>> >>> >>> Recently, when the cursor is inside the screen, it's positon will not >>> move when pixel scrolling. But when the cursor touching the bording of >>> window, it's position begin to change. >>> >>> expected: >>> >>> 1. when the cursor(line) is closed to the border of window, partially-visible >>> the cursor >>> 2. when the cursor(line) is outside the window, hide the cursor >>> 3. wehn the cursor(line) is inside the window, show the cursor again >>> >>> Or there already an option to enable this feature? >>> >>> As I known, Apple Xcode and Microsoft Word have the same behavior as >>> describe above. >> >> Unlike other editors, Emacs' display engine was designed with the >> explicit requirement that the position of point (what you call >> "cursor") is always visible in the window. So when the window is >> scrolled for some reason, Emacs moves point to bring it back into the >> visible portion of the window. This behavior is coded and assumed all >> over the place, and is hard to change. There's therefore no option >> for the behavior you expect. >> >> There was an effort in the past to provide such behavior as an option, >> but AFAIR it wasn't completed. We did discuss some of the >> consequences of such behavior and identified some problematic >> decisions which will need to be made in various situations (e.g., what >> should happen when point is outside of the window and the user runs >> some command which modifies the buffer?), and I personally consider >> those issues we considered to be the tip of a very large iceberg. See >> this discussion: >> >> https://lists.gnu.org/archive/html/emacs-devel/2021-12/msg00328.html >> > > Hi Eli, > > Thanks for your explanation, it make sense. Let's see if anyone will work on this very fundamental change in Emacs. Meanwhile, I don't think we'll make much progress on this issue in the context on this bug report. I'm therefore closing this now. Thanks for your interest in Emacs. From unknown Wed Jun 18 23:07:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 30 Mar 2025 11:24:23 +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