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