@@ -1456,8 +1456,13 @@ def uid_move(set, mailbox)
1456
1456
end
1457
1457
1458
1458
# Sends a {SORT command [RFC5256 §3]}[https://www.rfc-editor.org/rfc/rfc5256#section-3]
1459
- # to sort messages in the mailbox. Returns an array of message sequence
1460
- # numbers.
1459
+ # to search a mailbox for messages that match +search_keys+ and return an
1460
+ # array of message sequence numbers, sorted by +sort_keys+. +search_keys+
1461
+ # are interpreted the same as for #search.
1462
+ #
1463
+ #--
1464
+ # TODO: describe +sort_keys+
1465
+ #++
1461
1466
#
1462
1467
# Related: #uid_sort, #search, #uid_search, #thread, #uid_thread
1463
1468
#
@@ -1477,7 +1482,9 @@ def sort(sort_keys, search_keys, charset)
1477
1482
end
1478
1483
1479
1484
# Sends a {UID SORT command [RFC5256 §3]}[https://www.rfc-editor.org/rfc/rfc5256#section-3]
1480
- # to sort messages in the mailbox. Returns an array of unique identifiers.
1485
+ # to search a mailbox for messages that match +search_keys+ and return an
1486
+ # array of unique identifiers, sorted by +sort_keys+. +search_keys+ are
1487
+ # interpreted the same as for #search.
1481
1488
#
1482
1489
# Related: #sort, #search, #uid_search, #thread, #uid_thread
1483
1490
#
@@ -1512,8 +1519,11 @@ def remove_response_handler(handler)
1512
1519
end
1513
1520
1514
1521
# Sends a {THREAD command [RFC5256 §3]}[https://www.rfc-editor.org/rfc/rfc5256#section-3]
1515
- # Similar to #search, but returns message sequence numbers in threaded
1516
- # format, as a ThreadMember tree. The supported algorithms are:
1522
+ # to search a mailbox and return message sequence numbers in threaded
1523
+ # format, as a ThreadMember tree. +search_keys+ are interpreted the same as
1524
+ # for #search.
1525
+ #
1526
+ # The supported algorithms are:
1517
1527
#
1518
1528
# ORDEREDSUBJECT:: split into single-level threads according to subject,
1519
1529
# ordered by date.
0 commit comments