aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Dmitry Kurochkin <dmitry.kurochkin@gmail.com>2012-03-10 07:54:15 +0400
committerGravatar David Bremner <bremner@debian.org>2012-04-12 08:40:33 -0300
commit6409a27b2c835223806e4b14cc219c927856c256 (patch)
treeddf74969d0df53e45ce64b2de4fd3549a1941953 /test
parent075d7df01ea736bfc6071a002c356a6f3119079d (diff)
emacs: get rid of trailing spaces in notmuch-hello view
This patch removes trailing spaces in notmuch-hello view. A side effect of this change is that tag/query buttons no longer include a space at the end. This means that pressing RET when the point is at the first character after the tag/query button no longer works (note that this is the standard behavior for buttons). We may change this behavior in the future (without adding trailing spaces back) if people would find this change inconvenient.
Diffstat (limited to 'test')
-rwxr-xr-xtest/emacs2
-rw-r--r--test/emacs.expected-output/notmuch-hello2
-rw-r--r--test/emacs.expected-output/notmuch-hello-long-names6
-rw-r--r--test/emacs.expected-output/notmuch-hello-new-section2
-rw-r--r--test/emacs.expected-output/notmuch-hello-section-counts4
-rw-r--r--test/emacs.expected-output/notmuch-hello-section-hidden-tag2
-rw-r--r--test/emacs.expected-output/notmuch-hello-section-with-empty2
-rw-r--r--test/emacs.expected-output/notmuch-hello-with-empty2
8 files changed, 11 insertions, 11 deletions
diff --git a/test/emacs b/test/emacs
index c7510e91..38decd0a 100755
--- a/test/emacs
+++ b/test/emacs
@@ -39,7 +39,7 @@ test_begin_subtest "Navigation of notmuch-hello to search results"
test_emacs '(notmuch-hello)
(goto-char (point-min))
(re-search-forward "inbox")
- (widget-button-press (point))
+ (widget-button-press (1- (point)))
(notmuch-test-wait)
(test-output)'
test_expect_equal_file OUTPUT $EXPECTED/notmuch-hello-view-inbox
diff --git a/test/emacs.expected-output/notmuch-hello b/test/emacs.expected-output/notmuch-hello
index 14707906..2d698917 100644
--- a/test/emacs.expected-output/notmuch-hello
+++ b/test/emacs.expected-output/notmuch-hello
@@ -2,7 +2,7 @@
Saved searches: [edit]
- 52 inbox 52 unread
+ 52 inbox 52 unread
Search: .
diff --git a/test/emacs.expected-output/notmuch-hello-long-names b/test/emacs.expected-output/notmuch-hello-long-names
index be6d2c56..486d0d9a 100644
--- a/test/emacs.expected-output/notmuch-hello-long-names
+++ b/test/emacs.expected-output/notmuch-hello-long-names
@@ -2,14 +2,14 @@
Saved searches: [edit]
- 52 inbox 52 unread
+ 52 inbox 52 unread
Search: .
All tags: [hide]
- 52 a-very-long-tag 52 inbox 52 unread
- 4 attachment 7 signed
+ 52 a-very-long-tag 52 inbox 52 unread
+ 4 attachment 7 signed
Type a search query and hit RET to view matching threads.
Edit saved searches with the `edit' button.
diff --git a/test/emacs.expected-output/notmuch-hello-new-section b/test/emacs.expected-output/notmuch-hello-new-section
index 6a339aae..67fdef24 100644
--- a/test/emacs.expected-output/notmuch-hello-new-section
+++ b/test/emacs.expected-output/notmuch-hello-new-section
@@ -1,4 +1,4 @@
Test: [hide]
- 52 inbox
+ 52 inbox
diff --git a/test/emacs.expected-output/notmuch-hello-section-counts b/test/emacs.expected-output/notmuch-hello-section-counts
index 9d796590..7a9827cf 100644
--- a/test/emacs.expected-output/notmuch-hello-section-counts
+++ b/test/emacs.expected-output/notmuch-hello-section-counts
@@ -1,5 +1,5 @@
Test-with-counts: [hide]
- 2 attachment 7 signed
- 7 inbox 7 unread
+ 2 attachment 7 signed
+ 7 inbox 7 unread
diff --git a/test/emacs.expected-output/notmuch-hello-section-hidden-tag b/test/emacs.expected-output/notmuch-hello-section-hidden-tag
index 3688e7cd..809a1142 100644
--- a/test/emacs.expected-output/notmuch-hello-section-hidden-tag
+++ b/test/emacs.expected-output/notmuch-hello-section-hidden-tag
@@ -1,4 +1,4 @@
Test-with-filtered: [hide]
- 4 attachment 52 inbox 7 signed
+ 4 attachment 52 inbox 7 signed
diff --git a/test/emacs.expected-output/notmuch-hello-section-with-empty b/test/emacs.expected-output/notmuch-hello-section-with-empty
index dc2568de..5c673179 100644
--- a/test/emacs.expected-output/notmuch-hello-section-with-empty
+++ b/test/emacs.expected-output/notmuch-hello-section-with-empty
@@ -1,4 +1,4 @@
Test-with-empty: [hide]
- 52 inbox
+ 52 inbox
diff --git a/test/emacs.expected-output/notmuch-hello-with-empty b/test/emacs.expected-output/notmuch-hello-with-empty
index 5e532221..854e0c2a 100644
--- a/test/emacs.expected-output/notmuch-hello-with-empty
+++ b/test/emacs.expected-output/notmuch-hello-with-empty
@@ -2,7 +2,7 @@
Saved searches: [edit]
- 52 inbox 52 unread 0 empty
+ 52 inbox 52 unread 0 empty
Search: .