Aftermath of shooting marks rare moment of mutual understanding between president and mainstream media