From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#50660: 28.0.50; Text artifacting when the cursor moves over text under mouse face that originally displayed a box Date: Sun, 26 Sep 2021 14:46:09 +0800 Message-ID: <87a6jzvnpq.fsf@yahoo.com> References: <87czp6ysw7.fsf.ref@yahoo.com> <87czp6ysw7.fsf@yahoo.com> <87y27uro4c.fsf@gnus.org> <877dfdz9ni.fsf@yahoo.com> <831r5l5d6d.fsf@gnu.org> <87h7egy8jo.fsf@yahoo.com> <838rzs4i09.fsf@gnu.org> <87fsu06oxi.fsf@yahoo.com> <83ee9j3ju3.fsf@gnu.org> <834kaf3ets.fsf@gnu.org> <8335pz3dli.fsf@gnu.org> <87r1dj4q4m.fsf@yahoo.com> <83zgs71su7.fsf@gnu.org> <87k0jb4k5l.fsf@yahoo.com> <83sfxz1pw0.fsf@gnu.org> <87o88m14g0.fsf@yahoo.com> <83sfxyxeer.fsf@gnu.org> <87h7ee1252.fsf@yahoo.com> <83pmt2xcox.fsf@gnu.org> <87lf3myhlb.fsf@yahoo.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17396"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: larsi@gnus.org, 50660@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 26 08:47:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mUNwP-0004Ij-AM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Sep 2021 08:47:13 +0200 Original-Received: from localhost ([::1]:34828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUNwM-0000o2-5T for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Sep 2021 02:47:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUNwE-0000mo-MI for bug-gnu-emacs@gnu.org; Sun, 26 Sep 2021 02:47:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52274) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUNwE-0004R0-Es for bug-gnu-emacs@gnu.org; Sun, 26 Sep 2021 02:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUNwE-0002ll-DA for bug-gnu-emacs@gnu.org; Sun, 26 Sep 2021 02:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Sep 2021 06:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50660 X-GNU-PR-Package: emacs Original-Received: via spool by 50660-submit@debbugs.gnu.org id=B50660.16326387878902 (code B ref 50660); Sun, 26 Sep 2021 06:47:02 +0000 Original-Received: (at 50660) by debbugs.gnu.org; 26 Sep 2021 06:46:27 +0000 Original-Received: from localhost ([127.0.0.1]:35583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUNve-0002JC-IF for submit@debbugs.gnu.org; Sun, 26 Sep 2021 02:46:26 -0400 Original-Received: from sonic305-20.consmr.mail.ne1.yahoo.com ([66.163.185.146]:39835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUNvd-0002DQ-0V for 50660@debbugs.gnu.org; Sun, 26 Sep 2021 02:46:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1632638779; bh=pjYLcJECGOw3fGWA23+fAk67onT+137BWj3xCPgHLpU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=gDl0BkVyJUwQOKHQ124gZpceAcDakAR8HAvAeMX0/yQJvR2+LrrEa/Icx1Jb+DDENB2atYjkdLtweB3sMWLrwKk/dcTcbX1ygicBckUI6hs6SPz6d863TLDBH6rTZvH2ZOnI29MI2a0GSrsbjFm+LOscOkjzckqbiYxtq1YgZPDVDpl7K2uEDm9mIUJTro4jAPjwwZQ+aoo/ejvtqL83MuEUVL491Cg0h1YlRe397sGvjQEkJrH4wMolnYRJV6/g4jKwLEFGTiRDUpT/llKpHUNb0UEarZm20peqGls+tpLkFhw1pjzC26wC24GR00RR0iFxpoadOmAHYc8W1gLhGQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1632638779; bh=yU6JApuOyE0KE0kBGopF/k73zE9+7LD/5MtKkWTtKYR=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=URMpwFR8EClBFlovvCneLu3N8JkU9ckvsd5/7oZXosfCd7f+fEKfD52+McnI+GgMpG/XfhwGL0GiRAQJXIv3JyTKPHABVL3m+iS4rscjmutoCfFaxZ28EY+gGqhWdUp9ourHubIoN1lIOISOI2ssna21ZxQ3d18wToaBAo9wKIxa3l4vY+rb7NodLIfkZf0gKMMK1owY8X+aHvG+pznVc0DrPeyIx9UjmDtQRl3w4mMz5yPoRmjkbPVU9KufTUUQjf7cBk0J/i8zLZv4E7l9SJFcoctY2dv8bMxPvV3dYM3DgLN6ioUYVa19ijyKUVEzpKt9qT11DYKJ9ivluOkJlQ== X-YMail-OSG: yJzdxxwVM1k4jCGDsc8BCrV7c00cnt60UCFCX1GRnYXtJgqD8Qh_ecCxArwmDeY _TtiDIKIhdhCBIQyvV7um2hmQhgKvawPjRG31Grtj5fQq8ZlnIRKENm5gIo_CV8d29RvRB4RGbvZ DfezzXtkb.Bc16PHpvY7bo.WaMz.p2huDgMaAmThNLCOp1fUIUx52cmWmjnZb5jwe.u_L1QB605I Ij93jDSFU9G86hKtYFvvQbhRXgqOtWZs4TY1pecDZh.o9ZzOo8e6gJWjksiDnRcP.Y_UfxmefbEn Xi.MKvIStVP4.7n5pBGaZJvwq8hPFbDpYiwC5iMzTMmVkLht9gSjeRrtpmzA32cyf31cc_38iPH8 0gzHOsRh3f5ZxlESeNJ42atvHhQRZ42elGbxPr6LkMHoRZCizCLAvcGDPL89FWRTCR5Ggwhygh31 i_wqBVDTeosewpfxNtiU3SpBU.5naoXRo.rULper12jaIJ_b.1SIBJ9u3BWNJVkEhaswddcXs02Q sSWvZ61m7UB9IUOIbZPczmYeBoadR6FWtzoAuybCeZiWJ7vJZBOJ2xnU3cenr4jSKQOuh.L4k1Ja x92NB8e6tf2hS960UhlPV54Ue17ZERWAb1Q8BiHWMUcR.A2sr3rosNH0S..S3NZciGoIe3H9tkie lFq4I7UGxbl9irDrAJSFMMrilM7OdFS_MdOjfkcfP_E4c2HnF8WAtTxfOdOLvoBf7S.T.MQENWm3 FLNs.wXYcp5JiOtun6dG0kbo3j9Lt0HTTJKfPoWP1JhVrJ24fxvpTnYqT3UwFJNhiO6sL1ii8pKx fw5M31.c6dYc18ydf3nATS_KpsLWhe7T2Ut3uYd3LZ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Sun, 26 Sep 2021 06:46:19 +0000 Original-Received: by kubenode517.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 0eac739da077d31075097b0da5303552; Sun, 26 Sep 2021 06:46:13 +0000 (UTC) In-Reply-To: <87lf3myhlb.fsf@yahoo.com> (Po Lu's message of "Fri, 24 Sep 2021 07:53:20 +0800") X-Mailer: WebService/1.1.19043 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:215557 Archived-At: Po Lu writes: > I found the issue with that. Hopefully, in a bit, I will have something > ready to work, but in the meantime I noticed another problem: Thanks, another question: if I restore the original value of phys_cursor->x after the call to display_and_set_cursor, erase_phys_cursor gets very confused the next time it is called. If I don't restore the original value, everything appears to work fine. Should I replicate the cursor offset logic in erase_phys_cursor, or should I keep the new value of phys_cursor->x? Thanks.