From unknown Tue Jun 24 17:23:43 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#40124 <40124@debbugs.gnu.org> To: bug#40124 <40124@debbugs.gnu.org> Subject: Status: Bad interaction between before-string and :box faces Reply-To: bug#40124 <40124@debbugs.gnu.org> Date: Wed, 25 Jun 2025 00:23:43 +0000 retitle 40124 Bad interaction between before-string and :box faces reassign 40124 emacs submitter 40124 Cl=C3=A9ment Pit-Claudel severity 40124 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 18 15:26:46 2020 Received: (at submit) by debbugs.gnu.org; 18 Mar 2020 19:26:46 +0000 Received: from localhost ([127.0.0.1]:41420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEeKz-0004WE-Si for submit@debbugs.gnu.org; Wed, 18 Mar 2020 15:26:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:38491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEeKy-0004W6-HN for submit@debbugs.gnu.org; Wed, 18 Mar 2020 15:26:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59639) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEeKw-00087y-UZ for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2020 15:26:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEeKv-00056R-Et for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2020 15:26:42 -0400 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]:35258) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEeKv-000569-Aw for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2020 15:26:41 -0400 Received: by mail-qt1-x832.google.com with SMTP id v15so21826487qto.2 for ; Wed, 18 Mar 2020 12:26:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=SZzA/85z7gzGvrE9CMHGxGvnLjvTSxsDwst0SosgsrI=; b=cc/tviLUx0QwTCAzz7e2UqHxLR3L2keN6jHO05ocK0puRoGk96mIa0i65/XyCYXixq A6GdExn8NLLfxRUQPQxi9tWIUX+7z0MKXbylEA1jyFdC/Er4klBkZfOyy9ooD8Jyk58o 7DBacEk2i+spyM2B5XrjghONRfnqHwpzACgJvdcM92UbGvNUn43ZJTVo4GNiCshSLUQD QNypWpfZIlUHpszcDkDJ2MPg+9z1NbQrrqNahRys1f2ZJOHe/GgU31E48oukT4b2vreH pR9o6yhA+XJmHXceq3FFvQfwMQ/NQXzAdZ1QEnDCw5co/3zG+d/wSkyYxpl7aD7B8P5L brwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=SZzA/85z7gzGvrE9CMHGxGvnLjvTSxsDwst0SosgsrI=; b=fnC/Kl70tDJN4NW5vxzm0Z1jMyevI+34lj/LWRfCkrrZY6Z6ZoyX5masd2hgL2hiMN lpyBHBy8Bip0bg5v+V/7eVI2XHNBV5NIDCIORENuJ9cf5uE1oWoeWqBMfK/gUeZf5KCe MEKyBcTRoaRVeybcBNzYUeqPrORrGPAwvxnNeJL0vEh4cnhtfhdK39vrrMYNHmbHy9cf wYISiNLJ9WLV4Iqwp1yHvXU8KRKsnWhIOGTZYc6PN12XjijkViyoFjYXq9fGACeV7Z27 xV9nxrJrqXP5NYM6oq6sJ+4l3+3G2bvF0enqDdJUIrycwyz+Hykm+C+u96eUG7258PTt pQUA== X-Gm-Message-State: ANhLgQ2HzwMn8suE60H3181DWtL0Fr3QAuN7+sv3flcfCdfFnUReLH1S sPgczUvAqTDREgORb93acIqiREQB X-Google-Smtp-Source: ADFU+vthnVGtj1uZtbPRzFyZowAyrh/d7NkjWu/sDU4Bl4QvdHDh5pYu7+26HAEnCvccCWUrg0PJ/A== X-Received: by 2002:ac8:48c5:: with SMTP id l5mr6356786qtr.100.1584559600320; Wed, 18 Mar 2020 12:26:40 -0700 (PDT) Received: from ?IPv6:2601:184:4180:66e7:561:ef55:f450:ea12? ([2601:184:4180:66e7:561:ef55:f450:ea12]) by smtp.googlemail.com with ESMTPSA id u51sm5645903qth.46.2020.03.18.12.26.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Mar 2020 12:26:39 -0700 (PDT) To: bug-gnu-emacs X-Debbugs-Cc: demisbalbach@googlemail.com From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Subject: Bad interaction between before-string and :box faces Message-ID: <0c23e1b6-02db-af9d-9024-01c702f3f0fc@gmail.com> Date: Wed, 18 Mar 2020 15:26:38 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::832 X-Spam-Score: 0.3 (/) 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: -0.7 (/) Hi all, In the following sample, the word "test" should have its letters "e" and "s" in a box; but instead they display with just a bar above and below. Removing the before-string property fixes the issue. (with-current-buffer (get-buffer-create "box-test") (erase-buffer) (insert "test") (let ((ov (make-overlay 2 4))) (overlay-put ov 'face '(:box t)) (overlay-put ov 'before-string (propertize ">" 'display '(left-fringe right-arrow)))) (pop-to-buffer (current-buffer))) This was reported by Artemios (cc'd) in https://github.com/flycheck/flycheck/issues/1666. Clément. In GNU Emacs 28.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.10) of 2020-03-15 built on clem-w50-mint Repository revision: 9dccaf8a5cdb10dae597345ec3741475477a7d97 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Linux Mint 19.3 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit Quit Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LC_MONETARY: en_DK.UTF-8 value of $LC_NUMERIC: en_DK.UTF-8 value of $LC_TIME: en_DK.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv 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 tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 45837 8028) (symbols 48 6335 1) (strings 32 15873 1580) (string-bytes 1 514757) (vectors 16 10222) (vector-slots 8 138545 7900) (floats 8 19 41) (intervals 56 185 0) (buffers 1000 11)) From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 19 11:00:16 2020 Received: (at 40124) by debbugs.gnu.org; 19 Mar 2020 15:00:17 +0000 Received: from localhost ([127.0.0.1]:43490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEwee-0000gO-JU for submit@debbugs.gnu.org; Thu, 19 Mar 2020 11:00:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEwec-0000g3-3D for 40124@debbugs.gnu.org; Thu, 19 Mar 2020 11:00:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jEweW-00060Q-RB; Thu, 19 Mar 2020 11:00:08 -0400 Received: from [176.228.60.248] (port=3370 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jEweT-0002d7-Il; Thu, 19 Mar 2020 11:00:08 -0400 Date: Thu, 19 Mar 2020 17:00:03 +0200 Message-Id: <83wo7ge6fg.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel In-Reply-To: <0c23e1b6-02db-af9d-9024-01c702f3f0fc@gmail.com> (message from =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel on Wed, 18 Mar 2020 15:26:38 -0400) Subject: Re: bug#40124: Bad interaction between before-string and :box faces References: <0c23e1b6-02db-af9d-9024-01c702f3f0fc@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40124 Cc: demisbalbach@googlemail.com, 40124@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: -1.7 (-) > From: Clément Pit-Claudel > Date: Wed, 18 Mar 2020 15:26:38 -0400 > Cc: demisbalbach@googlemail.com > > In the following sample, the word "test" should have its letters "e" and "s" in a box; but instead they display with just a bar above and below. Removing the before-string property fixes the issue. > > (with-current-buffer (get-buffer-create "box-test") > (erase-buffer) > (insert "test") > (let ((ov (make-overlay 2 4))) > (overlay-put ov 'face '(:box t)) > (overlay-put ov 'before-string > (propertize ">" 'display > '(left-fringe right-arrow)))) > (pop-to-buffer (current-buffer))) > > This was reported by Artemios (cc'd) in https://github.com/flycheck/flycheck/issues/1666. Thanks, I think I fixed this now on the master branch. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 25 18:35:34 2020 Received: (at 40124-done) by debbugs.gnu.org; 25 Aug 2020 22:35:34 +0000 Received: from localhost ([127.0.0.1]:36342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAhXR-0008Cs-Vr for submit@debbugs.gnu.org; Tue, 25 Aug 2020 18:35:34 -0400 Received: from mail-yb1-f194.google.com ([209.85.219.194]:39955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAhXQ-0008Cf-AS for 40124-done@debbugs.gnu.org; Tue, 25 Aug 2020 18:35:32 -0400 Received: by mail-yb1-f194.google.com with SMTP id q3so134740ybp.7 for <40124-done@debbugs.gnu.org>; Tue, 25 Aug 2020 15:35:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc :content-transfer-encoding; bh=p/oXIL8cy1FL1JkvPYKTZkH1nLop9mttRup5Onu5BZw=; b=PX7M6maBvmgGDUG/GJsSQWQitFY0vXR9HetYlQlqpGhDiDEdzdq7+vZHkKwgRjqcrm Afqe7kEqCHQyWWtvKS7ahZjp331fu1/7B7g0EZ4D3IrBb2F4MRmp8o+uwm/4XP6eoNiA keDQhD8H1OZIYULEgU0orKIq/cw1rvFaaxFwHttiDuTnQfpSvj9aDdZqgLIBJ4AX17sz JlIw9t+HoW/wxQsBL0p/AQKFHxBLnDF5d9QvUU2FOvPlxTPx2cq/kkPRf4TM3b7uHAYf jc8f406UO+S7og3uno8K2ookdjsrhlIqcG6Yo/BD3E0Yq1pvAngwUZH22/qYANAu1xFz yKSQ== X-Gm-Message-State: AOAM530arUe2Xz7gWaYnO78GQVm3JmVQgyoRoQWOABlfSyNSfYeXLfO7 IO3Btj7TFRnQhGnqy8GiDemTnRi8z8mhJ9UFeQI= X-Google-Smtp-Source: ABdhPJwviGIx2dnwKb13F0+2zPlRc/hJdcB+14xVVzMXTZExiIRRGNqlMctXV48w6IkCwRfifo1moY/1b1cibigGRMo= X-Received: by 2002:a25:7007:: with SMTP id l7mr17009283ybc.85.1598394926970; Tue, 25 Aug 2020 15:35:26 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 25 Aug 2020 15:35:26 -0700 From: Stefan Kangas In-Reply-To: <83wo7ge6fg.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 19 Mar 2020 17:00:03 +0200") References: <0c23e1b6-02db-af9d-9024-01c702f3f0fc@gmail.com> <83wo7ge6fg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Tue, 25 Aug 2020 15:35:26 -0700 Message-ID: Subject: Re: bug#40124: Bad interaction between before-string and :box faces To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 40124-done Cc: demisbalbach@googlemail.com, =?UTF-8?Q?Cl=C3=A9ment_Pit=2DClaudel?= , 40124-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: -0.5 (/) Eli Zaretskii writes: >> From: Cl=C3=A9ment Pit-Claudel >> Date: Wed, 18 Mar 2020 15:26:38 -0400 >> Cc: demisbalbach@googlemail.com >> >> In the following sample, the word "test" should have its letters "e" and= "s" in a box; but instead they display with just a bar above and below. R= emoving the before-string property fixes the issue. >> >> (with-current-buffer (get-buffer-create "box-test") >> (erase-buffer) >> (insert "test") >> (let ((ov (make-overlay 2 4))) >> (overlay-put ov 'face '(:box t)) >> (overlay-put ov 'before-string >> (propertize ">" 'display >> '(left-fringe right-arrow)))) >> (pop-to-buffer (current-buffer))) >> >> This was reported by Artemios (cc'd) in https://github.com/flycheck/flyc= heck/issues/1666. > > Thanks, I think I fixed this now on the master branch. There has been no followup within 22 weeks, so I'm going to assume the fix worked and close this bug now. If this conclusion is incorrect, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. Best regards, Stefan Kangas From unknown Tue Jun 24 17:23:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 23 Sep 2020 11:24:05 +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