Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!rutgers!njin!gaynor From: gaynor@pilot.njin.net (Silver) Newsgroups: comp.emacs,gnu.emacs Subject: buffer-local bindings w/o copying keymaps Keywords: GNU Emacs 18.51 Message-ID: Date: 4 Sep 88 06:25:12 GMT Reply-To: gaynor@rutgers.edu Organization: NJ InterCampus Network, New Brunswick, N.J. Lines: 18 How do *you* locally bind characters without copymaps? I figured out a half-baked scheme that works for sparse keymaps using shared lists. (Mail me for the fugly details, if you're curious.) But, using the existing utilities, I can't think of how to do it properly for non-sparse keymaps. Is there some application of the (keymap . char) definition type that I've overlooked that *properly* does the trick? If not, what approach would you suggest for a source-level implementation? Hmm, using the (variable) value of a symbol if it doesn't have a function value is kind of easy, and almost backwards-compatable. Or would it be better to add a buffer-local-map to buffers? Comment? Regards, [Ag] gaynor@rutgers.edu ...!rutgers!gaynor