From: michaeljgruber+grubix+git@gmail.com
To: notmuch@notmuchmail.org
Cc: Michael J Gruber <git@grubix.eu>
Subject: [PATCH v2 2/2] Replace `delete-line` with its definition
Date: Mon, 17 Jun 2024 21:28:25 +0200 [thread overview]
Message-ID: <3cef0cc4ff17b6aab06007fcdcffbc61409f4c4b.1718652366.git.git@grubix.eu> (raw)
In-Reply-To: <b33900237b28f5a8b943ca9048536d2cde19151b.1718631755.git.git@grubix.eu>
From: Michael J Gruber <git@grubix.eu>
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
next prev parent reply other threads:[~2024-06-17 19:28 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-13 16:32 notmuch.el, needs without-restriction to properly save draft Marc Fargas
2024-03-13 23:00 ` Carl Worth
2024-03-14 15:03 ` [PATCH] Use `without-restriction` in `with-temporary-notmuch-message-buffer` Marc Fargas
2024-03-15 8:33 ` Marc Fargas
2024-03-15 9:59 ` David Bremner
2024-03-24 17:04 ` notmuch.el, needs without-restriction to properly save draft Marc Fargas
2024-03-24 17:54 ` Marc Fargas
2024-04-04 11:13 ` Marc Fargas
2024-06-15 17:57 ` David Bremner
2024-06-17 9:27 ` Michael J Gruber
2024-06-17 9:53 ` Marc Fargas
2024-06-17 10:27 ` David Bremner
2024-06-17 10:29 ` David Bremner
2024-06-17 11:37 ` Marc Fargas
2024-06-17 14:04 ` [PATCH] Replace `without-restriction` with `save-restriction` michaeljgruber+grubix+git
2024-06-17 19:28 ` [PATCH v2 1/2] " michaeljgruber+grubix+git
2024-06-17 19:28 ` michaeljgruber+grubix+git [this message]
2024-06-17 22:49 ` [PATCH v2 2/2] Replace `delete-line` with its definition David Bremner
2024-06-18 5:58 ` Marc Fargas
2024-06-18 14:33 ` Michael J Gruber
2024-06-19 10:48 ` David Bremner
2024-06-17 14:28 ` notmuch.el, needs without-restriction to properly save draft David Bremner
2024-03-24 17:08 ` Marc Fargas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3cef0cc4ff17b6aab06007fcdcffbc61409f4c4b.1718652366.git.git@grubix.eu \
--to=michaeljgruber+grubix+git@gmail.com \
--cc=git@grubix.eu \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).