Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!ll-xn!mit-eddie!HPLABS.HP.COM!mayer%hplnpm From: mayer%hplnpm@HPLABS.HP.COM (Niels P. Mayer) Newsgroups: comp.emacs Subject: question about setting up your own mode in gnuemacs Message-ID: <8708190159.AA00600@hplnpm> Date: Tue, 18-Aug-87 21:59:33 EDT Article-I.D.: hplnpm.8708190159.AA00600 Posted: Tue Aug 18 21:59:33 1987 Date-Received: Fri, 21-Aug-87 01:02:59 EDT Sender: daemon@eddie.MIT.EDU Lines: 20 I have set up a mode function that is autofuncalled from the auto-mode-alist. I want this mode to automagically move the point to specific section of text upon visiting the file. The problem seems to be that find-file-noselect (called by find-file) runs the mode initializations in after-find-file in a save-excursion. So, is there a way to modify the position of the point in a buffer using a mode function that is funcalled after a lookup in the auto-mode-alist? It seems that the save-excursion in after-find-file would prevent such usage. But then again, I may be attacking the problem from the wrong angle. Any suggestions? ------------------------------------------------------------------------------- Niels Mayer -- hplabs!mayer -- mayer@hplabs.hp.com Hewlett-Packard Laboratories Palo Alto, CA. *