From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 19 08:18:12 2023 Received: (at submit) by debbugs.gnu.org; 19 Aug 2023 12:18:12 +0000 Received: from localhost ([127.0.0.1]:49651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXKuB-0005G8-Gg for submit@debbugs.gnu.org; Sat, 19 Aug 2023 08:18:11 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXKu7-0005Fs-Mg for submit@debbugs.gnu.org; Sat, 19 Aug 2023 08:18:10 -0400 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 1qXKu1-0001aG-5T for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 08:18:01 -0400 Received: from [78.47.144.35] (helo=metalevel.at) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXKty-0000Zw-C9 for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 08:18:00 -0400 Received: from mt-mbpro.localdomain (localhost [127.0.0.1]) by metalevel.at (Postfix) with ESMTP id 6947C9C751 for ; Sat, 19 Aug 2023 14:11:58 +0200 (CEST) Received: by mt-mbpro.localdomain (Postfix, from userid 501) id 2908116DA8E1; Sat, 19 Aug 2023 14:11:57 +0200 (CEST) From: Markus Triska To: bug-gnu-emacs@gnu.org Subject: 27.1; Sometimes two cursors are unexpectedly shown Date: Sat, 19 Aug 2023 14:11:57 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 78.47.144.35 (failed) Received-SPF: none client-ip=78.47.144.35; envelope-from=triska@metalevel.at; helo=metalevel.at X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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 this issue, please save the forms below in the file duplicate_cursor.el, and then open the file in Emacs with: $ emacs -Q duplicate_cursor.el Next, evaluate the forms in the file with: M-x eval-buffer RET The function `duplicate-cursor' is now defined. Invoke this function with: M-x duplicate-cursor RET A new buffer called duplicated-cursor is now selected. So far, everything works as intended, and a single cursor is shown in the penultimate line of the window, as expected, at the position of point. Now the issue: Invoke `duplicate-cursor' again, i.e., please do again: M-x duplicate-cursor RET Unexpectedly, two cursors now appear in the buffer duplicated-cursor: One, as before, in the penultimate line of the window, and a second cursor in the last line of the window. This second cursor is unexpected and does not appear at the position of point, but one line below it. If I then press C-p, a cursor is shown in the antepenultimate line of the window. This works as expected. However, a second cursor is again unexpectedly shown in the last line of the window. This second cursor is also unexpectedly shown when I press C-p repeatedly from then on. The expected situation in all cases above is that only a single cursor is shown at all times, located at the position of point. Please find below the forms I used to elicit this issue. Alternatively, you can download duplicate_cursor.el from: https://www.metalevel.at/ei/duplicate_cursor.el Can you reproduce the issue with this information? Please let me know if anything else is needed. Thank you and all the best, Markus (defface duplicated-cursor '((t (:height 151))) "Face for frame to illustrate the issue") (set-frame-font (face-font 'duplicated-cursor)) (defun insert-height (h ascent) ;; use a PBM image, due to problems with XBM (see #36337) (insert-image `(image :type pbm :data ,(format "P1\n1 %s\n%s" h (make-string h ?0)) :ascent ,ascent) "t")) (defun goto-last-window-line () (while (pos-visible-in-window-p) (insert "\n")) (delete-char -1)) (defun duplicate-cursor () (interactive) (switch-to-buffer (get-buffer-create "duplicated-cursor")) (erase-buffer) (insert "\n\n") (insert-height 160 80) (let ((m (point-marker))) (insert-height 125 'center) (goto-last-window-line) (redisplay) (delete-region (point) m) (insert-height 112 'center) (insert "\n\n") (insert-height 6 100) (insert (propertize "\n" 'face '(:height 1) 'line-height t 'rear-nonsticky t)) (goto-last-window-line) (previous-line))) In GNU Emacs 27.1 (build 1, x86_64-apple-darwin15.3.0, X toolkit, Xaw scroll bars) of 2020-12-12 built on macbook Windowing system distributor 'The X.Org Foundation', version 11.0.11502000 System Description: Mac OS X 10.11.3 Configured using: 'configure --prefix=/opt/local --disable-silent-rules --without-ns --without-dbus --without-gconf --without-libotf --without-m17n-flt --with-gmp --with-gnutls --with-json --with-xml2 --with-modules --infodir /opt/local/share/info/emacs --with-x-toolkit=lucid --without-xaw3d --without-imagemagick --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-lcms2 --without-rsvg --with-xft 'CFLAGS=-pipe -Os -arch x86_64' CPPFLAGS=-I/opt/local/include 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -lfreetype -lfontconfig -Wl,-no_pie -arch x86_64'' Configured features: XPM JPEG TIFF GIF PNG GSETTINGS GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 GMP From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 19 08:46:46 2023 Received: (at 65382) by debbugs.gnu.org; 19 Aug 2023 12:46:46 +0000 Received: from localhost ([127.0.0.1]:49672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXLLp-0005wi-Pv for submit@debbugs.gnu.org; Sat, 19 Aug 2023 08:46:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXLLl-0005wP-M1 for 65382@debbugs.gnu.org; Sat, 19 Aug 2023 08:46:44 -0400 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 1qXLLe-00067B-5e; Sat, 19 Aug 2023 08:46:34 -0400 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=nT6N3tIRttSLl6DJCiWBhIKVyhvuy0SdB31qyloeGVk=; b=B2kgCJIwpv9l ls586C9Z0qC+1ZU8jj+P86EUZTOqVd3IinH4bgjxQ/q6cdNoeVaT21lSofS20xmJdJ2NqDRmNsH94 xEg3erc8GI6OnXWo7F0TkNPojVT/HSBDPa4k+BqwW+yKZAuOGx/iFRVK+WqMhIQxZa1CY45wQI/xB jFtKvj6OUwGtGXOaVLlRg+Wsq5nWbe8JUl+/3Y/RzkTYvy2zzF2fGBr7/sO55DF1PNygX5X8tOK8Z UrSEWAF58PW0xOiaUpcd0Uj4rjhoh9236M9tMaaA0HGE2kbOMJrd6+f1op8VQk4koZCDcbguQ7Ou1 EKj/pRKY5NYkkIVSAD1h5Q==; Date: Sat, 19 Aug 2023 15:46:45 +0300 Message-Id: <83edjzyzbe.fsf@gnu.org> From: Eli Zaretskii To: Markus Triska In-Reply-To: (message from Markus Triska on Sat, 19 Aug 2023 14:11:57 +0200) Subject: Re: bug#65382: 27.1; Sometimes two cursors are unexpectedly shown References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65382 Cc: 65382@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: Markus Triska > Date: Sat, 19 Aug 2023 14:11:57 +0200 > > > To reproduce this issue, please save the forms below in the file > duplicate_cursor.el, and then open the file in Emacs with: > > $ emacs -Q duplicate_cursor.el > > Next, evaluate the forms in the file with: > > M-x eval-buffer RET > > The function `duplicate-cursor' is now defined. Invoke this function > with: > > M-x duplicate-cursor RET > > A new buffer called duplicated-cursor is now selected. So far, > everything works as intended, and a single cursor is shown in the > penultimate line of the window, as expected, at the position of point. > > Now the issue: Invoke `duplicate-cursor' again, i.e., please do again: > > M-x duplicate-cursor RET > > Unexpectedly, two cursors now appear in the buffer duplicated-cursor: > One, as before, in the penultimate line of the window, and a second > cursor in the last line of the window. This second cursor is unexpected > and does not appear at the position of point, but one line below it. I cannot reproduce this. I see just one cursor. It could be that some or all of the magic constants you use need to be adjusted for other systems due to slightly different sizes of the default fonts and/or the initial frames. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 19 08:55:24 2023 Received: (at 65382) by debbugs.gnu.org; 19 Aug 2023 12:55:24 +0000 Received: from localhost ([127.0.0.1]:49681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXLUC-0006ES-6s for submit@debbugs.gnu.org; Sat, 19 Aug 2023 08:55:24 -0400 Received: from [78.47.144.35] (port=44680 helo=metalevel.at) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXLU8-0006EG-VR for 65382@debbugs.gnu.org; Sat, 19 Aug 2023 08:55:23 -0400 Received: by metalevel.at (Postfix, from userid 1000) id 788339C760; Sat, 19 Aug 2023 14:55:18 +0200 (CEST) From: Markus Triska To: Eli Zaretskii Subject: Re: bug#65382: 27.1; Sometimes two cursors are unexpectedly shown References: <83edjzyzbe.fsf@gnu.org> Date: Sat, 19 Aug 2023 14:55:18 +0200 In-Reply-To: <83edjzyzbe.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 19 Aug 2023 15:46:45 +0300") Message-ID: <87cyzjur7t.fsf@metalevel.at> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) 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: > I cannot reproduce this. I see just one cursor. > > It could be that some or all of the magic constants you use need to be > adjusted for other systems due to slightly different sizes of the > defau [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 65382 Cc: 65382@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: 0.3 (/) Eli Zaretskii writes: > I cannot reproduce this. I see just one cursor. > > It could be that some or all of the magic constants you use need to be > adjusted for other systems due to slightly different sizes of the > default fonts and/or the initial frames. Thank you for trying this! Yes, unfortunately line heights sometimes differ between systems even for identical programs, I previously filed #34577 for this. I will try to reproduce the present issue on a different system as well in the hope that you can then also reproduce it. Thank you and all the best, Markus From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 19 09:11:47 2023 Received: (at 65382) by debbugs.gnu.org; 19 Aug 2023 13:11:47 +0000 Received: from localhost ([127.0.0.1]:49690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXLk3-0006dV-Dl for submit@debbugs.gnu.org; Sat, 19 Aug 2023 09:11:47 -0400 Received: from heytings.org ([95.142.160.155]:44838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXLk1-0006dM-PB for 65382@debbugs.gnu.org; Sat, 19 Aug 2023 09:11:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1692450703; bh=ykW3Q8dbi3uZoMHb9kWeA0PU/cwcmgm40L8jkei/IrA=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=vcYH4rocvJ5fJ+OJwOUsvmnqe/FL9GSf5e6Mvyw6a1yUsC0GtG0vWY2aJrdx+Md0b VmdQCpd1fELJSLa/cYvZkrVQcRxuSz1/z+zNsKvm7Qxwx/9FndQLhD49GSokRPvNnF eRVv90Vp9LsoZnDULAF8ZFwJxVJH2O5zYxQ4BpkAy1ssYN3jCXBCb14xww0ZxII0/d 1mzRMexJ/R8WACbE1irrbsyHsXWta60LSh494pCH+zM2HM1RuBDM8GErRZ0Lx0hZsT F5JIxPer5mqscO/1rsYoDF+MGtreYNO2aVWFEitA8A3AOB7kH2oGzAiVt4igz+Y3GM 3DKtV+Tyce8GQ== Date: Sat, 19 Aug 2023 13:11:42 +0000 From: Gregory Heytings To: Eli Zaretskii Subject: Re: bug#65382: 27.1; Sometimes two cursors are unexpectedly shown In-Reply-To: <83edjzyzbe.fsf@gnu.org> Message-ID: <387ee04aa936fd76be5b@heytings.org> References: <83edjzyzbe.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65382 Cc: 65382@debbugs.gnu.org, Markus Triska 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 (-) > > I cannot reproduce this. I see just one cursor. > I can reproduce this (with Emacs 24 up to 30). But I don't see more than one cursor either: the "other" cursor appears to be a kind of visual glitch, it does not blink, and it vanishes after e.g. M-x TAB C-g, or moving another frame above the one on which the "other" cursor appears. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 19 09:18:58 2023 Received: (at 65382) by debbugs.gnu.org; 19 Aug 2023 13:18:58 +0000 Received: from localhost ([127.0.0.1]:49697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXLr0-0006nk-8r for submit@debbugs.gnu.org; Sat, 19 Aug 2023 09:18:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXLqy-0006nX-Iz for 65382@debbugs.gnu.org; Sat, 19 Aug 2023 09:18:57 -0400 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 1qXLqr-0004t9-BQ; Sat, 19 Aug 2023 09:18:49 -0400 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=oGtClgwerJypXThuXEQwg4OOewL5o1y2ls/BX3p3GJ4=; b=TQxSuKPqAhO/ J6kgH7iIJ61YmXXMDKbbpEsRu32NIksuX8bmvVuE0m2LgXU88rsNvmuwX5MW+XHiX/N161tv//89J Fa1+7gukVs4l57iktKQhRF1mGXbs0WLEowmT++OuYNey7Ctn4LYRjx21R7ComHpdI084wnSgTHAas f3Ls7WmuZGEYBKiUZIqKp33hJZuQG3OGyA1nssA0XzBBwb261+6La2T1HxpX2c/jHczEvbY9p/3PP RfN9ZeARRQvN2B4oyQ0Mwd4lrNudgg6JjBTmpm0xUceo4G3jtvduqq5pUMS+NzEdwQMlzSeYjuYU0 fjLlJmKApJEAQsKeTJXwPA==; Date: Sat, 19 Aug 2023 16:18:23 +0300 Message-Id: <838ra7yxuo.fsf@gnu.org> From: Eli Zaretskii To: Gregory Heytings In-Reply-To: <387ee04aa936fd76be5b@heytings.org> (message from Gregory Heytings on Sat, 19 Aug 2023 13:11:42 +0000) Subject: Re: bug#65382: 27.1; Sometimes two cursors are unexpectedly shown References: <83edjzyzbe.fsf@gnu.org> <387ee04aa936fd76be5b@heytings.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65382 Cc: 65382@debbugs.gnu.org, triska@metalevel.at 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: Sat, 19 Aug 2023 13:11:42 +0000 > From: Gregory Heytings > cc: Markus Triska , 65382@debbugs.gnu.org > > I can reproduce this (with Emacs 24 up to 30). But I don't see more than > one cursor either: the "other" cursor appears to be a kind of visual > glitch, it does not blink, and it vanishes after e.g. M-x TAB C-g, or > moving another frame above the one on which the "other" cursor appears. Does it also vanish if you say "M-x redraw-display RET"? From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 19 09:20:47 2023 Received: (at 65382) by debbugs.gnu.org; 19 Aug 2023 13:20:47 +0000 Received: from localhost ([127.0.0.1]:49701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXLsk-0006qg-Oz for submit@debbugs.gnu.org; Sat, 19 Aug 2023 09:20:46 -0400 Received: from heytings.org ([95.142.160.155]:44852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXLsi-0006qX-Pc for 65382@debbugs.gnu.org; Sat, 19 Aug 2023 09:20:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1692451243; bh=LgR/1VCRaGi5phO+MZiYhauRLNuCD4BwwYPPUCbB6h8=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=dAGm7PIl9mORrBOhHFPjVv2IWwSviDwDUSNTikmGd+zEVBwfPpNrmWESY5AVw8sO2 PZ9UQNGN6OPqrwhpBILf42zsd1S3GSvstSCCsdSfT9AiXzfo31xEVAYMsq5nIicZPW UORAVx6YOWeBJ3yY/IsIDmxzIqREazfMLHItjX/berNgDyXWF7hd6XgNxgBQvD+nvt 5Cpd92ff7Y80XQ+6xW38qsW6jffqI1juu+7KqTEbSyCrVGiJORJwrt03xsn43Gn5bO 0d8M34xJayjPQB9Bh3c41+ONqMPQWFSobwuYu/ZVo+o8ft22TMT8NtccrwGV4M5fHP ubNxYYSBtWCFA== Date: Sat, 19 Aug 2023 13:20:42 +0000 From: Gregory Heytings To: Eli Zaretskii Subject: Re: bug#65382: 27.1; Sometimes two cursors are unexpectedly shown In-Reply-To: <838ra7yxuo.fsf@gnu.org> Message-ID: <387ee04aa9b68c0846f6@heytings.org> References: <83edjzyzbe.fsf@gnu.org> <387ee04aa936fd76be5b@heytings.org> <838ra7yxuo.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65382 Cc: 65382@debbugs.gnu.org, triska@metalevel.at 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 (-) >> I can reproduce this (with Emacs 24 up to 30). But I don't see more >> than one cursor either: the "other" cursor appears to be a kind of >> visual glitch, it does not blink, and it vanishes after e.g. M-x TAB >> C-g, or moving another frame above the one on which the "other" cursor >> appears. > > Does it also vanish if you say "M-x redraw-display RET"? > Yes. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 19 09:48:20 2023 Received: (at 65382) by debbugs.gnu.org; 19 Aug 2023 13:48:21 +0000 Received: from localhost ([127.0.0.1]:49730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXMJQ-0007Xg-Dv for submit@debbugs.gnu.org; Sat, 19 Aug 2023 09:48:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXMJN-0007Wo-Kg for 65382@debbugs.gnu.org; Sat, 19 Aug 2023 09:48:18 -0400 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 1qXMJG-0002Db-B1; Sat, 19 Aug 2023 09:48:10 -0400 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=JgM9BZhqblvjx+oIyPnmfx8gqV4l3zWATHxbG5aP/To=; b=kD/H3KoFnH67 pI0fWr3o6PvgBcbN1lAWKrIuTwC+Z0pfOYwvRUT4QdfFtI+O22D77lUaTSKwlWISZ1oOTu45zKoqf A+pI+sBp58DgELjYxW/20mGHtZVk+Zbj32mFwfhOdH1r4eB84HyBC1eFHtLUHVF5fEpSLgpPR7daq vYVVlmT7DIFvARIPIBtJj9CH/Jv3/ZFvs9x0H5KwwtJWlpESTq9kxDw5g9zE+6tz5N/kzMQO69v90 GNyWV1UQrslz8Fgs4HCZQelN+KR18I2yIPeuK3PBeIB9rob8JG6pOWYUiL0ZpahMKdI/Y/058kTvi WlkjQSZOr5SRFDo2fzIKWg==; Date: Sat, 19 Aug 2023 16:48:22 +0300 Message-Id: <837cprywgp.fsf@gnu.org> From: Eli Zaretskii To: Gregory Heytings In-Reply-To: <387ee04aa9b68c0846f6@heytings.org> (message from Gregory Heytings on Sat, 19 Aug 2023 13:20:42 +0000) Subject: Re: bug#65382: 27.1; Sometimes two cursors are unexpectedly shown References: <83edjzyzbe.fsf@gnu.org> <387ee04aa936fd76be5b@heytings.org> <838ra7yxuo.fsf@gnu.org> <387ee04aa9b68c0846f6@heytings.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65382 Cc: 65382@debbugs.gnu.org, triska@metalevel.at 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: Sat, 19 Aug 2023 13:20:42 +0000 > From: Gregory Heytings > cc: triska@metalevel.at, 65382@debbugs.gnu.org > > > >> I can reproduce this (with Emacs 24 up to 30). But I don't see more > >> than one cursor either: the "other" cursor appears to be a kind of > >> visual glitch, it does not blink, and it vanishes after e.g. M-x TAB > >> C-g, or moving another frame above the one on which the "other" cursor > >> appears. > > > > Does it also vanish if you say "M-x redraw-display RET"? > > > > Yes. So the other cursor is probably some artifact we didn't remove when we should have. Does it look like a cursor, or does it look like one of the images that the recipe uses? Also, what happens if you change the cursor-type to be, say, 'bar' before running the recipe? From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 19 09:55:59 2023 Received: (at 65382) by debbugs.gnu.org; 19 Aug 2023 13:55:59 +0000 Received: from localhost ([127.0.0.1]:51681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXMQp-0008Em-Ga for submit@debbugs.gnu.org; Sat, 19 Aug 2023 09:55:59 -0400 Received: from heytings.org ([95.142.160.155]:44894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXMQj-000888-V0 for 65382@debbugs.gnu.org; Sat, 19 Aug 2023 09:55:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1692453351; bh=h3ZPGt59vJwwxMg2f2gJafChH0bULVfVxXxfC3ljvBQ=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=BsJx9hFL9hDEcybAAqRZDygVOpsPCTb3CTiBArpGlMjBlFguN9Axwi/dgSarZpCas TVKbalSVTOvH8N+8xteOt51/BL3siaul6f/Fg4jejfQ4AFt0+N84++DYrL0xYCYVhF 0wHOE/7WLQCr3gjoekjPFSdpnYakjFCxdv5SuUGDLy3NX3USmxyvI/JwROsn4b4cpN cIFd2aSplv9aHeaTtkrVllgguOka9G1xdZU1Kpulro2CjvAgrEyfkRTXvWKJsLO0TU BgsXbOokPx/PNxiOGAPlTnuthIKtzuIXMN4JUKGzWOMDMdCV8f+qIh+qftaOjdxmy2 YHwux/twOF19Q== Date: Sat, 19 Aug 2023 13:55:51 +0000 From: Gregory Heytings To: Eli Zaretskii Subject: Re: bug#65382: 27.1; Sometimes two cursors are unexpectedly shown In-Reply-To: <837cprywgp.fsf@gnu.org> Message-ID: <387ee04aa9119a154eca@heytings.org> References: <83edjzyzbe.fsf@gnu.org> <387ee04aa936fd76be5b@heytings.org> <838ra7yxuo.fsf@gnu.org> <387ee04aa9b68c0846f6@heytings.org> <837cprywgp.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65382 Cc: 65382@debbugs.gnu.org, triska@metalevel.at 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 (-) > > So the other cursor is probably some artifact we didn't remove when we > should have. > Yes. > > Does it look like a cursor, or does it look like one of the images that > the recipe uses? > It looks exactly like a cursor. Changing the cursor color, or its style, displays something that looks like another cursor (but which, as I said, doesn't blink). AFAICT the images are white boxes, so in emacs -Q you don't see them.