@@ -2209,6 +2209,7 @@ def uid_expunge(uid_set)
22092209 # provided as an array or a string.
22102210 # See {"Argument translation"}[rdoc-ref:#search@Argument+translation]
22112211 # and {"Search criteria"}[rdoc-ref:#search@Search+criteria], below.
2212+ # <em>Please note</em> the warning for when +criteria+ is a String.
22122213 #
22132214 # +return+ options control what kind of information is returned about
22142215 # messages matching the search +criteria+. Specifying +return+ should force
@@ -2619,7 +2620,8 @@ def search(...)
26192620 # backward compatibility) but adds SearchResult#modseq when the +CONDSTORE+
26202621 # capability has been enabled.
26212622 #
2622- # See #search for documentation of parameters.
2623+ # See #search for documentation of parameters. <em>Please note</em> the
2624+ # warning for when +criteria+ is a String.
26232625 #
26242626 # ==== Capabilities
26252627 #
@@ -2705,7 +2707,8 @@ def fetch(...)
27052707 # {SequenceSet[...]}[rdoc-ref:SequenceSet@Creating+sequence+sets].
27062708 # (For message sequence numbers, use #fetch instead.)
27072709 #
2708- # +attr+ behaves the same as with #fetch.
2710+ # +attr+ behaves the same as with #fetch. <em>Please note</em> the #fetch
2711+ # warning on the +attr+ argument.
27092712 # >>>
27102713 # *Note:* Servers _MUST_ implicitly include the +UID+ message data item as
27112714 # part of any +FETCH+ response caused by a +UID+ command, regardless of
@@ -2917,8 +2920,10 @@ def uid_move(set, mailbox)
29172920
29182921 # Sends a {SORT command [RFC5256 §3]}[https://www.rfc-editor.org/rfc/rfc5256#section-3]
29192922 # to search a mailbox for messages that match +search_keys+ and return an
2920- # array of message sequence numbers, sorted by +sort_keys+. +search_keys+
2921- # are interpreted the same as for #search.
2923+ # array of message sequence numbers, sorted by +sort_keys+.
2924+ #
2925+ # +search_keys+ are interpreted the same as the +criteria+ argument for
2926+ # #search. <em>Please note</em> the #search warning for String +criteria+.
29222927 #
29232928 #--
29242929 # TODO: describe +sort_keys+
@@ -2943,8 +2948,10 @@ def sort(sort_keys, search_keys, charset)
29432948
29442949 # Sends a {UID SORT command [RFC5256 §3]}[https://www.rfc-editor.org/rfc/rfc5256#section-3]
29452950 # to search a mailbox for messages that match +search_keys+ and return an
2946- # array of unique identifiers, sorted by +sort_keys+. +search_keys+ are
2947- # interpreted the same as for #search.
2951+ # array of unique identifiers, sorted by +sort_keys+.
2952+ #
2953+ # +search_keys+ are interpreted the same as the +criteria+ argument for
2954+ # #search. <em>Please note</em> the #search warning for String +criteria+.
29482955 #
29492956 # Related: #sort, #search, #uid_search, #thread, #uid_thread
29502957 #
@@ -2958,8 +2965,10 @@ def uid_sort(sort_keys, search_keys, charset)
29582965
29592966 # Sends a {THREAD command [RFC5256 §3]}[https://www.rfc-editor.org/rfc/rfc5256#section-3]
29602967 # to search a mailbox and return message sequence numbers in threaded
2961- # format, as a ThreadMember tree. +search_keys+ are interpreted the same as
2962- # for #search.
2968+ # format, as a ThreadMember tree.
2969+ #
2970+ # +search_keys+ are interpreted the same as the +criteria+ argument for
2971+ # #search. <em>Please note</em> the #search warning for String +criteria+.
29632972 #
29642973 # The supported algorithms are:
29652974 #
@@ -2985,6 +2994,9 @@ def thread(algorithm, search_keys, charset)
29852994 # Similar to #thread, but returns unique identifiers instead of
29862995 # message sequence numbers.
29872996 #
2997+ # +search_keys+ are interpreted the same as the +criteria+ argument for
2998+ # #search. <em>Please note</em> the #search warning for String +criteria+.
2999+ #
29883000 # Related: #thread, #search, #uid_search, #sort, #uid_sort
29893001 #
29903002 # ==== Capabilities
0 commit comments