Works like a charm, many thanks. Please do roll this into future versions.
-JAE
At 12:27 PM 3/9/00 , Paul Kinnucan wrote:
>At 05:09 PM 3/9/00 +0000, you wrote:
>>>>>>> "Paul" == Paul Kinnucan <[EMAIL PROTECTED]> writes:
>>
>>
>> >> I use abbrevs pretty extensively, but need to disable the ones
>> >> provide by JDE.
>> ^^^^^^^^^^^^^^^^^^^^^^
>>
>>
>> Paul> Have you tried setting jde-enable-abbrev-mode to nil? Note
>> Paul> that you MUST use custom to do this.
>>
>>
>> I know its hard to understand Paul, and you shouldnt
>>take it to hard, but I think what Jonathan is saying is that he whilst
>>he really likes abbrev-mode, he doesnt actually like your abbrevs!
>>
>
>That's why I made them customizable!
>
>I think the basic problem is that I define the abbreviations even when
>jde-enable-abbrev-mode is nil. Here is the relevant code from jde.el.
>
> ;; Define abbreviations.
> (mapc (lambda (x)
> (define-mode-abbrev (car x) (cdr x)))
> jde-mode-abbreviations)
>
> (if jde-enable-abbrev-mode
> (abbrev-mode 1))
>
>I think if I changed this to:
>
>
> (when jde-enable-abbrev-mode
> ;; Define abbreviations.
> (mapc (lambda (x)
> (define-mode-abbrev (car x) (cdr x)))
> jde-mode-abbreviations)
> (abbrev-mode 1))
>
>Jonathan's problem would be solved. Perhaps Jonathan could try this by
>editing his copy of jde.el. If it works, I will make the change in the next
>relaase.
>
>