blob 36708d711f44bc1c5298cc1393b37e1e3b951feb 964 bytes (raw)
name: test/emacs-message-hiding.sh # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
| | #!/usr/bin/env bash
test_description="emacs Original Message hiding"
. test-lib.sh
test_begin_subtest "Hiding an Original Message region at point-min"
add_message \
'[id]="OriginalMessageHiding.1@notmuchmail.org"' \
'[from]="Sender <sender@example.com>"' \
'[to]=mailinglist@notmuchmail.org' \
'[subject]="hiding an Original Message"' \
'[date]="Tue, 05 Jan 2010 15:43:56 -0000"' \
'[body]="-----Original Message-----
Text here.
"'
cat > EXPECTED <<EOF
Sender <sender@example.com> (2010-01-05) (inbox)
Subject: hiding an Original Message
To: mailinglist@notmuchmail.org
Date: Tue, 05 Jan 2010 15:43:56 -0000
[ 2-line hidden original message. Click/Enter to show. ]
EOF
test_emacs '
(notmuch-test-run
(let ((notmuch-show-insert-text/plain-hook (quote notmuch-wash-excerpt-citations)))
(notmuch-show "id:\"OriginalMessageHiding.1@notmuchmail.org\"")
(visible-buffer-string)))
'
test_expect_equal_file EXPECTED OUTPUT
test_done
|
debug log:
solving 36708d7 ...
found 36708d7 in https://yhetil.org/notmuch/1327562380-12894-5-git-send-email-dme@dme.org/
found 70bc66d in https://yhetil.org/notmuch/1327562380-12894-4-git-send-email-dme@dme.org/
applying [1/2] https://yhetil.org/notmuch/1327562380-12894-4-git-send-email-dme@dme.org/
diff --git a/test/emacs-message-hiding.sh b/test/emacs-message-hiding.sh
new file mode 100755
index 0000000..70bc66d
applying [2/2] https://yhetil.org/notmuch/1327562380-12894-5-git-send-email-dme@dme.org/
diff --git a/test/emacs-message-hiding.sh b/test/emacs-message-hiding.sh
index 70bc66d..36708d7 100755
Checking patch test/emacs-message-hiding.sh...
Applied patch test/emacs-message-hiding.sh cleanly.
Checking patch test/emacs-message-hiding.sh...
Applied patch test/emacs-message-hiding.sh cleanly.
index at:
100755 36708d711f44bc1c5298cc1393b37e1e3b951feb test/emacs-message-hiding.sh
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
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).