From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70637: :box vertical bar artifacts at 'display boundaries Date: Sat, 18 May 2024 12:17:44 +0300 Message-ID: <86o793eax3.fsf@gnu.org> References: <646DB63C-1CD0-4BF4-8303-4A92B06D08DE@gmail.com> <867cggs8h9.fsf@gnu.org> <86y18wqpmk.fsf@gnu.org> <86o79sqj1r.fsf@gnu.org> <86r0eb77xq.fsf@gnu.org> <86cyps3ctb.fsf@gnu.org> <50FDEC29-AFDE-4BBB-A332-C2E346357E48@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17164"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70637-done@debbugs.gnu.org To: JD Smith Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 18 11:19:21 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 1s8GDp-0004H9-J2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 May 2024 11:19:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8GDU-0002Sg-IA; Sat, 18 May 2024 05:19:00 -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 1s8GDT-0002SI-Eq for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 05:18:59 -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 1s8GDT-0002qi-5s for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 05:18:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8GDW-00007i-5U for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 05:19:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 May 2024 09:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 70637 X-GNU-PR-Package: emacs Mail-Followup-To: 70637@debbugs.gnu.org, eliz@gnu.org, jdtsmith@gmail.com Original-Received: via spool by 70637-done@debbugs.gnu.org id=D70637.1716023886452 (code D ref 70637); Sat, 18 May 2024 09:19:01 +0000 Original-Received: (at 70637-done) by debbugs.gnu.org; 18 May 2024 09:18:06 +0000 Original-Received: from localhost ([127.0.0.1]:60512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8GCa-00007E-BY for submit@debbugs.gnu.org; Sat, 18 May 2024 05:18:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8GCX-00006n-1v for 70637-done@debbugs.gnu.org; Sat, 18 May 2024 05:18:02 -0400 Original-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 1s8GCO-0002n9-6x; Sat, 18 May 2024 05:17:52 -0400 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=vZ23L83QZUTJiW+fPzGf/uuk81Rm7FHmoV3doXG4DGE=; b=Sc6S8hCMpPKHT6SoOrMx B85cvfobaa+E/knYWN3iIp0KX5mNmEmiwp8tZWq1sNVBINaquwNCq3SJuXqASMUDGgI4g3VyWsmrF tgI6H+9H0qZ9Adwuz7sWNTEmLpd1HT42boQYnDYGrN4cUjkd4260M8CVZ/llj1lIQ28OaXq42flez 97P9hEaLsipYIrvG+S459Wv5Ym7LZRQVNjm0MTnDsHLLHiU0q+q415j9pTWFDId+dN51FtllRBWPq 7jdPNZHVPkb2PuLTIhc5xpnSL6uH1VQYQw+Zi3oIAdvx0sDObsJR4fwknSuTrgnSSOxqzJ5jZqXih FCrbdyYfCfMebA==; In-Reply-To: <50FDEC29-AFDE-4BBB-A332-C2E346357E48@gmail.com> (message from JD Smith on Sat, 11 May 2024 13:16:54 -0400) 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:285301 Archived-At: > From: JD Smith > Date: Sat, 11 May 2024 13:16:54 -0400 > Cc: 70637@debbugs.gnu.org > > > On May 11, 2024, at 5:41 AM, Eli Zaretskii wrote: > > > >> From: JD Smith > >> Date: Thu, 9 May 2024 09:31:28 -0400 > >> Cc: 70637@debbugs.gnu.org > >> > >> I presume this is a more general issue than just :box. One idea is to add a warning to the Elisp section "Display > >> Specs That Replace The Text", perhaps at the end: > >> > >> Note: certain `face' attributes such as `:box' can lead to display artifacts when applied to the replacing > >> text in a `display' specification. These attributes may be incorrectly merged with adjacent non-`display' > >> `face' properties. This can be mitigated by applying the `face' attributes directly to the text being > >> replaced, rather than (or in addition to) the `display' replacement text itself. > > > > Actually, this is specific to :box, since only for that attribute we > > need to determine the beginning and the end of the box. > > > >> Maybe a bit too wordy. > > > > Yes, I agree. If you can reword it to be specific to :box and to > > include an example, I think it would be good. > > > Feel free to edit: Thanks, I installed a variant of this, and I'm therefore closing this bug.