refine dotemacs, extract localrc