From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sHnSK6ox8mV9fAEAqHPOHw:P1 (envelope-from ) for ; Thu, 14 Mar 2024 00:07:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sHnSK6ox8mV9fAEAqHPOHw (envelope-from ) for ; Thu, 14 Mar 2024 00:07:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=cworth.org header.s=mail header.b=Xn0eRmwU; dkim=fail ("body hash did not verify") header.d=cworth.org header.s=mail header.b=mt4OYXBi; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710371242; h=from:from:sender:sender: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:dkim-signature; bh=lIMFcp4f9QH+6LnTef8BImNv9k0AM/31vsruR5sKzWs=; b=u9wMb7Qm66ePtygt30bHok1qCs4g6uLM265kb/9JwbyiOxe0KRTcE6BRH2vXgAG0qv3YsP 7j41AsTdOq+gHIXM7quZCX4BVnGv/YVYLPS4zUYDnwZDGLDdcult7fuO+0mm5FCVRqE88+ Q1OBLcz7quDs1ueDh0G0WGgwhXU4FOUujyPbGasNJyyxV5XSonzvfakLoQmAOH29vK/F3f bZQWGnpAxhkrOoVq9mUCYeZEzOBuCjCeVaWuOvz0NTNREH+oltpwxRbMnOcgP+v6mucwYQ B4OQ/AXa7IJqsOz6KDuWbhItFs1yaxJJg1EvVnbWpVeKAJMsvGGxqzZjsAp2lA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710371242; a=rsa-sha256; cv=none; b=LFAtl7bRrL4vzU67+x9qd87euJsvTDU9hT6cWlLm4tTbtdRQ78vOKb5V6kd0UglWFg54Lg /tuL95fwWJ8nM8+G3ycU+fbH08zeCCJZQ8LBCYNfO/d9Zq/QHnl88eOKt+paKafBxFKS03 XEIYoojMDn9Q8Vy4fKU7+67U+4EtANNe1z73ACEnYJ2VoLpUbEC8Y4Q3xyGs/AyLSbUpno nOt4cDFO2lx8z64J0jYt+8eIjjhkkmvSc0w7NvPLJAN4HXMxueJ5518zpFOPZ7kgIPeM6S vOad+Lm5H+9+gcRZp1slYV+740rLwzTVszYPliPr8X3Q1ZxOWQDEub751Ovevg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=cworth.org header.s=mail header.b=Xn0eRmwU; dkim=fail ("body hash did not verify") header.d=cworth.org header.s=mail header.b=mt4OYXBi; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=none Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (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 5E66E6EE53 for ; Thu, 14 Mar 2024 00:07:20 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id AA6265F7C1; Wed, 13 Mar 2024 23:07:10 +0000 (UTC) X-Greylist: delayed 399 seconds by postgrey-1.36 at yantan; Wed, 13 Mar 2024 23:07:07 UTC Received: from arlo.cworth.org (arlo.cworth.org [50.126.95.6]) by mail.notmuchmail.org (Postfix) with ESMTPS id C9B735F3B3 for ; Wed, 13 Mar 2024 23:07:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cworth.org; s=mail; t=1710370827; bh=x/fnapE7CBczQO8KvYGahrPf+MuKwI1GS0T7hx84eIc=; h=To:Subject:In-Reply-To:References:From:Date:From; b=Xn0eRmwUzdzOkThSXwacl10xv53h8osyr5TcRN3gW4dTMQMpp4DjHICMctQBXMhyD +X82NwdZ3eH0sK3SeJm8m+Dqrnr79YA2nKSU0QyJ4XZQpfJWDGqJglSUBh/VRtEAox 8ttFzF7OqEhZ/vYzyDVGOpXe4OA7sHyJGw2wsI6KAnKQR/Qw8ryvD14QGgzQ0L4m2M wGy1f9gPbByA9LzsCQH2K6S+5vPYO2ICOsOl+1l1Z1cWXAB9FD3RRhZIhCyvLWKKWy UWuq6L3BiSssETHx8mitcJ41Zj0Ri1kpOMB9JLckBbzTNj4+djl+ZnOZh7pK9hUta1 PrtBIhGfDi//g== Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 00A726DE0937; Wed, 13 Mar 2024 16:00:27 -0700 (PDT) X-Virus-Scanned: Debian amavis at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavis, port 10024) with ESMTP id EOkDpwIDEnI2; Wed, 13 Mar 2024 16:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cworth.org; s=mail; t=1710370826; bh=x/fnapE7CBczQO8KvYGahrPf+MuKwI1GS0T7hx84eIc=; h=To:Subject:In-Reply-To:References:From:Date:From; b=mt4OYXBiUk7VDVCtztTwvhWPWxRqIYIHfqYHBz822coQK/7X0j+llKIGe+vXJrYXT 8i6SdjV6c9MeXfl9DoewNRN4d6I1OEjeHm9h4/Nk+advfvkGAaFrx7ygS+HGBOy/mz 1CgRD+VVUIST75p6L9sCCoSgrffZMdFRtHJFisEBov79JMl/ncFXuo1FvQHppTWzsd fjdwyW+gIkmk4Q+Mjx0jYCjzurlrCr3F1zQhRw/T2l7DhBH39vf01k5TLJ3meF+T7+ 1BQr/vYMb2LaVrxN40cH0kAxyzKoFE36MdJ6zfJqmrFfUQMTO93fl86bObW0z1zpb4 5RvtGNBtpeSEg== Received: from wondoo.home.cworth.org (unknown [10.0.0.208]) (Authenticated sender: cworth) by arlo.cworth.org (Postfix) with ESMTPSA id 389166DE0176; Wed, 13 Mar 2024 16:00:26 -0700 (PDT) Received: from wondoo (localhost [IPv6:::1]) by wondoo.home.cworth.org (Postfix) with ESMTPS id 104CB1FE0072; Wed, 13 Mar 2024 16:00:26 -0700 (PDT) To: Marc Fargas , notmuch@notmuchmail.org Subject: Re: notmuch.el, needs without-restriction to properly save draft In-Reply-To: <87wmq6rt2f.fsf@marcfargas.com> References: <87wmq6rt2f.fsf@marcfargas.com> Sender: cworth@cworth.org From: Carl Worth Date: Wed, 13 Mar 2024 16:00:25 -0700 Message-ID: <87frwtg2k6.fsf@wondoo.home.cworth.org> MIME-Version: 1.0 Message-ID-Hash: OOIIXHCUIBYNMG43J7UFWOIVX4F2FNRV X-Message-ID-Hash: OOIIXHCUIBYNMG43J7UFWOIVX4F2FNRV X-MailFrom: cworth@cworth.org 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-Flow: FLOW_IN X-Migadu-Country: DE X-Migadu-Spam-Score: -2.09 X-Spam-Score: -2.09 X-Migadu-Queue-Id: 5E66E6EE53 X-Migadu-Scanner: mx11.migadu.com X-TUID: fsnv82Oo1B59 On Wed, Mar 13 2024, Marc Fargas wrote: > Hi there, Hi, Marc! > I'm not sure if this is the appropiate mailing list for bugs regarding > notmuch.el (Notmuch in Emacs). Also, I'm not subscribed so please keep > me in CC! Yes, this is a fine place to report things > I recently noticed that when saving drafts in notmuch I would loose all > the headers that are not normally visible on the compose > buffer. References, In-Reply-To and the likes. Thanks for the bug report, as well as the fix you provided. I haven't run it, but it looks totally reasonable. > Note that when resuming the draft later on all headers will be visible, > still working out how to restore the narrow restriction there. That seems worth chasing down, but shouldn't prevent the acceptance of your fix here which seems like only progress in the right direction. Could you put your fix together in the form of a git-appliable patch? Such as by applying it to the notmuch source, running `git commit` and then `git format-patch HEAD~` or similar. Thanks again, -Carl