From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oCPBAqER+mPjrwAAbAwnHQ (envelope-from ) for ; Sat, 25 Feb 2023 14:48:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sGi8AqER+mPLUwEA9RJhRA (envelope-from ) for ; Sat, 25 Feb 2023 14:48:17 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DBCE1CE96 for ; Sat, 25 Feb 2023 14:48:16 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 349A15F727; Sat, 25 Feb 2023 13:48:13 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id CB06B5F3E2 for ; Sat, 25 Feb 2023 13:48:10 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 289A75FB9E; Sat, 25 Feb 2023 08:48:10 -0500 (EST) Received: (nullmailer pid 256141 invoked by uid 1000); Sat, 25 Feb 2023 13:48:08 -0000 From: David Bremner To: Alex Murray , notmuch@notmuchmail.org Subject: Re: notmuch-emacs inline image display broken in emacs-29 In-Reply-To: <87bklhricc.fsf@tethera.net> References: <87ilfrg035.fsf@graphene.mail-host-address-is-not-set> <87bklhricc.fsf@tethera.net> Date: Sat, 25 Feb 2023 09:48:08 -0400 Message-ID: <87ilfpvotj.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: 3TCRQGZXFUZ6UIE6STKJLO3JGHPDE4AV X-Message-ID-Hash: 3TCRQGZXFUZ6UIE6STKJLO3JGHPDE4AV X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677332896; a=rsa-sha256; cv=none; b=YBFT8r4cV4iBCxP3OT1YWJ3Jxu3Dt4jQhTNN1UavRu5S8MwzfxhxQgrXvmW5eeF1ZR/khm f5dvpZHVOdKgO2J+Dun5S+1AwWs12FviQqyA8sz2GDrkdd6Oa4Otl5qYxFLADNSJBjU9xH f4kXhg7K5NN5GM1MQZ2AOzcwe2LuBRmzWSEl8zYI+BzpO79Ta/r654PqLsarVdaezltN3g tk8iUwsYYyRF421l4UVarifZoKQPnsYMlf9rT2P/icl1uFVoAZ0YKd0RaV+ZhZwldmFpir 4QY6312mbAXi1OpJn4+t+jtYgKPATtCw4tg43wKTZbrv6iiqPcnHeJibxv/t8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677332896; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=XfsxdsFve+hIZfrpoq9oagxBT9CXkzLopMv1CfVzGZE=; b=H549D8661P1uP+Mk88UKq6gvnmevhoMDwU8hGeSLcuxeBIaaEq+OuSvSTypQRzQ1H8hYRQ Nlt2vQFPSx6EBv3FcLMcoREC3VeyjMN5kQbb5k0MdwxwO1uvnP4QCMuUHAi5DrOzkv+zgd NMTWl2GkU3jOJ55nwQ3iK+4AvvzQiqqXEPwhUJxHjeuHl1bPd8KgQE9fMZlj+9t7zqFKIN OD1Ng6Wcauf6cBxY0rjjTdAou20JSrTyZPJ0CiOBwzFtGVHAjrYWFBxbWsMcCk9yc/sJbh qlJ+Ib+5yf2V+k5vOBzIxnVi1c3UBNpnIFT9rTxnR4qyzbyaRTgFOoS8UPDDOg== X-Migadu-Queue-Id: DBCE1CE96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.93 X-Spam-Score: -1.93 X-TUID: IJ+Ht7RzUXZr David Bremner writes: > Alex Murray writes: > > I tried replacing indent-rigidly with a simplified version the and that > leaves the image inserted, but unfortunately doesn't indent it > properly. If you want to play with it, my half working patch is > attached. > Actually, the current implementation using indent-rigidly doesn't indent inlined images properly either, so maybe that is a way forward. I remember from last time I considered globally replacing our use of indent-rigidly [1] there were a few issues to be dealt with, but maybe this is a reasonable approach. [1]: https://nmbug.notmuchmail.org/nmweb/show/20211214121726.2631714-1-david@tethera.net