From unknown Tue Jun 17 01:49:57 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#42521 <42521@debbugs.gnu.org> To: bug#42521 <42521@debbugs.gnu.org> Subject: Status: 28.0.50; Can't include an image in a display string Reply-To: bug#42521 <42521@debbugs.gnu.org> Date: Tue, 17 Jun 2025 08:49:57 +0000 retitle 42521 28.0.50; Can't include an image in a display string reassign 42521 emacs submitter 42521 Dmitry Gutov severity 42521 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 24 15:40:14 2020 Received: (at submit) by debbugs.gnu.org; 24 Jul 2020 19:40:14 +0000 Received: from localhost ([127.0.0.1]:48774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jz3YD-0004yp-N2 for submit@debbugs.gnu.org; Fri, 24 Jul 2020 15:40:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:54998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jz3YA-0004yg-CU for submit@debbugs.gnu.org; Fri, 24 Jul 2020 15:40:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jz3YA-00050D-5L for bug-gnu-emacs@gnu.org; Fri, 24 Jul 2020 15:40:10 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:50816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jz3Y7-0003jQ-Dx for bug-gnu-emacs@gnu.org; Fri, 24 Jul 2020 15:40:09 -0400 Received: by mail-wm1-x32a.google.com with SMTP id c80so8890705wme.0 for ; Fri, 24 Jul 2020 12:40:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:to:subject:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=hs80iRjASgnIi7v86INh9x4CFsw+7IVFPVQ0dNSEPwU=; b=uwDt4fEE3Gyjysp/GC2ma2LqYL5/M08yCqB2dTokf8YpByEiV9qR5zugJyd1rGuhSG FcKOnf3YOalAleIIg9bXXCggD9Y5KGyK6Dzjo/Pmn8nvvi0SYs+8pmv8wSfwcCZCYyWY e+LZmKd25hdAKpBWLpRwOfp7308mYCm9DK++XT9/yrlPWw9Nl+bY5s92RwlOiNLjKOtU QoMFEI2VUG5xh0MKoAc48SHhvevL6R0bLdfC5RAdELf/LMmROassB5zu0qdqu2Ye8ioK MgmyfTt0NlyciH2kuRmcbfKxDuF+4u4DBzZqCtKI094oTUSyBSYaVnnjcOX9NG0v/amL LBzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:to:subject:from:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=hs80iRjASgnIi7v86INh9x4CFsw+7IVFPVQ0dNSEPwU=; b=GWn+nK5hmOFmnl12XfDYq82PqzUiuYWX4xDmpOxPMuVPVVwj3ZsymVA1GMlEa8sdbP +13f5furlkFDvnsMSZOhjRuKLgC93mDVKnaFzKCCnwS2+Qxo5AGFzoYwQaVXo5PuQqNF U7+Z1EolOTx6Iguxaq4rj/VXhPxefU69EycR336ZCZmpHiCXYBNZp5G2b4lh1ywIHXFz BSBQGgnc9bqfVS+gWCjho+9WYhaS0nPrYfAVtTpcfa8+Oy1p431fMQsuv4dV0CJ9CwwV l2oglKulBJk4B78+UJWFUhNEmvv6PtPd80S7nBB3I+iaGz6c6ptYos0YoYQyiQojNP0s ygbg== X-Gm-Message-State: AOAM533rVdG5gsqesQ+2eBVPIEkWNQRZn/08t//lqcdq5ol1ECDKKvY3 rDfym03mqDDx0rCYVLaA5MUxbjIL X-Google-Smtp-Source: ABdhPJz1xujQ5kRYA2qmKKDJlimWtkhPEvdPgM/7nnuxs7EWrWgn1bOeXaAHjvfZ2hLuTPJ8M+W60g== X-Received: by 2002:a05:600c:2949:: with SMTP id n9mr9905108wmd.69.1595619605160; Fri, 24 Jul 2020 12:40:05 -0700 (PDT) Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id j6sm2519023wro.25.2020.07.24.12.40.03 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jul 2020 12:40:04 -0700 (PDT) To: bug-gnu-emacs@gnu.org Subject: 28.0.50; Can't include an image in a display string From: Dmitry Gutov Message-ID: <0ee06a27-b6e9-e381-64e4-51806c403509@yandex.ru> Date: Fri, 24 Jul 2020 22:40:02 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=raaahh@gmail.com; helo=mail-wm1-x32a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: -2.2 (--) (progn (erase-buffer) (insert " ") (setq o (make-overlay (point-min) (point))) (overlay-put o 'display (concat (propertize " " 'display (create-image "splash.svg" nil nil :max-height (default-font-height))) " text after image"))) The script above will end with a blank space instead of an image being displayed. To compare: replace the first 'display symbol with 'after-string, and the image is displayed. Why do we need this: if this worked, we would implement icons display in the default completion popup in company-mode. It's a feature that has been requested for a while. See the discussion here: https://github.com/company-mode/company-mode/pull/996#issuecomment-662743347 Unfortunately, as we seem to have concluded in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18285 and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20847, I have to use the `display' overlay property in most of the cases. P.S. This is not a regression, Emacs 26.3 is the same. In GNU Emacs 28.0.50 (build 25, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2020-07-20 built on potemkin Repository revision: 4c08c2f45b9bb0265f6d7c3529011dee1b18e843 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Ubuntu 20.04 LTS From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 25 01:55:15 2020 Received: (at 42521) by debbugs.gnu.org; 25 Jul 2020 05:55:15 +0000 Received: from localhost ([127.0.0.1]:49180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzD9O-0001go-T6 for submit@debbugs.gnu.org; Sat, 25 Jul 2020 01:55:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzD9M-0001gR-30; Sat, 25 Jul 2020 01:55:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40553) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzD9G-0006AF-KB; Sat, 25 Jul 2020 01:55:06 -0400 Received: from [176.228.60.248] (port=1486 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jzD9C-0000DK-Li; Sat, 25 Jul 2020 01:55:03 -0400 Date: Sat, 25 Jul 2020 08:54:48 +0300 Message-Id: <83blk4dtqv.fsf@gnu.org> From: Eli Zaretskii To: Dmitry Gutov In-Reply-To: <0ee06a27-b6e9-e381-64e4-51806c403509@yandex.ru> (message from Dmitry Gutov on Fri, 24 Jul 2020 22:40:02 +0300) Subject: Re: bug#42521: 28.0.50; Can't include an image in a display string References: <0ee06a27-b6e9-e381-64e4-51806c403509@yandex.ru> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42521 Cc: 42521@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: -3.3 (---) severity 42521 wishlist thanks > From: Dmitry Gutov > Date: Fri, 24 Jul 2020 22:40:02 +0300 > > (progn > (erase-buffer) > (insert " ") > (setq o (make-overlay (point-min) (point))) > (overlay-put o 'display > (concat (propertize " " 'display > (create-image "splash.svg" nil nil > :max-height > (default-font-height))) > " text after image"))) > > The script above will end with a blank space instead of an image being > displayed. This is a documented limitation of the current design and implementation of the 'display' property. The ELisp manual says: ‘STRING’ Display STRING instead of the text that has this property. Recursive display specifications are not supported—STRING’s ‘display’ properties, if any, are not used. I never looked into lifting this restriction, so I don't know what would that entail. There are probably some complications with faces, at least. If someone wants to study the issue, that'd be welcome, I think. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 25 06:26:31 2020 Received: (at 42521) by debbugs.gnu.org; 25 Jul 2020 10:26:31 +0000 Received: from localhost ([127.0.0.1]:49379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzHNv-0002HY-6o for submit@debbugs.gnu.org; Sat, 25 Jul 2020 06:26:31 -0400 Received: from mail-wm1-f52.google.com ([209.85.128.52]:56308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzHNr-0002HJ-DM for 42521@debbugs.gnu.org; Sat, 25 Jul 2020 06:26:29 -0400 Received: by mail-wm1-f52.google.com with SMTP id 9so9940770wmj.5 for <42521@debbugs.gnu.org>; Sat, 25 Jul 2020 03:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=vmG+jS6B45QBK3SBKQgHVb/5y0QEZypyMPxaFiBUzE0=; b=vfgVl48RB9uKtq4NO87p/FB1scB9EETrQoRM4fzu4TjNH3gLm8Aq8iaY/aOEsAhZRt B25xoRuBN3SxM/AgR92VsB1xggXmCulx42naD+YVBLZxWvL2PZj7o112s8sHNKveG15+ YcZkjCJLdWnEfPw8wQWB7c5T3NSuZneTq65xFn0BnjofkeVWGMQ71qdov9DsrjGvIF/V e0y080v6YNfeUz/rpNQw08ZIDnHN5fw4Rjl3YWSyJGPkSVYC7NQ7i2go+wakLS77mg4X rL1J1vcZopt3f4Q1WTbd2ugQGSS7thjLJ8JHd2gShJ8GTKtxJ+N+yxy2VxIXXZsbWrGk htvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vmG+jS6B45QBK3SBKQgHVb/5y0QEZypyMPxaFiBUzE0=; b=dhImS39ohT+4sTstd/GcS7mefCgJH+kKD3qwM2GX0Bf+KHyHaDxA6ISxpHWnCIKEiA 8HLUF+Snr7sRMe9rVgJz8EAbUD708wTeFZhmLa20d7sjlcZuiMIlebzF5dzdpUIwrgN3 Flsja2yzVklaRea7rAOgA01J3SlAKSuZf1JKcgj+/4coV0xsj+vHlGdMKOUQVCH8PRi9 iFL5XZf/OOIcmIzxNhAmz6lGBYjvNcler7EuZdxTZWBIXwFtS0D51gK5eaNnjGC/Xqrg XCQu/1IDgJbAmQJhner62b4Izg9EgiFpFr5oH7t0ltnjeYVESS+4CgNFN/mQ4LAvgebv VclA== X-Gm-Message-State: AOAM530KNBM5dtYGzPvw3jCNrx2V7+uWjREPp4sla4J4yWXazmaZt28S 3ZxGzNLcsYm9dYltOb8yrkoPjmK4 X-Google-Smtp-Source: ABdhPJxnGk+O6tvJd4j5NRVQY78qGmW8n//yUaUDQjDI2BbVC+M/QACMLeSOx766bKHU+reUa+SJUw== X-Received: by 2002:a7b:cf2b:: with SMTP id m11mr12473916wmg.110.1595672781115; Sat, 25 Jul 2020 03:26:21 -0700 (PDT) Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id k126sm11025497wme.17.2020.07.25.03.26.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 25 Jul 2020 03:26:20 -0700 (PDT) Subject: Re: bug#42521: 28.0.50; Can't include an image in a display string To: Eli Zaretskii References: <0ee06a27-b6e9-e381-64e4-51806c403509@yandex.ru> <83blk4dtqv.fsf@gnu.org> From: Dmitry Gutov Message-ID: Date: Sat, 25 Jul 2020 13:26:19 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <83blk4dtqv.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 42521 Cc: 42521@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.3 (-) On 25.07.2020 08:54, Eli Zaretskii wrote: > Recursive display specifications are not supported—STRING’s > ‘display’ properties, if any, are not used. I see, thank you. But what about other ways to reach the same goal? Like supporting image spec placed on 'before-string' instead of 'display': (progn (erase-buffer) (insert " ") (setq o (make-overlay (point-min) (point))) (overlay-put o 'display (propertize " text after image" 'before-string (create-image "splash.svg" nil nil :max-height (default-font-height))))) If this worked, I would actually prefer it. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 25 06:56:35 2020 Received: (at 42521) by debbugs.gnu.org; 25 Jul 2020 10:56:35 +0000 Received: from localhost ([127.0.0.1]:49418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzHr0-00033T-TV for submit@debbugs.gnu.org; Sat, 25 Jul 2020 06:56:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzHqy-00033H-Oi for 42521@debbugs.gnu.org; Sat, 25 Jul 2020 06:56:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42964) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzHqt-0007Ln-6R; Sat, 25 Jul 2020 06:56:27 -0400 Received: from [176.228.60.248] (port=4356 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jzHqr-000120-UF; Sat, 25 Jul 2020 06:56:26 -0400 Date: Sat, 25 Jul 2020 13:56:12 +0300 Message-Id: <83mu3ndfsj.fsf@gnu.org> From: Eli Zaretskii To: Dmitry Gutov In-Reply-To: (message from Dmitry Gutov on Sat, 25 Jul 2020 13:26:19 +0300) Subject: Re: bug#42521: 28.0.50; Can't include an image in a display string References: <0ee06a27-b6e9-e381-64e4-51806c403509@yandex.ru> <83blk4dtqv.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42521 Cc: 42521@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: -3.3 (---) > Cc: 42521@debbugs.gnu.org > From: Dmitry Gutov > Date: Sat, 25 Jul 2020 13:26:19 +0300 > > Like supporting image spec placed on 'before-string' instead of 'display': > > (progn > (erase-buffer) > (insert " ") > (setq o (make-overlay (point-min) (point))) > (overlay-put o 'display > (propertize " text after image" > 'before-string > (create-image "splash.svg" nil nil > :max-height > (default-font-height))))) > > If this worked, I would actually prefer it. This puts a 'before-string' property on a display string. But 'before-string' is an overlay property, not a text property, so it cannot be put on a string, only on buffer text. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 25 07:34:50 2020 Received: (at 42521) by debbugs.gnu.org; 25 Jul 2020 11:34:50 +0000 Received: from localhost ([127.0.0.1]:49446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzIS2-00068S-3w for submit@debbugs.gnu.org; Sat, 25 Jul 2020 07:34:50 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:36824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzIRz-00068C-0k for 42521@debbugs.gnu.org; Sat, 25 Jul 2020 07:34:48 -0400 Received: by mail-wm1-f45.google.com with SMTP id 3so3462716wmi.1 for <42521@debbugs.gnu.org>; Sat, 25 Jul 2020 04:34:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=6+zpZ59eVWrWfzsgFfuPBxty30J8Hn83OeVHwzr2in0=; b=cKjmaVevaE64jV9lgzYSFzMtUPRd0ehsy4+JUdA1pmGKRUgY3+g0bOHpTbH3RWWGDX au093j6le7oKdmzcDktTer1U6xFjUUA9hTVp8YcQZ1sDACqYbnAT17iif5uzGAksTVm/ JHMroQ9qSAw0hhYdKO9qEbcnm/pD2YzPJQPeAjJRJIWxBWyrXzw+ty5+kNqOrQOAdQFc MAj1oihMIGjwIDqQRHZ84vVRuQmlEEmTrjFfssj2OmsVsy6Oa3NXZ1QKz0K0Ee3nhHa2 ZTORrayFLqUhSYWV8WRkyLUTLh45cOt1vCHyqtbnRNFKB6z/CPraNlgpGKVgQf/84RSr G9Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=6+zpZ59eVWrWfzsgFfuPBxty30J8Hn83OeVHwzr2in0=; b=Y3KDVCVCawTDWsy4dQeFr3INnrndU7+3BwaBNyaY5TKaXALVD1fU2JRbkOLgxBYRFi HopRHgEceqYbXeFzURZmWyM33AjplUxVQkDOZWpamnrWCehjze0NP6bMOWoiXYsrALS8 /Sy9/Np3luSx2Y80sybXIoRc39LjWe+cjow8+PtAwwE7qSoWkTdnj1EIQMjxurLyOcqI P1lfJfcCKJq7jgz6u7vCLLM7wx+hRJfGJGO8mkr16NN/WqPqnV9Ce+foDGyUJk3zz2dI fZfliRi/KjKoTzNx1F8gL3EJKGoA+KhPVm2bgSevtJEG7Bw/xSm6vllZQTBXMonHE8dN efrw== X-Gm-Message-State: AOAM530BsEn+UhaORe5TjdvQ2SgUnYzxXFy5pmIA8wHBKC26qmTi56lC tzl0XDsN8Ds1/Oz9QlSDzaypKkNj X-Google-Smtp-Source: ABdhPJyPKaLFyOKD7ap1PxPbCXxuaWBP5cDUA2xNY/f2fkkLDgig280GJXyWa+8rfl6RgWpYXP1GZA== X-Received: by 2002:a1c:3c87:: with SMTP id j129mr5092611wma.176.1595676880723; Sat, 25 Jul 2020 04:34:40 -0700 (PDT) Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id o30sm4950432wra.67.2020.07.25.04.34.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 25 Jul 2020 04:34:39 -0700 (PDT) Subject: Re: bug#42521: 28.0.50; Can't include an image in a display string To: Eli Zaretskii References: <0ee06a27-b6e9-e381-64e4-51806c403509@yandex.ru> <83blk4dtqv.fsf@gnu.org> <83mu3ndfsj.fsf@gnu.org> From: Dmitry Gutov Message-ID: <2553b77a-bd90-8786-7255-4880b1bb83d0@yandex.ru> Date: Sat, 25 Jul 2020 14:34:37 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <83mu3ndfsj.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 42521 Cc: 42521@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.2 (-) On 25.07.2020 13:56, Eli Zaretskii wrote: > This puts a 'before-string' property on a display string. But > 'before-string' is an overlay property, not a text property, so it > cannot be put on a string, only on buffer text. Ah, yes. Thank you for the reminder.