notmuch/test/emacs.expected-output
Carl Worth 580de27177 emacs: Fix to unconditionally display subject changes in collapsed thread view
The feature to show subject changes in the collapsed thread view was
originally added (8ab433607) with an option
(notmuch-show-always-show-subject) to display the subject
for all messages, even when there was no change.

The subsequent commit (4f04d273) changed the sense of the test (or to
and) and the name of the controlling variable
(notmuch-show-elide-same-subject).

But this commit is broken in a few ways:

  1. The original definition of notmuch-show-always-show-subject was
     left around

     But the variable isn't actually used in the code at all, so it
     just adds clutter and confusion to the customization interface.

  2. The name and description of the controlling variable doesn't
     match the implementation

     The name suggests that setting the variable to t will cause
     repeated subjects to be elided, (suggesting that when it is nil
     all subjects will be shown).

     However, when the variable is nil, no subjects are shown. So a
     correct name for the variable in this sense would be
     notmuch-show-subject-changes.

Showing subject changes is a useful feature, and should be on by
default. (We don't want to bury generally useful features behind
customizations that users have to find).

Rather than fixing the name of the variable and changing its default
value, here we remove the condition entirely, such that the feature is
enabled unconditionally.

So both the currently-used variable and the stale definition of the
formerly-used are removed.

Also, the one relevant test-suite result is updated, (showing the
intial subject of a collapsed thread, and no subject display for later
messages that do not change the subject).
2011-07-01 02:00:25 -07:00
..
attachment test: Add test for saving an attachment from emacs 2010-11-06 11:25:56 -07:00
notmuch-hello test: Add tests for emacs notmuch-search and notmuch-show functions. 2010-10-22 16:58:35 -07:00
notmuch-hello-no-saved-searches test: Test emacs notmuch-hello with no saved searches to display. 2010-10-29 15:53:34 -07:00
notmuch-hello-view-inbox tag signed/encrypted during notmuch new 2011-05-27 16:22:00 -07:00
notmuch-hello-with-empty test: Test emacs notmuch-hello when displaying a saved search with 0 results. 2010-10-29 15:50:42 -07:00
notmuch-search-tag-inbox tag signed/encrypted during notmuch new 2011-05-27 16:22:00 -07:00
notmuch-show-thread-maildir-storage test: update emacs test to use test_expect_equal_file 2011-06-03 14:29:05 -07:00
notmuch-show-thread-with-hidden-messages emacs: Fix to unconditionally display subject changes in collapsed thread view 2011-07-01 02:00:25 -07:00
raw-message-cf0c4d-52ad0a test: Add test for viewing raw message within emacs. 2010-11-06 14:33:30 -07:00