mayer%hplnpm@HPLABS.HP.COM (Niels P. Mayer) (08/19/87)
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<f> (called by find-file<f>) runs the mode initializations in after-find-file<f> in a save-excursion<f>. 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. *