Hi here, When I double-click on a TeX document to open it, Emacs will show the scratch window instead of the TeX document window, as shown in the attachment. Any tips will be appreciated. Regards, Zhao -- Assoc. Prof. Hongsheng Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province