From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#42521: 28.0.50; Can't include an image in a display string Date: Sat, 25 Jul 2020 13:26:19 +0300 Message-ID: References: <0ee06a27-b6e9-e381-64e4-51806c403509@yandex.ru> <83blk4dtqv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34923"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: 42521@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 25 12:27:11 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 1jzHOZ-0008y7-Jz for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jul 2020 12:27:11 +0200 Original-Received: from localhost ([::1]:46866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzHOY-0004Om-I3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jul 2020 06:27:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzHOQ-0004O0-O5 for bug-gnu-emacs@gnu.org; Sat, 25 Jul 2020 06:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzHOQ-0003No-Eu for bug-gnu-emacs@gnu.org; Sat, 25 Jul 2020 06:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzHOQ-0002IK-8r for bug-gnu-emacs@gnu.org; Sat, 25 Jul 2020 06:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jul 2020 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42521 X-GNU-PR-Package: emacs Original-Received: via spool by 42521-submit@debbugs.gnu.org id=B42521.15956727918781 (code B ref 42521); Sat, 25 Jul 2020 10:27:02 +0000 Original-Received: (at 42521) by debbugs.gnu.org; 25 Jul 2020 10:26:31 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <83blk4dtqv.fsf@gnu.org> Content-Language: en-US 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" Xref: news.gmane.io gmane.emacs.bugs:183523 Archived-At: 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.