fn add( s: &Session, line: &str, list: Option<&str>, parent: Option<&str>, after: &[String], no_sync: bool, ) -> Result<(), String>