On Fri, 6 Jul 2001, Ronan Waide wrote:
[...]
> Oh, also, you need to frob the keymap of
> message-mode/vm-mode/mail-mode or whatever in order for the above to
> work. And you need to frob it so that each time you hit space or TAB,
> it checks if you're in a "completion zone" such as the "To:" field or
> whatever.
Well, XEmacs supports the `keymap' property on extents. You could just
drop a `bbdb-header' extent on the relevant fields, set such that it
expands appropriately as text is added and stuff.
Then, set the keymap property in it with the various keys bound as
needed and you have this without the fiddling of the keymaps. In fact,
you get it for free, pretty much, and a bunch of the hacking that would
have been done is gone.
Presumably Emacs supports something similar. Last time I heard anything
about it, they had better support than XEmacs for extents (or whateven
they call them) overriding the default values for things in the
buffer.[1]
Daniel
Footnotes:
[1] I heard about this because someone came in and fixed the deficiency
in XEmacs. :)
--
People climbing up the walls
Breaking all of my wretched dolls
Fingernails they scratch outside
-- Switchblade Symphony, _Dollhouse_
_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/