Does anyone know how to start emacs in a given mode? Actually I use matlab-shell in emacs. Everytime I have to start emacs first, and then I can enter matlab-shell mode. Is there a way to make emacs enter matlab-shell mode automatically when type some command in the terminal? Thank you. Keming