Path: utzoo!utgpu!water!watmath!clyde!cbosgd!osu-cis!tut!triceratops!karl From: karl@triceratops.cis.ohio-state.edu (Karl Kleinpaste) Newsgroups: comp.emacs Subject: Re: questions about gnuemacs Message-ID: <5474@tut.cis.ohio-state.edu> Date: 28 Jan 88 16:42:31 GMT References: <198@rtg.cme-durer.ARPA> Sender: news@tut.cis.ohio-state.edu Lines: 34 In-reply-to: warsaw@cme-durer.ARPA's message of 26 Jan 88 15:41:43 GMT warsaw@cme-durer.ARPA writes: 1) Is there an online method to find out what version of gnu I'm running? How can I get all the changes to give me the current new-and-improved? M-x emacs-version. You'll have to FTP a current distribution from prep.ai.mit.edu:/u/emacs, or UUCP a copy of it from osu-cis. For osu-cis, see periodic posting of instructions in comp.sources.d. 3) How do I get a file to set it's mode automatically when I visit it? For example, I have a file that is created using outline-mode and I always have to set the mode when I visit it during a new session. You can force a file to have a particular mode by including comments in the file describing its mode. This is documented in the GNU Emacs Manual, section 28.2.4 [Local Variables in Files]. You can get it in "info" mode by C-h i Call info mode. m Emacs Go to Emacs-related info. m Customization Select Customization-related topics. m Variables Variables for customization. m File Variables You're there. Also, postnews calls gnu as my default editor and I'd like it to set the mode of the temp file to Text Fill automatically. How can I do this? You can do things ~/.emacs with the auto-mode-alist which defines what file patterns get what modes. Look in loaddefs.el in the lisp directory for Emacs. -=- Karl