From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62637: 29.0.60; Issues when displaying images Date: Mon, 03 Apr 2023 21:42:20 +0300 Message-ID: <838rf8vmcz.fsf@gnu.org> References: <83355hw0l5.fsf@gnu.org> <83iledudtc.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12107"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 62637@debbugs.gnu.org To: Al Haji-Ali Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 03 20:43:24 2023 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 1pjP9H-0002z6-KO for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Apr 2023 20:43:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjP93-0005br-6M; Mon, 03 Apr 2023 14:43:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjP8w-0005Zu-QT for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 14:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pjP8w-00037L-Hw for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 14:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pjP8w-0006Oi-4X for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 14:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Apr 2023 18:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62637 X-GNU-PR-Package: emacs Original-Received: via spool by 62637-submit@debbugs.gnu.org id=B62637.168054732824525 (code B ref 62637); Mon, 03 Apr 2023 18:43:02 +0000 Original-Received: (at 62637) by debbugs.gnu.org; 3 Apr 2023 18:42:08 +0000 Original-Received: from localhost ([127.0.0.1]:45255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjP84-0006NV-1B for submit@debbugs.gnu.org; Mon, 03 Apr 2023 14:42:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjP81-0006My-3x for 62637@debbugs.gnu.org; Mon, 03 Apr 2023 14:42:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjP7v-0002t6-7B; Mon, 03 Apr 2023 14:41:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=7Hf9ggh+EIZPo9Pl4dXnSfvlacfa9oK+avs1lj1SzyA=; b=BWOuqjsHar9g 1wRHW3a3ghX0nmTAMncvIuPSkM+4e5rjG8RtNPoDWFZ45w+z+d7Xzdwzg2lU0HqFJn1BSS4Bus2KL Zoq0mbGIZ3StCpl680Re9CNwcwCuF1jC6d61AorNVsjC7wO9sMbSgeknmpIGOib1rYgTkTGBQcmzN vhRueb1edbYDL1zkgPJH+Mn1T6H/8okQdpuvJAL6NGys+rqB/OY0ZPrpbdCk6ggW2qfRoHC5SWp8a pOBw5KbcASYvlfuVN+e74FIb9H+alBd5/aUIrwww5vblKD7/Hqx8cOhF9p0M4a1sc8p6A0hx3ZaT6 EjXyCm3a2Z3kD5vetKo5vg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjP7u-0007ZX-CP; Mon, 03 Apr 2023 14:41:58 -0400 In-Reply-To: (message from Al Haji-Ali on Mon, 03 Apr 2023 19:30:38 +0100) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259203 Archived-At: > From: Al Haji-Ali > Cc: larsi@gnus.org, 62637@debbugs.gnu.org > Date: Mon, 03 Apr 2023 19:30:38 +0100 > > This code tests overlay visibility for images with three cases: > - using insert-image: as you explained this does not work as expected. > - using put-image: Since put-images uses an overlay, I guess the same logic applies. > - put-image with a newline: Seems to work for some reason. This is what `mml-inline-image` was using before and why notmuch was working. I think the invisible overlay will work if its span is different from exactly the same text as the one on which image is defined. I think notmuch could simply copy the old definition of mml-inline-image, and use that. > Sorry for the noise. I am not sure there's a bug in this case, only unjustified expectations as you put it. No sweat. I'd still like to hear from Lars about the string he used in the insert-image call: should we replace it with a non-whitespace string?