From unknown Mon Aug 11 21:15:02 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#75854 <75854@debbugs.gnu.org> To: bug#75854 <75854@debbugs.gnu.org> Subject: Status: 31.0.50; Cursor positioning with multiple TTY frames Reply-To: bug#75854 <75854@debbugs.gnu.org> Date: Tue, 12 Aug 2025 04:15:02 +0000 retitle 75854 31.0.50; Cursor positioning with multiple TTY frames reassign 75854 emacs submitter 75854 Eli Zaretskii severity 75854 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 26 05:10:56 2025 Received: (at submit) by debbugs.gnu.org; 26 Jan 2025 10:10:56 +0000 Received: from localhost ([127.0.0.1]:54744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tbzbT-0006SZ-Jn for submit@debbugs.gnu.org; Sun, 26 Jan 2025 05:10:56 -0500 Received: from lists.gnu.org ([2001:470:142::17]:43882) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tbzbQ-0006SG-Va for submit@debbugs.gnu.org; Sun, 26 Jan 2025 05:10:53 -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 1tbzbG-0005xS-QW for bug-gnu-emacs@gnu.org; Sun, 26 Jan 2025 05:10:43 -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 1tbzbG-0000cU-Ig for bug-gnu-emacs@gnu.org; Sun, 26 Jan 2025 05:10:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Subject:To:From:Date:mime-version:in-reply-to: references; bh=HayeOq+YKFr6uHttEMRDh25CODZOAlGwrDFsb9eE+tg=; b=jC7Pp6ewTo+rXa jFYcQ5V7hAX7Z7mPGbu5PlEARNIcxH2zMMbP6fk2WDrp56S0NYw27KpVB/u1N/DMFjwT+H41VWM3a SFVm83GtCnCpnKe/KhK5j0WsxUbqti6ltpO2Mk7StIh+45Ajt9RJso1E7RX22v8BLufSksnXyC64a N8Axojm6b+aDTthrpMlzduOiqVMlEmA5pPKzQksc68iF81jppmQ38o0Q33iJ8iF6OUcLthn+mZKYx mMoKYWMNBV8USkEaSrlnmspLmYZKc19n0lH4Sg3Ic/r3GW3dW1Mey4Z0rL22JhKY1Rw3mjYl1Klg1 +smdX8ZZnBLRFHSq/JIw==; Date: Sun, 26 Jan 2025 12:10:33 +0200 Message-Id: <86msfdsx5y.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org Subject: 31.0.50; Cursor positioning with multiple TTY frames X-Debbugs-Cc: X-Spam-Score: -0.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: -1.0 (-) To reproduce: $ emacs -Q -nw M-x server-start RET Now on another TTY display: $ ./lib-src/emacsclient -t ./src/dispnew.c Now observe how the cursor on the first display (where we started "emacs -Q -nw") is positioned at the left edge of the mode line, instead of keeping its previous position. Now switch back to the fist TTY display and press some key. The cursor is moved to its correct position, but now the cursor on the second TTY display is a the beginning of the mini-window! Now switch to the second TTY display and press down-arrow: the cursor on that display is now correct, but the cursor on the first display is now at the beginning of the mini-window. (Note: the build details below do not mean this problem is specific to the MS-Windows build, I see this on GNU/Linux.) In GNU Emacs 31.0.50 (build 530, i686-pc-mingw32) of 2025-01-26 built on ELIZ-PC Repository revision: 35d39278599caf30eb4bfbd83118ffe15d2bc705 Repository branch: master Windowing system distributor 'Microsoft Corp.', version 10.0.22631 System Description: Microsoft Windows 10 Enterprise (v10.0.2009.22631.4751) Configured using: 'configure -C --prefix=/d/usr --with-wide-int --without-native-compilation --enable-checking=yes,glyphs 'CFLAGS=-O0 -gdwarf-4 -g3'' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG LCMS2 LIBXML2 MODULES NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Lisp Interaction 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 indent-tabs-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 cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel touch-screen dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars 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 w32notify w32 lcms2 multi-tty move-toolbar make-network-process tty-child-frames emacs) Memory information: ((conses 16 45585 18821) (symbols 48 6532 0) (strings 16 16140 2697) (string-bytes 1 333074) (vectors 16 9411) (vector-slots 8 111027 7616) (floats 8 23 6) (intervals 40 305 110) (buffers 896 10)) From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 30 07:09:03 2025 Received: (at 75854-done) by debbugs.gnu.org; 30 Jan 2025 12:09:03 +0000 Received: from localhost ([127.0.0.1]:44819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tdTLz-0005D7-C8 for submit@debbugs.gnu.org; Thu, 30 Jan 2025 07:09:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46634) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tdTLx-0005Cb-6u for 75854-done@debbugs.gnu.org; Thu, 30 Jan 2025 07:09:01 -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 1tdTLr-0007aA-HC; Thu, 30 Jan 2025 07:08:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=cbkGBNvxRLST4jtPE1scw5jU95dqt4U9D6FAgA3KfNc=; b=qZlB/7xA6YH/O4UFjW37 w/4xYm3mZizPe2IPFYUX89j/3nLdeC5WrRSUbZnuVEMb6dmNlV4ld2aCYOy7jd3N5auk0K41Cob61 dvq36AI8oM6YEa42OJelXEw29MGzersXT4tWt1XqmwebIX77+BZx+9+8VzdxRTDfKU0dw9TBEPzNr dQUSVAYV4Zlpj2l7Vr5p8ZMjGy1qa2EFh6IVIFmiGPbKZwZFIHMJYutAQ/SSuyXR9/Yegx/2it4Fj I0nqhEes+wbAwW90w8e/qROoCV99V7TStUi76dnvyCc8RCqxxcuLnaR9JCMMpIpJphHRZsAMyGyk7 li8FCMiHJWIz/A==; Date: Thu, 30 Jan 2025 14:08:50 +0200 Message-Id: <86v7twjygd.fsf@gnu.org> From: Eli Zaretskii To: =?iso-8859-1?Q?Gerd_M=F6llmann?= In-Reply-To: <86msfdsx5y.fsf@gnu.org> (message from Eli Zaretskii on Sun, 26 Jan 2025 12:10:33 +0200) Subject: Re: bug#75854: 31.0.50; Cursor positioning with multiple TTY frames References: <86msfdsx5y.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75854-done Cc: 75854-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: -3.3 (---) > Date: Sun, 26 Jan 2025 12:10:33 +0200 > From: Eli Zaretskii > > To reproduce: > > $ emacs -Q -nw > M-x server-start RET > > Now on another TTY display: > > $ ./lib-src/emacsclient -t ./src/dispnew.c > > Now observe how the cursor on the first display (where we started > "emacs -Q -nw") is positioned at the left edge of the mode line, > instead of keeping its previous position. > > Now switch back to the fist TTY display and press some key. The > cursor is moved to its correct position, but now the cursor on the > second TTY display is a the beginning of the mini-window! > > Now switch to the second TTY display and press down-arrow: the cursor > on that display is now correct, but the cursor on the first display is > now at the beginning of the mini-window. These problems are now fixed on the master branch, probably as result of the recent changes related to TTY frames. So I'm closing this bug. From unknown Mon Aug 11 21:15:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 27 Feb 2025 12:24:13 +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