Article View: gnu.emacs.bug
Article #98707Re: emacs crash when funcalling autoload
From: Stephen Gildea
Date: Tue, 12 Mar 1991 18:17
Date: Tue, 12 Mar 1991 18:17
20 lines
1454 bytes
1454 bytes
> The goal of the above example was to make the fortran-mode > command turn on abbrev mode automatically. It's not possible > to do this in the obvious way using fortran-mode-hook, because > the fortran-mode command actually > 1) runs the hook, setting abbrev-mode > 2) changes the buffer's major mode, clearing abbrev-mode. You don't say what version of Emacs you are using. From my reading of the code in version 18.57, those two operations happen in the other order. And when I actually try (setq fortran-mode-hook '(lambda () (abbrev-mode 1))) it works just fine. (Of course, Emacs shouldn't be dumping core on you, but you don't have to be doing things the hard way and tickling this bug.) < Stephen MIT X Consortium
Technical Details
Message-ID:
<9103121817.AA17461@alex.lcs.mit.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbageReferences:
<9103100907.AA07037@weaver.berkeley.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,6662fc5c41d49e60 X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-03-12 20:33:31 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage From: gildea@EXPO.LCS.MIT.EDU (Stephen Gildea) Newsgroups: gnu.emacs.bug Subject: Re: emacs crash when funcalling autoload Message-ID: <9103121817.AA17461@alex.lcs.mit.edu> Date: 12 Mar 91 18:17:47 GMT References: <9103100907.AA07037@weaver.berkeley.edu> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: X Consortium, MIT Laboratory for Computer Science Lines: 20 Approved: bug-gnu-emacs@prep.ai.mit.edu