From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Newsgroups: gmane.emacs.bugs Subject: bug#40124: Bad interaction between before-string and :box faces Date: Wed, 18 Mar 2020 15:26:38 -0400 Message-ID: <0c23e1b6-02db-af9d-9024-01c702f3f0fc@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="6003"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 Cc: demisbalbach@googlemail.com To: 40124@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 18 20:27:15 2020 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 1jEeLS-0001RW-4g for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Mar 2020 20:27:14 +0100 Original-Received: from localhost ([::1]:57466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEeLQ-0008Bz-73 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Mar 2020 15:27:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59705) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEeLH-0008BX-Gn for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2020 15:27:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEeLG-0005j3-0y for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2020 15:27:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35448) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEeLF-0005iw-TX for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2020 15:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEeLF-0004Ws-Oi; Wed, 18 Mar 2020 15:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-Sender: "Debbugs-submit" Resent-CC: demisbalbach@googlemail.com, bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Mar 2020 19:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40124 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs X-Debbugs-Original-Xcc: demisbalbach@googlemail.com Original-Received: via spool by submit@debbugs.gnu.org id=B.158455960617378 (code B ref -1); Wed, 18 Mar 2020 19:27:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Mar 2020 19:26:46 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:177515 Archived-At: 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))