From unknown Fri Jun 20 07:17:32 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#75855 <75855@debbugs.gnu.org> To: bug#75855 <75855@debbugs.gnu.org> Subject: Status: 31.0.50; Cursor positioning in mini-window and echo-area Reply-To: bug#75855 <75855@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:17:32 +0000 retitle 75855 31.0.50; Cursor positioning in mini-window and echo-area reassign 75855 emacs submitter 75855 Eli Zaretskii severity 75855 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 26 05:12:36 2025 Received: (at submit) by debbugs.gnu.org; 26 Jan 2025 10:12:37 +0000 Received: from localhost ([127.0.0.1]:54751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tbzd6-0006WP-CJ for submit@debbugs.gnu.org; Sun, 26 Jan 2025 05:12:36 -0500 Received: from lists.gnu.org ([2001:470:142::17]:60390) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tbzd4-0006W6-8X for submit@debbugs.gnu.org; Sun, 26 Jan 2025 05:12:34 -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 1tbzcw-0006IT-UI for bug-gnu-emacs@gnu.org; Sun, 26 Jan 2025 05:12:27 -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 1tbzcw-0000fu-MU for bug-gnu-emacs@gnu.org; Sun, 26 Jan 2025 05:12:26 -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=2TavKQycHqkUgRvV+rsFS9SA6psemyElPNhSZU2Ex4Y=; b=fQ1q3HEOgz6Gwr lQ+GRhAzlXObagk37K9Yq3zC2Z6DEAke8Lo8cj+iFM6gMTVrCKjoEv/hFFuJq8DkIJY1VOLcZOCSN 2pqpJlGW4LVo+7qFa2MrQvqP36zniW4GSz5N1a2CpnYQUGG/xbzYXgmdqrCDs+0sM0iiv5KvrTajc VUhk0SnttMSC/6TAMuV2cKmtzlCsB+nc7ZxRpPzvfk/N2v0yxkxa8e8D+Jrq6AnHSz3OOy41128LP 7trxZJ/O8UG8PKWCIXpzqCmogTvqwMZ4/Ll1w9WeCRGVbw0fpw5YIEmrA+3646k9P2vJBbcROTxG2 McASntJ4Z9v3ryrvzrcg==; Date: Sun, 26 Jan 2025 12:12:24 +0200 Message-Id: <86lduxsx2v.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org Subject: 31.0.50; Cursor positioning in mini-window and echo-area 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 C-x 5 b RET M-: (frame-visible-p (next-frame)) After typing the last line above into the minibuffer, don't press RET. Instead, move the cursor left one character with C-b, so that the cursor is after the penultimate right parenthesis, and type "C-x C-e". This should evaluate the (next-frame) part and show the result in the echo-area. But note that, while showing the result of the evaluation, the cursor is not at the end of the value returned by next-frame, but several places to the right, after some empty space. This doesn't happen in Emacs 30. (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:06:20 2025 Received: (at 75855-done) by debbugs.gnu.org; 30 Jan 2025 12:06:20 +0000 Received: from localhost ([127.0.0.1]:44812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tdTJM-00058H-G4 for submit@debbugs.gnu.org; Thu, 30 Jan 2025 07:06:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40026) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tdTJL-000582-6k for 75855-done@debbugs.gnu.org; Thu, 30 Jan 2025 07:06:19 -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 1tdTJD-0007Mo-UE; Thu, 30 Jan 2025 07:06:13 -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=+xTCutmZW0ZlBz3XlSmxT5CeuQRq3n6In2DpO6ZpJTY=; b=hu7DNQcO4inxkckJhw7H nIYpKFZN+ueVFopQCwO3G+Rc2QrEpSo4G80nls//VbY3O3aUdCFgMypMn2zzAzAuZBF8CJk6Y06na qhnfW/stYAC84g3RwKjVECNPvMFvV9y4c0ZRQ8xD+jnBXNUpKDe2+pQIcWbQyjBcgMXdqMXLK+tVO JbRdaktgfMPzxveMYwBWfUiBsOqXSr9J7c2enpDfEzaVj5QueK11U21T2C0in5a1ovFU2OYRSrYxa vuLZ+yb0sJrqnb9n/1AL0+4WS8/+97IdDA0L5o/ruvLjz/pqrWk8Y07EFgE8RFa7L++nqwQKaAfl8 GDtn3cldVV9GTQ==; Date: Thu, 30 Jan 2025 14:05:53 +0200 Message-Id: <86wmecjyla.fsf@gnu.org> From: Eli Zaretskii To: =?iso-8859-1?Q?Gerd_M=F6llmann?= In-Reply-To: <86lduxsx2v.fsf@gnu.org> (message from Eli Zaretskii on Sun, 26 Jan 2025 12:12:24 +0200) Subject: Re: bug#75855: 31.0.50; Cursor positioning in mini-window and echo-area References: <86lduxsx2v.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: 75855-done Cc: 75855-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:12:24 +0200 > From: Eli Zaretskii > > To reproduce: > > $ emacs -Q -nw > C-x 5 b RET > M-: (frame-visible-p (next-frame)) > > After typing the last line above into the minibuffer, don't press RET. > Instead, move the cursor left one character with C-b, so that the > cursor is after the penultimate right parenthesis, and type "C-x C-e". > This should evaluate the (next-frame) part and show the result in the > echo-area. But note that, while showing the result of the evaluation, > the cursor is not at the end of the value returned by next-frame, but > several places to the right, after some empty space. This doesn't > happen in Emacs 30. This is now fixed on the master branch, probably by one of the recent changes regarding cursor positions on TTY frames. So I'm closing this bug. From unknown Fri Jun 20 07:17:32 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:14 +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