From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: JD Smith Newsgroups: gmane.emacs.bugs Subject: bug#70637: :box vertical bar artifacts at 'display boundaries Date: Mon, 29 Apr 2024 08:01:09 -0400 Message-ID: References: <646DB63C-1CD0-4BF4-8303-4A92B06D08DE@gmail.com> <867cggs8h9.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37013"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70637@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 29 14:03:26 2024 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 1s1PjB-0009O0-N3 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Apr 2024 14:03:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1Pi9-000755-5i; Mon, 29 Apr 2024 08:02:21 -0400 Original-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 1s1PhW-0006r9-Am for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2024 08:01:42 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s1PhW-0004nK-1R for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2024 08:01:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s1Php-0001hv-UW for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2024 08:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: JD Smith Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Apr 2024 12:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70637 X-GNU-PR-Package: emacs Original-Received: via spool by 70637-submit@debbugs.gnu.org id=B70637.17143921096555 (code B ref 70637); Mon, 29 Apr 2024 12:02:01 +0000 Original-Received: (at 70637) by debbugs.gnu.org; 29 Apr 2024 12:01:49 +0000 Original-Received: from localhost ([127.0.0.1]:56869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1Phd-0001hf-5i for submit@debbugs.gnu.org; Mon, 29 Apr 2024 08:01:49 -0400 Original-Received: from mail-il1-x134.google.com ([2607:f8b0:4864:20::134]:56573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1Phb-0001hX-Jc for 70637@debbugs.gnu.org; Mon, 29 Apr 2024 08:01:48 -0400 Original-Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-36a1b0777b7so17537305ab.0 for <70637@debbugs.gnu.org>; Mon, 29 Apr 2024 05:01:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714392082; x=1714996882; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3MdNvRqrEFp49mOk4+aS74xZOmbE9PlfPQkIHThtXOU=; b=afBqYoQWANhMIO69xVz0uvuMCJAbPFALGeJW7Erd5x+Nej4QtDDECNJTQjLsowE9yn 3PcKAfXmMrLl+8ok8+Yxj7Ad6E6k0onHqwoB7x61kUiOd0OUOu2G9KlKU39ggh27baBI wd8U4EKNwm2vUBBVxJ0W1cE/P6DclVquMMt+R4mY2qX0EBdvNT6KCriU4PH0mXztjnZ6 yQ4liWmKnlDPc3JlbtgFMpD+iHlWecAfpAk+whQ1U+VFQknToKalZ/hF6OfuQKWHEcXN A8fe1dplQCGOVyCIiq+fOgzyFC3UnPu2rmlRuKakXqApVsA4jp8s/1NLGrKL8bLaaDv7 1gsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714392082; x=1714996882; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3MdNvRqrEFp49mOk4+aS74xZOmbE9PlfPQkIHThtXOU=; b=f6R5jBIprTx+AhHFnOHPpkTpvPdn/0XXfdn/hwHP6IxluUeySwGmdkOkSQ5oOXaRt+ WHA5TBvXBL96geVAqKCiXIMihQ+3pSOsXmnI2e0Y0yK0Sy+RnAKp9hLvRFSkmRQ+/zTG WwJOzNdrcocr5kZKoqhpsEBPiZXuvdE+QuFG1dq7xmWa4TswFPKN+PoDXAbHct3faGHy s8Vz3Q3X7b2GMsCDKJ8lS1Fp6SCwULFxAMdbNRS3JDXUL/U3tlc9OHkHdV+rOkuJsSXd x9Bj3Q2py5E2GOk6Z90SJyGBG4LURKm3Z2AScrl6TSbjBUcKyslI0E9WckkE2qX40yVK wQIw== X-Gm-Message-State: AOJu0Yw3FGuVYPGZKa/68TCS+lLM6i/reeHemMZTt2GX3P1lC3JdhnzY rYkw6IOO/CbuVNcTe1Ff9RsrQql2sp0cqE8SrSa7Cdb/YUkQOyx0 X-Google-Smtp-Source: AGHT+IFIZujGIdp9o3Km3GHRCRx5j+MfE6gU8Msi5fwfwLcZ9XiaPHd8igO5/AWB0Vd/pmLlEbDSGg== X-Received: by 2002:a05:6e02:1a88:b0:36b:f8:e884 with SMTP id k8-20020a056e021a8800b0036b00f8e884mr13145495ilv.20.1714392081560; Mon, 29 Apr 2024 05:01:21 -0700 (PDT) Original-Received: from smtpclient.apple (cm-24-53-187-34.buckeyecom.net. [24.53.187.34]) by smtp.gmail.com with ESMTPSA id n10-20020a056e02148a00b0036c50c7dc80sm332128ilk.40.2024.04.29.05.01.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Apr 2024 05:01:20 -0700 (PDT) In-Reply-To: <867cggs8h9.fsf@gnu.org> X-Mailer: Apple Mail (2.3774.500.171.1.1) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284141 Archived-At: > On Apr 29, 2024, at 7:40=E2=80=AFAM, Eli Zaretskii = wrote: >=20 >> From: JD Smith >> Date: Sun, 28 Apr 2024 20:50:31 -0400 >>=20 >>=20 >> I have identified a display bug related to placing :box face = parameters within 'display strings. Disable font-lock mode in *scratch* = and evaluate: >>=20 >> (insert "\n" >> (propertize " " 'display (propertize " " 'face '(:box t))) >> (propertize "middle" 'face '(:box t)) >> (propertize " " 'display (propertize " " 'face '(:box t)))) >>=20 >> So far so good: the box is correctly merged across all three elements = and wraps around them. But now move point within and across the = displayed boxed text. Internal vertical divisions bars separating the = 'display and normal :box regions appear. =20 >>=20 >> If you add a face box property to the blank flanking strings as well, = this prevents the internal boundary from appearing. >=20 > How important is it to fix this use case (as opposed to using the > workaround you describe in the last sentence)? The price for fixing > it would be that we will need to redraw more than the single glyph > below the cursor when showing the cursor (which with the default > blink-cursor-mode happens twice a second), which will cause flickering > around the cursor, and I wonder whether it's justified? The workaround may be enough for most cases, unless you can't apply an = overall 'face for some reason. Any sense why it leaves the vertical = bars behind?