Re: JDEE
Richard Martin <[email protected]>
| Newsgroups | gmane.emacs.xemacs.general |
|---|---|
| Organization | AePONA Ltd |
| Message-ID | <[email protected]> |
i'm afraid this doesn't have any effect....any other ideas? On Wed, 2004-01-14 at 16:50, [email protected] wrote: > Richard Martin writes: > > thanks for the info. my auto-mode-alist variable is set to below. There > > are 2 entries for .java files. One opens jde-mode and the other opens > > java-mode. Would this be the problem? If so how can i edit the variable? > > Yes it would. Solve the problem by putting the follwing at the end of > your ".emacs" or "init.el" file (I have deleted the offending line.) > Regards, > Karl > > (setq auto-mode-alist ' > (("\\.ear\\'" . archive-mode) > ("\\.war\\'" . archive-mode) > ("\\.jar\\'" . archive-mode) > (".tl[hbi]\\>" . c++-mode) > (".idl\\>" . c++-mode) > (".[ch]\\>" . c++-mode) > ("\\.bnf$" . semantic-bnf-mode) > ("\\.\\(?:xsl\\|fo\\)$" . xsl-mode) > ("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode) > ("[Cc]hange.?[Ll]og?\\(?:.[0-9]+\\)?\\'" . change-log-mode) > ("\\.bib\\'" . bibtex-mode) > ("/app-defaults/" . xrdb-mode) > ("\\.ad\\'" . xrdb-mode) > ("[./\\]X\\(defaults\\|environment\\|resources\\|modmap\\)\\'" . xrdb-mode) > ("\\.xpm$" . xpm-mode) > ("\\.[^/]*wm2?\\(?:rc\\)?\\'" . winmgr-mode) > ("\\.mss\\'" . scribe-mode) > ("\\.m\\(?:[mes]\\|an\\)\\'" . nroff-mode) > ("\\.\\(xpm\\|XPM\\)\\'" . image-mode) > ("\\.\\(xbm\\|XBM\\)\\'" . image-mode) > ("\\.\\(tiff?\\|TIFF?\\)\\'" . image-mode) > ("\\.\\(jpe?g\\|JPE?G\\)\\'" . image-mode) > ("\\.\\(gif\\|GIF\\)\\'" . image-mode) > ("\\.\\(png\\|PNG\\)\\'" . image-mode) > ("\\.css$" . css-mode) > ("access\\.conf$" . apache-mode) > ("srm\\.conf$" . apache-mode) > ("httpd\\.conf$" . apache-mode) > ("\\.htaccess$" . apache-mode) > ("\\.texi\\(?:nfo\\)?\\'" . texinfo-mode) > ("\\.\\(?:sty\\|cls\\|bbl\\)\\'" . latex-mode) > ("\\.[tT]e[xX]\\'" . tex-mode) > ("\\.ltx\\'" . latex-mode) > ("\\.grm\\'" . sml-yacc-mode) > ("\\.cm\\'" . sml-cm-mode) > ("\\.s\\(ml\\|ig\\)\\'" . sml-mode) > ("\\.si\\(v\\|eve\\)\\'" . sieve-mode) > ("\\.\\(?:[ckz]?sh\\|shar\\)\\'" . sh-mode) > ("/\\.\\(?:[kz]shenv\\|xsession\\)\\'" . sh-mode) > ("/\\.\\(?:[ckz]sh\\|bash\\|tcsh\\|es\\|xinit\\|startx\\)rc\\'" . sh-mode) > ("/\\.\\(?:bash_\\|z\\)?\\(profile\\|login\\|logout\\)\\'" . sh-mode) > ("\\.oak\\'" . scheme-mode) > ("\\.scm?\\(?:\\.[0-9]*\\)?\\'" . scheme-mode) > ("\\.rb$" . ruby-mode) > ("\\.py\\'" . python-mode) > ("\\.xml\\'" . xml-mode) > ("\\.\\(?:sgml?\\|dtd\\)\\'" . sgml-mode) > ("\\.jsp\\'" . html-mode) > ("\\.[sj]?html?\\'" . html-mode) > ("\\.wrl\\'" . vrml-mode) > ("\\.\\(?:tcl\\|exp\\)\\'" . tcl-mode) > ("\\.sql$" . sql-mode) > ("\\.spec$" . rpm-spec-mode) > ("\\.prolog\\'" . prolog-mode) > ("\\.c?ps\\'" . postscript-mode) > ("\\.inc\\'" . php-mode) > ("\\.phtml\\'" . php-mode) > ("\\.php[s34]?\\'" . php-mode) > ("\\.p\\(?:as\\)?\\'" . pascal-mode) > ("\\.am\\'" . makefile-mode) > ("\\(GNU\\)?[Mm]akefile\\(\\.in\\)*\\'" . makefile-mode) > ("\\.ma?ke?\\'" . makefile-mode) > ("\\.js$" . javascript-mode) > ("\\.icn\\'" . icon-mode) > ("\\.e\\'" . eiffel-mode) > ("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode) > ("\\.awk\\'" . awk-mode) > ("configure\\.\\(in\\|ac\\)\\'" . autoconf-mode) > ("\\.m4\\'" . autoconf-mode) > ("\\.[sS]\\'" . asm-mode) > ("\\.\\([pP][Llm]\\|al\\)\\'" . perl-mode) > ("\\.tar$" . tar-mode) > ("\\.\\(?:arc\\|zip\\|lzh\\|zoo\\)\\'" . archive-mode) > ("\\.ml[iylp]?$" . caml-mode) > ("\\.java\\'" . jde-mode) > ("\\.[Pp][Rr][Oo]\\'" . idlwave-mode) > ("\\.l[gh]s$" . literate-haskell-mode) > ("\\.\\(?:[gh]s\\|hi\\)$" . haskell-mode) > ("\\.F\\(?:OR\\)?\\'" . fortran-mode) > ("\\.f\\(?:or\\)?\\'" . fortran-mode) > ("\\.[fF]90\\'" . f90-mode) > ("\\.docbook$" . docbook-mode) > ("\\.[chi]\\'" . c-mode) > ("\\.\\(?:[CH]\\|cc\\|hh\\)\\'" . c++-mode) > ("\\.[ch]\\(pp\\|xx\\|\\+\\+\\)\\'" . c++-mode) > ("\\.idl\\'" . idl-mode) > ("\\.y\\'" . c-mode) > ("\\.lex\\'" . c-mode) > ("\\.m\\'" . objc-mode) > ("\\.ad[abs]\\'" . ada-mode) > ("\\.te?xt\\'" . text-mode) > ("\\.el\\'" . emacs-lisp-mode) > ("\\.c?l\\(?:i?sp\\)?\\'" . lisp-mode) > ("\\.article\\'" . text-mode) > ("\\.letter\\'" . text-mode) > ("\\`/tmp/Re" . text-mode) > ("/Message[0-9]*\\'" . text-mode) > ("^/tmp/fol/" . text-mode) > ("[/\\][._].*emacs\\'" . emacs-lisp-mode) > ("\\.ml\\'" . lisp-mode) > ("\\.m?spec$" . sh-mode) > ("\\.[123456789]\\'" . nroff-mode))) > -- Richard Martin <[email protected]> AePONA Ltd