Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bbn!rochester!PT.CS.CMU.EDU!H.GP.CS.CMU.EDU!cef From: cef@H.GP.CS.CMU.EDU (Charles Fineman) Newsgroups: comp.emacs Subject: (embaressed) withdrawal of my proposal Message-ID: <241@PT.CS.CMU.EDU> Date: Tue, 27-Oct-87 01:28:19 EST Article-I.D.: PT.241 Posted: Tue Oct 27 01:28:19 1987 Date-Received: Thu, 29-Oct-87 07:21:22 EST Sender: netnews@PT.CS.CMU.EDU Organization: Carnegie-Mellon University, CS/RI Lines: 27 Well folks, It seems that a lot of you knew something I didn't... syntax tables are already buffer-local. All you have to do is call (set-syntax-table ) and your set. Apparently I didn't read the documentation for set-syntax-table *before* I made the proposal. WHAT I HAVE LEARNED: One may call "set-syntax-table" to set the syntax table for given buffer. Since what is being set is actually a pointer to the table instead of the table itself, one may modify the syntax of a character in one buffer and that change will be reflected in all buffers currently using that syntax table (as well as any that will in the future). This, by the way, gives the *illusion* that a syntax table is MODE specific when it really is just BUFFER specific. Perhaps even more important, I learned that my faith in usefulnes the on-line documentation with GNU emacs was well founded. Unfortunately, I didn't use it in the first place {-). Charles Fineman Carnegie-Mellon University cef@h.cs.cmu.edu (via seismo)