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