(defun notmuch-show-insert-part-multipart/signed (msg part content-type nth depth button)
(when button
(button-put button 'face 'notmuch-crypto-part-header))
- ;; Add signature status button if sigstatus provided.
- (if (plist-member part :sigstatus)
- (let* ((from (notmuch-show-get-header :From msg))
- (sigstatus (car (plist-get part :sigstatus))))
- (notmuch-crypto-insert-sigstatus-button sigstatus from))
- ;; If we're not adding the signature status, tell the user how
- ;; they can get it.
- (when button
- (button-put button 'help-echo "Set notmuch-crypto-process-mime to process cryptographic MIME parts.")))
+
+ ;; Insert a button detailing the signature status.
+ (notmuch-crypto-insert-sigstatus-button (car (plist-get part :sigstatus))
+ (notmuch-show-get-header :From msg))
(let ((inner-parts (plist-get part :content))
(start (point)))
(defun notmuch-show-insert-part-multipart/encrypted (msg part content-type nth depth button)
(when button
(button-put button 'face 'notmuch-crypto-part-header))
- ;; Add encryption status button if encryption status is specified.
- (if (plist-member part :encstatus)
- (let ((encstatus (car (plist-get part :encstatus))))
- (notmuch-crypto-insert-encstatus-button encstatus)
- ;; Add signature status button if signature status is
- ;; specified.
- (if (plist-member part :sigstatus)
- (let* ((from (notmuch-show-get-header :From msg))
- (sigstatus (car (plist-get part :sigstatus))))
- (notmuch-crypto-insert-sigstatus-button sigstatus from))))
- ;; If we're not adding the encryption status, tell the user how
- ;; they can get it.
- (when button
- (button-put button 'help-echo "Set notmuch-crypto-process-mime to process cryptographic MIME parts.")))
+
+ ;; Insert a button detailing the encryption status.
+ (notmuch-crypto-insert-encstatus-button (car (plist-get part :encstatus)))
+
+ ;; Insert a button detailing the signature status.
+ (notmuch-crypto-insert-sigstatus-button (car (plist-get part :sigstatus))
+ (notmuch-show-get-header :From msg))
(let ((inner-parts (plist-get part :content))
(start (point)))
--text follows this line--
Adrian Perez de Castro <aperez@igalia.com> writes:
+> [ Unknown signature status ]
+>
> Hello to all,
>
> I have just heard about Not Much today in some random Linux-related news
[ multipart/mixed ]
[ multipart/signed ]
+[ Unknown signature status ]
[ text/plain ]
I saw the LWN article and decided to take a look at notmuch. I'm
currently using mutt and mairix to index and read a collection of
[ multipart/mixed ]
[ multipart/signed ]
+ [ Unknown signature status ]
[ text/plain ]
> See the patch just posted here.
[ multipart/mixed ]
[ multipart/signed ]
+ [ Unknown signature status ]
[ text/plain ]
> I've also pushed a slightly more complicated (and complete) fix to my
> private notmuch repository
[ multipart/mixed ]
[ multipart/signed ]
+[ Unknown signature status ]
[ text/plain ]
I saw the LWN article and decided to take a look at notmuch. I'm
currently using mutt and mairix to index and read a collection of
[ multipart/mixed ]
[ multipart/signed ]
+ [ Unknown signature status ]
[ text/plain ]
> See the patch just posted here.
[ multipart/mixed ]
[ multipart/signed ]
+ [ Unknown signature status ]
[ text/plain ]
> I've also pushed a slightly more complicated (and complete) fix to my
> private notmuch repository
[ multipart/mixed ]
[ multipart/signed ]
+[ Unknown signature status ]
[ text/plain ]
I saw the LWN article and decided to take a look at notmuch. I'm
currently using mutt and mairix to index and read a collection of
[ multipart/mixed ]
[ multipart/signed ]
+[ Unknown signature status ]
[ text/plain ]
> See the patch just posted here.
[ multipart/mixed ]
[ multipart/signed ]
+[ Unknown signature status ]
[ text/plain ]
> I've also pushed a slightly more complicated (and complete) fix to my
> private notmuch repository
[ multipart/mixed ]
[ multipart/signed ]
+ [ Unknown signature status ]
[ text/plain ]
> See the patch just posted here.
[ multipart/mixed ]
[ multipart/signed ]
+[ Unknown signature status ]
[ text/plain ]
I saw the LWN article and decided to take a look at notmuch. I'm
currently using mutt and mairix to index and read a collection of
[ multipart/mixed ]
[ multipart/signed ]
+ [ Unknown signature status ]
[ text/plain ]
Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did
[ multipart/mixed ]
[ multipart/signed ]
+ [ Unknown signature status ]
[ text/plain ]
> See the patch just posted here.
[ multipart/mixed ]
[ multipart/signed ]
+ [ Unknown signature status ]
[ text/plain ]
> I've also pushed a slightly more complicated (and complete) fix to my
> private notmuch repository
[ multipart/mixed ]
[ multipart/signed ]
+[ Unknown signature status ]
[ text/plain ]
I saw the LWN article and decided to take a look at notmuch. I'm
currently using mutt and mairix to index and read a collection of
[ multipart/mixed ]
[ multipart/signed ]
+ [ Unknown signature status ]
[ text/plain ]
Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did
[ multipart/mixed ]
[ multipart/signed ]
+ [ Unknown signature status ]
[ text/plain ]
> See the patch just posted here.
[ multipart/mixed ]
[ multipart/signed ]
+ [ Unknown signature status ]
[ text/plain ]
> I've also pushed a slightly more complicated (and complete) fix to my
> private notmuch repository
[ multipart/mixed ]
[ multipart/signed ]
+[ Unknown signature status ]
[ text/plain ]
I saw the LWN article and decided to take a look at notmuch. I'm
currently using mutt and mairix to index and read a collection of
[ multipart/mixed ]
[ multipart/signed ]
+[ Unknown signature status ]
[ text/plain ]
Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did
[ multipart/mixed ]
[ multipart/signed ]
+[ Unknown signature status ]
[ text/plain ]
> See the patch just posted here.
[ multipart/mixed ]
[ multipart/signed ]
+[ Unknown signature status ]
[ text/plain ]
> I've also pushed a slightly more complicated (and complete) fix to my
> private notmuch repository
[ multipart/mixed ]
[ multipart/signed ]
+[ Unknown signature status ]
[ text/plain ]
I saw the LWN article and decided to take a look at notmuch. I'm
currently using mutt and mairix to index and read a collection of