From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2ItQFM+04WCwGgEAgWs5BA (envelope-from ) for ; Sun, 04 Jul 2021 15:17:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yD4bEM+04WA/LgAAB5/wlQ (envelope-from ) for ; Sun, 04 Jul 2021 13:17:03 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 0BA831F533 for ; Sun, 4 Jul 2021 15:17:03 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id BC7B029089; Sun, 4 Jul 2021 09:16:50 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id BE22926B99 for ; Sun, 4 Jul 2021 09:16:45 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 3ED7E5FD21; Sun, 4 Jul 2021 09:16:44 -0400 (EDT) Received: (nullmailer pid 3400881 invoked by uid 1000); Sun, 04 Jul 2021 13:16:43 -0000 From: David Bremner To: David Bremner , notmuch@notmuchmail.org Subject: WIP fixes for rfc822/attachement display Date: Sun, 4 Jul 2021 10:16:36 -0300 Message-Id: <20210704131639.3400795-1-david@tethera.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210703201131.3184165-2-david@tethera.net> References: <20210703201131.3184165-2-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: LYM2V5A6Z4K4EOMHRLR6FPE25755HT7J X-Message-ID-Hash: LYM2V5A6Z4K4EOMHRLR6FPE25755HT7J X-MailFrom: bremner@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; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625404623; 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-unsubscribe:list-subscribe:list-post; bh=gs5gZQMPHo95G0nDHFHHnaBx3sxD2bNssx/1U3JCDwU=; b=LAUyhvg+B1Do3kwufKCfPkUZiHvrjgmWDxXskPqQZPlS/+/MXz3QQflAQbgx4c5Yk0h3Zs wzol4e3ivPo6eQ5+q7depNdRqGLplHhhk0WYGtYEomNae2V2kFdjVN4Jb/NqFVg44uYuDK hFqTU0s22aY+DhGau+VvUcJquKH4sq3ldpxvAi35ImYHZWpkAu0Re81oguIPNMFpRQ3YG3 8MHx6IXtCC0A3irWumLqg1yIiY3xVS8zrrEueD9sEBNM0hp24w0aBEsmbPFfeASplV1bIg eWhlkO2DNv+br+YqRwQSSP82KCHVwjc+/gE0wUCGZT2Ulh5icEIuWWsmFXIIpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625404623; a=rsa-sha256; cv=none; b=iTeWtRQ6/liL24kQoaYnilHeZU033et1Obfkxs7UuL8KD/0zA9XigwnodUfmHiiCexK/Ib aB8s/ayMntNbrgdq4vgoZuw7usjYhtWrBm6V2TzveSPoXEM1ujKO0wHIhlnlvGrPSiyrQS bMCWnaASEiv6MijvUuc0b25IVIh4MgrPaUtOXx/UCHwLi6fyOBCKQyC0EhiCfuc1PdcmL5 KfHopq0K90LghZvVm8f/XkzdWkFIwFSQKteH4mfLtpIRqbGtZHijv5g8b9QYQEgLVZH/lt 7yJiL35/GiJR07OUHV/3bAIsm0HLENHxcqgzbhD9NsBh1ImOAjfwxVh8h1XFsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.06 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 0BA831F533 X-Spam-Score: -1.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: iMRelSCcm6B/ This is not finished/correct yet, but maybe it will save someone else some debugging. [PATCH 1/3] emacs: forcibly set notmuch-show-mode after delegating - In particular this resets some variables to default values which breaks the indentation test. [PATCH 2/3] emacs: don't inline message/rfc822 parts without content - of the three patches, this seems like the most sane. The content isn't there, so either the function needs to be rewritten to handle re-parsing the blob, or just fail gracefully [PATCH 3/3] emacs: dynamically bind gnus-newsgroup-charset - this is very much papering over the symptoms