From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IPWjN30ab2WaFgEAauVa8A:P1 (envelope-from ) for ; Tue, 05 Dec 2023 13:41:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IPWjN30ab2WaFgEAauVa8A (envelope-from ) for ; Tue, 05 Dec 2023 13:41:34 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8E76037039 for ; Tue, 5 Dec 2023 13:41:33 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=ivU1i4UO; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701780093; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NoeS+TMu9CMAZRsMZjgV2+nCjtqHTkf5vWG5RVIz7b8=; b=ZAuZk1Q7kILq43Yzu64T1Xn4Jfz0BlpMxXepqE8WhKOOlUKbTutbJR4t0BBSWfvnW9R50n VLgw3kc79EBlYp1fku7wEih5dWDod0kbvAStNyRVUHXxFNcoQDCfgVD4bJnm3LZQBc3bY+ NfkBptuky0ngiBfrw12HwypFO2uiwRBgaZgbRzxgjm+kC2tUr2xfnexs0BK8HZ2RmkmmAL ZZpuGA207/OZJyD5xvzUUqsGQdQK0oO6ykoxV1ycRam/qgm+Aa8nCGHEJUnO+GLvW4kX99 Cd04GnkuivXFV0Di4lWUH+1nPEF9pOPzUQ/UhFxuZv+XZlcA6Mw5izdrlP/hrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=ivU1i4UO; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701780093; a=rsa-sha256; cv=none; b=do6UtMd+aBPmPgTbSvZt0KNSkygrjrRG133mjZ2mhv2GuIGy+1M7ecsQDmnjliHyglQHmD btmEVx8Y5/ldH0nv3Rl4SPVrXAhgnSUz7wSB9qaDZ9NfpFfthlnBMTNX/OvmwCpEx/LlJR pDsZnupyq31iVu2Lvg/wDkrxEt+TOBHM1UwLH2hqAkOqN4WwKz1l1dtp6pXhVTfTckezYY EOS+RhjVBhC838F8DUMYlgt7Zec+jwKut4l2QNxGFHa5BFU6WjK/4lp534OjC/i03cI7UP S1rYR8++bC//e653uwsG5KyshCs2+E67OmcT0mBINZPathagkhjxfZAOQPJIGQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rAUjY-0001yL-TY; Tue, 05 Dec 2023 07:41:04 -0500 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 1rAUjU-0001xd-3Y for emacs-orgmode@gnu.org; Tue, 05 Dec 2023 07:41:00 -0500 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rAUjR-00029a-F4 for emacs-orgmode@gnu.org; Tue, 05 Dec 2023 07:40:59 -0500 Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-7b34c5d7ecdso219102339f.0 for ; Tue, 05 Dec 2023 04:40:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701780056; x=1702384856; darn=gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=NoeS+TMu9CMAZRsMZjgV2+nCjtqHTkf5vWG5RVIz7b8=; b=ivU1i4UO+PYUVdrm3d+q1aUXyX86hifNRhgIYcOIiNHmGUeAYRtEBpxg/m0vzyTeov cXjSSK7YYcXasEvX6rgpDlksIc8hJnD9BVLILQ3WgCdyAbVFi3/VOaiBWt4UqSeh0Ezs dx/grLGJ9q2BNdWBP49WGXUPKLc7iItjcr9OjwPPUoe8nBKkBu7S3GpntI7e23pZ9vUd TG1rBrMJYJw/TWQKzlpgG1gLJ+GEFLhfrqpc6F7K6H6/IWuIbhdCk8NCLDn8AuI3SsQL mCpnCp0GoKkk2d/LfDWTeaKAHp1QPIlH5+4hbYcVBjBO0xnxSZPJZAKa8J+6qm1vUuhJ JYOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701780056; x=1702384856; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NoeS+TMu9CMAZRsMZjgV2+nCjtqHTkf5vWG5RVIz7b8=; b=LRKLdp6I9/ZfCBptW3LOnF746Wj8a3hRXOzO7CvG3eFgzFT1GgY8/YMaREZgAFc/A8 3wFX4vrryJFmu8rXZ+karERMOgOM7XF9MuXA5KUwepgCFnwDwsAwPp3N+5YVLTNpP7Xu b+2Ugt/3DGF+eA6coW/TM9CMVGwCdO6BfIP491P4P+QwoMyKInVNTUyhFNL3Y7A9PKRh OxUqzkaIEPmpjnN9RPtmlY1+CfQhVOcZ1qBKq64EsuoF6GlRpn0k/j8mx0VnpADvP4Ec 6v0ZA0RS64xZJW07blY+6E/rs3yIAgjDtnC/iXyFQGko0sSq1Ar7olKLTBfmhG6Sh4q7 9pOA== X-Gm-Message-State: AOJu0Yz2tivyqwaYhkUuudzRPi3GuxD7hGpbycAHlth2jdlMfqeHDcGV BknTEO7Jvy1DCSCAYF2wNeI= X-Google-Smtp-Source: AGHT+IEcRWUMtU4ekDUxTEOTC9E59Axh+BYqCK/hwPU5NJ91J1SMK0UsLc/qT1JUhEKcCPrQqrNqTg== X-Received: by 2002:a5d:8ada:0:b0:7b3:e177:198a with SMTP id e26-20020a5d8ada000000b007b3e177198amr7266740iot.16.1701780055744; Tue, 05 Dec 2023 04:40:55 -0800 (PST) Received: from smtpclient.apple (cm-24-53-187-34.buckeyecom.net. [24.53.187.34]) by smtp.gmail.com with ESMTPSA id s1-20020a02ad01000000b00466844b037asm3087591jan.100.2023.12.05.04.40.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2023 04:40:54 -0800 (PST) From: JD Smith Message-Id: <7079D415-F348-45C8-980E-57904BDFFD95@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_184D21C3-398B-4945-88AB-7475C85588CB" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) Subject: Re: [BUG] Hard lockup on org-display-inline-images Date: Tue, 5 Dec 2023 07:40:43 -0500 In-Reply-To: <87msuox2bi.fsf@localhost> Cc: emacs-orgmode@gnu.org To: Ihor Radchenko References: <41A3D867-AE03-4FA2-9CA3-D48B3A984FB1@gmail.com> <87msuox2bi.fsf@localhost> X-Mailer: Apple Mail (2.3774.200.91.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::d2e; envelope-from=jdtsmith@gmail.com; helo=mail-io1-xd2e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 8E76037039 X-Spam-Score: -6.36 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.36 X-TUID: Wh8wJBzXzRBk --Apple-Mail=_184D21C3-398B-4945-88AB-7475C85588CB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Dec 5, 2023, at 7:26=E2=80=AFAM, Ihor Radchenko = wrote: >=20 > JD Smith writes: >=20 >> Eli and I recently patched a problem = with pixel = position reporting with inline images (which I had discovered in a large = org buffer with latex-preview). With this patch installed, now on = master as of this evening, org-display-inline-images freezes emacs when = a larger image is included in an org file, if org-indent is enabled.=20 >>=20 >> I=E2=80=99ve confirmed such images are fine in regular buffers by = text-property or overlay, so I suspect this is a =E2=80=9Crevealed = bug=E2=80=9D in org-indent or the element cache. >=20 > I just tried to create a simple Org file with a png image link (on > main, latest Emacs master), enabled org-indent-mode, and displayed the > images. I see no problem. >=20 > Please provide more detailed instructions to reproduce the problem. Apologies for not following up. The problem was in recent display code = improvements. Eli fixed the introduced bug quite quickly in: = http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D7a7d41e07c4627c5de= 08a66368309b478c88edfc=EF=BF=BC= --Apple-Mail=_184D21C3-398B-4945-88AB-7475C85588CB Content-Type: multipart/related; type="text/html"; boundary="Apple-Mail=_E09B8DBF-781E-4B82-8355-B0073E6DF57F" --Apple-Mail=_E09B8DBF-781E-4B82-8355-B0073E6DF57F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Dec 5, 2023, at 7:26=E2=80=AFAM, Ihor Radchenko = <yantar92@posteo.net> wrote:

JD Smith = <jdtsmith@gmail.com> writes:

Eli = and I recently patched a problem = <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67533> with pixel = position reporting with inline images (which I had discovered in a large = org buffer with latex-preview).  With this patch installed, now on = master as of this evening, org-display-inline-images freezes emacs when = a larger image is included in an org file, if org-indent is enabled. =

I=E2=80=99ve confirmed such images are fine in regular buffers = by text-property or overlay, so I suspect this is a =E2=80=9Crevealed = bug=E2=80=9D in org-indent or the element cache.

I = just tried to create a simple Org file with a png image link = (on
main, latest Emacs master), enabled org-indent-mode, and = displayed the
images. I see no problem.

Please provide more = detailed instructions to reproduce the = problem.

Apologies for = not following up.  The problem was in recent display code = improvements.  Eli fixed the introduced bug quite quickly = in: