Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!EXPO.LCS.MIT.EDU!gildea From: gildea@EXPO.LCS.MIT.EDU (Stephen Gildea) Newsgroups: comp.mail.mh Subject: Re: Default editor switches in .mh_profile Message-ID: <9103131512.AA18378@alex.lcs.mit.edu> Date: 13 Mar 91 15:12:57 GMT References: <9103111635.AA03682%caligula@ansa.co.uk> Sender: daemon@ucbvax.BERKELEY.EDU Organization: X Consortium, MIT Laboratory for Computer Science Lines: 24 Does anyone know of a way to provide startup arguments to the Editor: specified in your .mh_profile? For instance,I use the following: Editor: emacs and would like it to start up in text mode automatically. If I put Editor: emacs -f text-mode As an alternative approach, you could have Emacs use Text mode when it sees a file that probably came from MH. Something like this might do it for you: (setq auto-mode-alist (append '(("/[0-9]+$" . text-mode)) auto-mode-alist)) This uses Text mode for files with names composed entirely of digits. I use this test, but you can change the template to suit you. < Stephen MIT X Consortium