| 137 | |
| 138 | == Sort Defaults == |
| 139 | |
| 140 | {{{ |
| 141 | Type mailnews.default in the Filter bar to bring up a small list of preferences to configure. It will display similar to below: |
| 142 | |
| 143 | Preference Name Status Type Value |
| 144 | mailnews.default_news_sort_order: default integer x |
| 145 | mailnews.default_news_sort_type: default integer y |
| 146 | mailnews.default_sort_order: default integer x |
| 147 | mailnews.default_sort_type: default integer y |
| 148 | |
| 149 | In the above, replace the x and y of the value by double-clicking the name of the preference and replacing it with one of the following values as required: |
| 150 | x (see https://developer.mozilla.org/en/nsMsgViewSortOrder) |
| 151 | |
| 152 | 1 = Ascending |
| 153 | 2 = Descending |
| 154 | |
| 155 | y (see https://developer.mozilla.org/en/nsMsgViewSortType) |
| 156 | |
| 157 | 17 = None |
| 158 | 18 = Date |
| 159 | 19 = Subject |
| 160 | 20 = Author |
| 161 | 21 = ID (Order Received) |
| 162 | 22 = Thread |
| 163 | 23 = Priority |
| 164 | 24 = Status |
| 165 | 25 = Size |
| 166 | 26 = Flagged |
| 167 | 27 = Unread |
| 168 | 28 = Recipient |
| 169 | 29 = Location |
| 170 | 30 = Label |
| 171 | 31 = Junk Status |
| 172 | 32 = Attachments |
| 173 | 33 = Account |
| 174 | 34 = Custom |
| 175 | 35 = Received |
| 176 | |
| 177 | So if you wanted to sort all mail by Thread, Descending (newest at top), the preferences in the config editor will look like this: |
| 178 | |
| 179 | mailnews.default_sort_order: default integer 2 |
| 180 | mailnews.default_sort_type: default integer 22 |
| 181 | |
| 182 | There are also default_(news_)view_flags settings (for mail and news), which allow to turn on the "Threaded" flag: |
| 183 | |
| 184 | view_flags -- the second group of values can be added to one of the first group to combine effects, with several limitations: |
| 185 | Unthreaded 0 |
| 186 | Threaded 1 |
| 187 | Grouped 64 [mail only (?)] |
| 188 | |
| 189 | ShowIgnored 8 [news only] |
| 190 | ShowUnreadOnly 16 |
| 191 | ShowExpanded 32 [doesn't seem to work] |
| 192 | ShowUnreadOnly will check the View|Threads|Unread menu; this will cause only |
| 193 | unread items to be seen, but doesn't force a threaded view. |
| 194 | |
| 195 | }}} |