Re: the abbreviation of

<[email protected]> Tue, 24 Jul 2007 20:33:09 -0700 (PDT)
Newsgroups gmane.emacs.jdee
Message-ID <[email protected]>
I don't know if this is the proper way to do this, but
you could add this functionality to your .emacs in a
jde-mode-hook:


(defun my-jde-mode-hook()
  (jde-gen-define-abbrev-template
   "main"
   (jde-gen-read-template
jde-gen-main-method-template)))
(add-hook 'jde-mode-hook 'my-jde-mode-hook)






--- Erik Wang <[email protected]> wrote:

> Sorry, my emacs version is 21.4.1.
> 
> 
> 
> > 
> > Hi,I use the latest version of JDE with the JDK
> 1.6.0, installed in a debian
> linux.The JDE is installed by performing command
> "aptitude install jde".Now, the
> problem is:As I type the "main", the abbreviation of
> "main" does not work;
> however, other abbreviations (
> > e.g. for, fori, try, and so on) all work
> correctly.Does anyone encountered or
> known this problem? I fairly appreciate such
> functionality.thanks in
> advances.Erik, Wang
> > 
> 
> 
> 
> 
>