Xref: utzoo gnu.emacs:327 comp.emacs:5073 Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!gatech!purdue!decwrl!hplabs!hp-sdd!ucsdhub!isg100!elgar!ag From: ag@elgar.UUCP (Keith Gabryelski) Newsgroups: gnu.emacs,comp.emacs Subject: GNU Emacs question. Making a function local to a buffer. Message-ID: <24@elgar.UUCP> Date: 15 Jan 89 06:06:07 GMT Reply-To: ag@elgar.UUCP (Keith Gabryelski) Organization: Elgar Corporation, San Diego, CA Lines: 20 I have written a hexl-mode for GNU Emacs that allows a user to edit a binary file in an `od -x' format. I've had to re-map the keyboard to all sorts of hexl-mode functions (like hexl-self-insert-command and hexl-forward-char). What I'd like to do is make the current functions local to the hexl buffer so I can just modify them without touching the keymap. Is there such a beast? If not, wouldn't it be a good feature to add? This would also make the mode a little more compatible with functions that use the lower-level move char (and other) functions. They would automatically use my local functions instead of the standard ones. Any help would be appreciated. Pax, Keith -- ag@elgar.CTS.COM Keith Gabryelski ...!{ucsd, jack}!elgar!ag