But some court documents will be made public, including emails. The ailing media mogul has been involved in a court battle over his mental competence.