Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!uflorida!mathlab!mathlab.math.ufl.edu!squash From: squash@math.ufl.edu (Jonathan King) Newsgroups: comp.emacs Subject: How? A "global" text-mode abbrev table? Message-ID: Date: 28 Oct 90 02:45:17 GMT Sender: news@mathlab.math.ufl.EDU Organization: University of Florida Department of Mathematics Lines: 30 An abbrev mode question: I have some mode-specific abbrev tables eg. (tex-mode-abbrev-table) (mail-mode-abbrev-table) ... When tex mode is called, first the text-mode hook is called, then the tex-mode hook. This seems to be the right behavior. I would like abbrevs to work the same way, Eg. when I'm in TeX mode, my effective abbrev table is the *concatenation* of (text-mode-abbrev-table) with (tex-mode-abbrev-table) What is the right way to do this? One unaesthetic and probably dangerous way would be to have the text-mode hook Store away the global-abbrev table somewhere; Setq global-abbrev-table to text-mode-abbrev-table Set local-abbrev-table to tex-mode-abbrev-table Is there a better, less dangerous way? Jonathan squash@math.ufl.edu