Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!VAX01.AMS.COM!DRB From: DRB@VAX01.AMS.COM (Drew Burton) Newsgroups: comp.emacs Subject: mode line; auto-mode-alist Message-ID: <607793379.0.DRB@VAX01.AMS.COM> Date: 5 Apr 89 15:29:39 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 23 I've got 2 questions that I think are fairly simple but are beyond me. I'm working with GNU 18.52 on VMS 4.7. 1) how do I add the default directory to the mode line? I've found the variable mode-line-format and changed it to include the directory. When I create a new buffer I get a new copy of the mode-line-format variable which is in the original format. 2) How do I come up in C mode for files with extensions other than .c? It looks like I need to add to auto-mode-alist, but I don't know how to do that. Thanks for your patience and help. Drew Burton drb@math.ams.com American Math Society Ann Arbor, MI -------