>>>>> "Paul" == Paul Kinnucan <[EMAIL PROTECTED]> writes:
Paul> I think the basic problem is that I define the abbreviations
Paul> even when jde-enable-abbrev-mode is nil. Here is the relevant
Paul> code from jde.el.
Paul> ;; Define abbreviations. (mapc (lambda (x)
Paul> (define-mode-abbrev (car x) (cdr x))) jde-mode-abbreviations)
Paul> (if jde-enable-abbrev-mode (abbrev-mode 1))
Paul> I think if I changed this to:
Paul> (when jde-enable-abbrev-mode ;; Define abbreviations. (mapc
Paul> (lambda (x) (define-mode-abbrev (car x) (cdr x)))
Paul> jde-mode-abbreviations) (abbrev-mode 1))
Paul> Jonathan's problem would be solved. Perhaps Jonathan could try
Paul> this by editing his copy of jde.el. If it works, I will make
Paul> the change in the next relaase.
Yeah that should help I think. This might cause problems
if people leave abbrevs off by standard, and switch them on
occasionally though, or if they use hand abbrev expansion (M-x
expand-abbrev) which works on the same abbrev table but independently
of the abbrev minor mode. In this case the abbrev table would not be
bound to anything and it would fail. I dont know if this would be a
problem for anyone. Its easy to fix though, if you move the mapc form
out into its own function which people can add to the jde-mode-hook
for themselves if they really want to.
Phil