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 ms13.migadu.com with LMTPS id GMuqEmaOcGY6uAAAqHPOHw:P1 (envelope-from ) for ; Mon, 17 Jun 2024 19:28:38 +0000 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 GMuqEmaOcGY6uAAAqHPOHw (envelope-from ) for ; Mon, 17 Jun 2024 21:28:38 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=MO63dQqp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718652518; 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: 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=4N7FEbm3VwImjPUXQ9sIUnY/mEvsGoHyrG5hxMrhi6g=; b=q3TIJbpPamOBlsFeB5sairmUz5nphRq3aQSQ0sUwLUOq5cpjlAMZBUxVqUI0sw/wkxIysa RnA/FZTfSYcn0yycWS7B/obXMpuXQPuAby9F3zOPqqqjc0QZaPc3YsuhijiZlDLeNGEfWw QoSB8bhQPjXF8zbPJVBID9+BoMqYg1JQ1Nc3XV7CaizdPw8V3Jk2vYWdEne/Kr25a4jcjX 2OOZCP2yjGyBCyBXaEzBP3JFftXvCY7HTTKTl+bX1Z/vfSF6OgirxIFsAfAqidnLHVAAKR 1GvQ5G3AsSxN/csBHMSZkBg1cWR2lgMOmPUcHsxBhbcSc3Jp3Sst/t1f1YDKqQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718652518; a=rsa-sha256; cv=none; b=nMysaAY+f4MkkSW8ODfnOkLK+RNXh1qxtxdHaqH1uokRo8vtWO7ryDAQkCRlLTEdjKLqs1 UkRVg2P112v07hQ5g3XDcOPjpwU5Dvf7AgQaPR5bCB7uXtnI5KDwbIBUHy55ebaJLY4yNZ JuBp9dc98uLx/HPbfgBk3eKt2waQep7t+NEzOmE/Y19TyiJf/aba+lIa7auJ0GUFzYcSQn gLwC3QY3qITIMA2AJuk+2HMrANqCAd7FCLF3muqbIkmEwpvJDYUL1SimcIHiyHUvkl6zCV iHv5wmhaGoxmmmsj2kqR9poUivVouRimzzUieqOBjIot2bDIcmL2WTgbQ0D1CA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=MO63dQqp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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 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 D63467B615 for ; Mon, 17 Jun 2024 21:28:37 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 38A195F6B6; Mon, 17 Jun 2024 19:28:33 +0000 (UTC) Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by mail.notmuchmail.org (Postfix) with ESMTPS id 0A1B25E520 for ; Mon, 17 Jun 2024 19:28:30 +0000 (UTC) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-52cc10b5978so824942e87.2 for ; Mon, 17 Jun 2024 12:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718652509; x=1719257309; darn=notmuchmail.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=n496drhsma8OSsHAKgXG7QCYOYmVQmOsuYxzXx48AFw=; b=MO63dQqpZorD2BAsb/5+gAs8iVNQZHOC2Rhfq0rwXJISY3uDntYH0Xe/Kx8LZKuquJ cdYq1oGF/lHc5gFVNz1nWuu8mx194fgE6SD4tZdMMzhA6VE38pXP42AUMlM8Nw/ZtVw8 lfJA3wyZMZyej3p1PcOajNvLqfVPm7SRoHLPg0fl/1gOMLq5TjvUbi3uSAsceH2CoQ64 ksHXBgKES9Pbzu+AEdudaCuxt2sn/KdMFCRWONpHevLiZbeGXKJqD8XbYZWdF+esXmsc U74uaxzLztPqMgZD63MZC7CCUaaCIwJTbVzDKaOMgkKxWs1AmRTcI2h79zpVvSwFVEW0 e//w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718652509; x=1719257309; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=n496drhsma8OSsHAKgXG7QCYOYmVQmOsuYxzXx48AFw=; b=pWi40QmL2K1mz0Zuw7WW6j/qV50r2USGAuSgsiFslzcKNOjvcmYvPhF5DoV1IXVnKi 0kMfdyI74UkbXXMUm8J4VmGosyrCwTjf1N7GLeUNfA4JOfetPcziA4+PUffQMrLZfvxU 6CAmvSBOgWizGqhnKHyEXwKgLd5gMM5Wcg/60LJFVmCs7UDbjEE4wh3sOnXjdwrbUK+A R761mjWW/F2CHDTA7172L2hLB8Emor+JzjwxoB/QPg6vBzOdvnHrxkMIBehqRqrA0VB9 q6D8CTPGxCQwp+mA8HkjRciu/VR2ra2IlyM+oLv8bQShRf45bVGgSEt7grlCaZDfEuL4 GAwA== X-Gm-Message-State: AOJu0YxHP9LFBOFh+8PyehvraCxzcGLjN35294kPGy+mcHDCW/r9Sqjc y5s9AzS6Yjd/b4CrSgqmk45zXzihyLmG38wT9+oi6K6ybcvOW3bX6C+8aQ== X-Google-Smtp-Source: AGHT+IHgfXLMU+H7PKQ3YTpM3gZDiCIHPDRn8lqV3QGMav5EgjvedpI1v07YcvedKEVV7bLV4n1icg== X-Received: by 2002:ac2:46ed:0:b0:52c:83c2:9670 with SMTP id 2adb3069b0e04-52ca6e9dcb7mr6465817e87.69.1718652508681; Mon, 17 Jun 2024 12:28:28 -0700 (PDT) Received: from localhost ([2001:9e8:6a66:a700:7710:a5e5:efa6:6375]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56ed3585sm542024966b.117.2024.06.17.12.28.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 12:28:28 -0700 (PDT) Sender: Michael J Gruber From: michaeljgruber+grubix+git@gmail.com To: notmuch@notmuchmail.org Subject: [PATCH v2 2/2] Replace `delete-line` with its definition Date: Mon, 17 Jun 2024 21:28:25 +0200 Message-ID: <3cef0cc4ff17b6aab06007fcdcffbc61409f4c4b.1718652366.git.git@grubix.eu> X-Mailer: git-send-email 2.45.2.749.g54362de8d7 In-Reply-To: References: MIME-Version: 1.0 Message-ID-Hash: BHGQIBT7HUSQTJWYAG4GJAT2NEYSZ3HS X-Message-ID-Hash: BHGQIBT7HUSQTJWYAG4GJAT2NEYSZ3HS X-MailFrom: michaeljgruber+grubix+git@gmail.com 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 CC: Michael J Gruber 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: 0.71 X-Spam-Score: 0.71 X-Migadu-Queue-Id: D63467B615 X-Migadu-Scanner: mx11.migadu.com X-TUID: 45UIVPndMi/w From: Michael J Gruber 37c022ae ("Use `without-restriction` in `with-temporary-notmuch-message-buffer`", 2024-03-14) introduced `delete-line` in a test, but this is Emacs 29 and above only. Replace it with its (almost) definition. --- With this one, all my reported chroots build again. test/T630-emacs-draft.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/T630-emacs-draft.sh b/test/T630-emacs-draft.sh index 1fad58a8..7d0da21a 100755 --- a/test/T630-emacs-draft.sh +++ b/test/T630-emacs-draft.sh @@ -76,7 +76,7 @@ add_email_corpus attachment test_begin_subtest "Saving a draft keeps hidden headers" test_emacs '(notmuch-mua-new-reply "id:874llc2bkp.fsf@curie.anarc.at") (message-goto-subject) - (delete-line) + (delete-region (line-beginning-position) (line-beginning-position 2)) (insert "Subject: draft-test-reply\n") (test-output "DRAFT") (notmuch-draft-postpone) -- 2.45.2.749.g54362de8d7