[gnu.emacs] function filter?

sr16+@ANDREW.CMU.EDU (Seth Benjamin Rothenberg) (05/01/89)

Is there a facility to write a filter for a list of commands?

I am writing a database display function where fields will be delimited
by [ ... ].  I am controlling screen format by making sure that the
cursor stays inside the braces (unless the program moves it to another set of
braces).  Therefore, I'd like a map so that functions will test whether
they violate this rule.  (functions like forward-word and forward-kill-word
are examples.  Is there any feature like this?

Has anyone done this type of mapping before?
or this type of database-display function?
(I am displaying a particular type of database,
so that aspect may be unique.)


I will eventually be interested in opinions as to what people think are
intuitive bindings for things like forward-field, forward-record,
beginning-of-record, beginning-of-field, and beginning-of-database.
(tentatively tab, C-n, M-C-a, C-a, M-<)
Thanks
Seth
sr16@andrew.cmu.edu