aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-05 11:25:02 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-05 11:25:02 -0800
commit51a68d4e0155b595f1effc7cb24f1fe55c96bed8 (patch)
treed4df8bbe94e1a8ab8535b7d0e9c356af78405d5e
parentab68891bec06e793b517b108414df46a47284aad (diff)
notmuch.el: Make hidden parts advertise how to unhide them.
This is in place now citations and signatures. We'll still need to add something else for hidden messages (those that are already read and hidden away).
-rw-r--r--notmuch.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch.el b/notmuch.el
index 0eac1ccb..de1eb9f1 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -408,7 +408,7 @@ which this thread was originally shown."
(overlay-put overlay 'invisible 'notmuch-show-citation)
(overlay-put overlay 'before-string
(concat "[" (number-to-string (count-lines beg-sub (point)))
- " quoted lines.]\n")))))
+ "-line citation. Press 'c' to show.]\n")))))
(if (looking-at "--[ ]?$")
(let ((sig-lines (count-lines beg-sub end)))
(if (<= sig-lines notmuch-show-signature-lines-max)
@@ -416,7 +416,7 @@ which this thread was originally shown."
(overlay-put (make-overlay beg-sub (+ beg-sub 1))
'before-string
(concat "[" (number-to-string sig-lines)
- "-line signature.]"))
+ "-line signature. Press 's' to show.]"))
(overlay-put (make-overlay (+ beg-sub 2) end)
'invisible 'notmuch-show-signature)
(goto-char end)))))