Class representing a particular folder.
There are no base classes.
There are no implemented interfaces.
There are no attributes in this class.
copymessage(n, tofolder, ton)
Copy one message over a specific destination message, which may or may not already exist.
createmessage(n, txt)
Create a message, with text from the open file txt.
error(*args)
Error message handler.
getcurrent()
Return the current message. Raise Error when there is none.
getfullname()
Return the full pathname of the folder.
getlast()
Return the last message number.
getmessagefilename(n)
Return the full pathname of a message in the folder.
getsequences()
Return the set of sequences for the folder.
getsequencesfilename()
Return the full pathname of the folder's sequences file.
listallsubfolders()
Return list of all subfolders.
listmessages()
Return the list of messages currently present in the folder. As a side effect, set self.last to the last message (or 0).
listsubfolders()
Return list of direct subfolders.
movemessage(n, tofolder, ton)
Move one message over a specific destination message, which may or may not already exist.
openmessage(n)
parsesequence(seq)
Parse an MH sequence specification into a message list. Attempt to mimic mh-sequence(5) as close as possible. Also attempt to mimic observed behavior regarding which conditions cause which error messages.
putsequences(sequences)
Write the set of sequences back to the folder.
refilemessages(list, tofolder, keepsequences=0)
tofolder
is an open folder object.removefromallsequences(list)
cur
!!!removemessages(list)
setcurrent(n)
Set the current message.
setlast(last)
Set the last message number.
There are no known subclasses.