From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33435: 27.0.50; A use case for recursive display specifications Date: Tue, 20 Nov 2018 18:30:06 +0200 Message-ID: <83o9ajiuep.fsf@gnu.org> References: <835zwskge7.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1542731349 23073 195.159.176.226 (20 Nov 2018 16:29:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2018 16:29:09 +0000 (UTC) Cc: 33435@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 20 17:29:05 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gP8tc-0005rl-Fv for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Nov 2018 17:29:04 +0100 Original-Received: from localhost ([::1]:34573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP8vi-0004Eh-TB for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Nov 2018 11:31:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP8va-0004Ds-5p for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 11:31:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP8vX-0004y7-Ek for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 11:31:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59359) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gP8vX-0004xu-9o for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 11:31:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gP8vX-0004CI-3d for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 11:31:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Nov 2018 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33435 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33435-submit@debbugs.gnu.org id=B33435.154273141216020 (code B ref 33435); Tue, 20 Nov 2018 16:31:02 +0000 Original-Received: (at 33435) by debbugs.gnu.org; 20 Nov 2018 16:30:12 +0000 Original-Received: from localhost ([127.0.0.1]:35384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gP8ug-0004A7-9W for submit@debbugs.gnu.org; Tue, 20 Nov 2018 11:30:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gP8ue-00049d-Kz for 33435@debbugs.gnu.org; Tue, 20 Nov 2018 11:30:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP8uV-0004D2-Ki for 33435@debbugs.gnu.org; Tue, 20 Nov 2018 11:30:03 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP8uU-0004A1-F8; Tue, 20 Nov 2018 11:29:58 -0500 Original-Received: from [176.228.60.248] (port=1973 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gP8uU-0000Xu-3C; Tue, 20 Nov 2018 11:29:58 -0500 In-reply-to: (message from Pip Cet on Tue, 20 Nov 2018 15:16:25 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:152571 Archived-At: > From: Pip Cet > Date: Tue, 20 Nov 2018 15:16:25 +0000 > Cc: 33435@debbugs.gnu.org > > > In case I did understand: did you try an overlay with after-string > > that has an image display property on it? > > First, thanks for the suggestion; sorry, it simply hadn't occurred to > me that after/before-string can do things display specifications > cannot. Well, it's still a display spec, just on a string, not on buffer text. > Obviously I'm still thinking of a display-propertized display > specification string as the more natural thing to do, and things are > slightly different (cursor placement, modifications, highlighting of > included text) with the after-string solution, but I'll try to get > things working that way. Thanks again. Let me know if you have other difficulties. I should warn you that the combination of an overlay string and a display spec is used rarely, so you might bump into weird behavior and even bugs. Until Emacs 25 I think this combination was very buggy.