Hello,
I think I have another problem with abbrevs (beside the problem-report I've
filed some hours ago):
If I try to use a control-flow-expansion (for example "if" or "while", not
"for")), it works as expected, with one problem: It doubles if to ifif and
while to whilewhile.
Has anyone except me seen this strange behaviour?
I use JDE 2.3.3, XEmacs 21.4.14 on a Debian-System.
I have attached my .custom.el-file (I think I forgot this in the
problem-report, there I have additionally set abbrev-mode to 1 in the file).
If I use for in a comment, it remains unexpanded, but point moves several
lines forward.
If I use if or while in a comment, it gets doubled, but nothing else happens.
Have I found some bugs or is my system broken in some way?
Wolfgang
(custom-set-variables
'(jde-javadoc-describe-constructor-template "\"* Constructs \"")
'(abbrev-file-name "~/.xemacs/abbrev_defs" t)
'(jde-run-working-directory "~/Programmieren/CivQuest/civquest/classes/")
'(jde-javadoc-return-tag-template "\"* @return \"")
'(jde-compile-option-debug (quote ("all" (t t t))))
'(jde-gen-cflow-enable t)
'(jde-javadoc-author-tag-template "")
'(jde-db-option-java-profile (quote (nil . "./java.prof")))
'(jde-gen-interface-buffer-template (quote ("(funcall jde-gen-boilerplate-function)"
"(jde-gen-get-package-statement)" "(progn (require 'jde-javadoc)
(jde-javadoc-insert-start-block))" "\" * \"" "(file-name-nondirectory
buffer-file-name) '>'n" "\" \" (jde-javadoc-insert-empty-line)" "\" \"
(jde-javadoc-insert-empty-line)" "\" \" (jde-javadoc-insert-empty-line)" "\" \"
(jde-javadoc-insert 'tempo-template-jde-javadoc-author-tag)" "\" \"
(jde-javadoc-insert 'tempo-template-jde-javadoc-version-tag)" "\" \"
(jde-javadoc-insert 'tempo-template-jde-javadoc-end-block \"*/\")" "'>'n" "\"public
interface \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))"
"\" \" (jde-gen-get-extend-class)" "(if jde-gen-k&r " " ()" " '>'n)" "\"{\"'>'n"
"'>'p'n" "\"}\">" "\"// \"" "(file-name-sans-extension (file-name-nondirectory
buffer-file-name))" "'>'n")))
'(jde-run-option-java-profile (quote (nil . "./java.prof")))
'(jde-run-application-class "civquest.swing.CivQuest")
'(jde-javadoc-describe-class-template "")
'(jde-run-option-enable-assertions "Everywhere")
'(jde-complete-display-qualified-types nil)
'(jde-bug-vm-includes-jpda-p t)
'(jde-global-classpath (quote ("~/Programmieren/CivQuest"
"~/Programmieren/CivQuest/civquest/"
"~/Programmieren/CivQuest/civquest/classes/civquest/"
"~/Programmieren/CivQuest/civquest/classes/civquest/swing/"
"~/Programmieren/CivQuest/civquest/classes/civquest/swing/quadmap/"
"~/Programmieren/CivQuest/civquest/classes/civquest/parser/"
"~/Programmieren/CivQuest/civquest/classes/civquest/parser/ruleset/"
"~/Programmieren/CivQuest/civquest/classes/civquest/gameChange/")))
'(jde-build-function (quote (jde-ant-build)))
'(jde-javadoc-describe-field-template "")
'(jde-complete-function (quote jde-complete-in-line))
'(column-number-mode t)
'(jde-key-bindings (quote (("[? ? ?]" . jde-run-menu-run-applet) ("[? ? ?]" .
jde-build) ("[? ? ?]" . jde-compile) ("[? ? ?]" . jde-debug) ("[? ? ?]" .
jde-find) ("[? ? ?]" . jde-open-class-at-point) ("[? ? ?]" . jde-bsh-run) ("[?
? ?]" . jde-gen-println) ("[? ? ?]" . jde-help-browse-jdk-doc) ("[? ? ?]" .
jde-save-project) ("[? ? ?]" . jde-wiz-update-class-list) ("[? ? ?]" . jde-run)
("[? ? ?]" . speedbar-frame-mode) ("[? ? ?]" . jde-jdb-menu-debug-applet) ("[?
? ?]" . jde-help-symbol) ("[? ? ?]" . jde-show-superclass-source) ("[? ? ?]" .
jde-open-class-at-point) ("[? ? ?]" . jde-import-find-and-import) ("[? ? ?e]" .
jde-wiz-extend-abstract-class) ("[? ? ?f]" . jde-gen-try-finally-wrapper) ("[? ?
?i]" . jde-wiz-implement-interface) ("[? ? ?j]" . jde-javadoc-autodoc-at-line) ("[?
? ?o]" . jde-wiz-override-method) ("[? ? ?t]" . jde-gen-try-catch-wrapper) ("[? ?
?]" . jde-run-etrace-prev) ("[? ? ?]" . jde-run-etrace-next) ("[(control c)
(control v) (control ?.)]" . jde-complete) ("[(control c) (control v) ?.]" .
jde-complete-in-line) ("[(control c) (control t) (control a)]" .
jde-gen-junit-add-test-to-suite) ("[(control c) (control t) (control j)]" .
jde-gen-junit-test-class-buffer) ("[(control c) (control t) (control c)]" .
jde-gen-class-buffer) ("[(control c) (control t) (control f)]" . jde-gen-method)
("[(control c) (control t) (control s)]" . jde-gen-to-string-method) ("[(control c)
(control t) (control i)]" . jde-gen-inner-class) ("[(control c) (control t) (control
r)]" . jde-gen-interface-buffer))))
'(jde-javadoc-param-tag-template "\"* @param \" name \" \"")
'(jde-ant-use-global-classpath t)
'(jde-gen-comments nil)
'(gnuserv-program (concat exec-directory "/gnuserv"))
'(jde-import-sorted-groups (quote asc))
'(jde-import-auto-sort t)
'(jde-run-option-vm-args (quote ("-ea")))
'(jde-gen-cflow-if (quote ("(if (jde-parse-comment-or-quoted-p)" " '(l \"if\")" " '(l
'> \"if\" jde-gen-conditional-padding-1 " " \"(\" jde-gen-conditional-padding-2 (p
\"if-clause: \" clause)" " jde-gen-conditional-padding-2 \")\"" " (if
jde-gen-k&r " " jde-gen-conditional-padding-3 " " '>'n)" " \"{\"'>'n'>'r'n" "
\"}\"" " (if jde-gen-comments " " '(l \" // end of if (\" (s clause) \")\"))" "
'>'n'>)" " )")))
'(jde-gen-k&r t)
'(jde-db-option-classpath (quote ("~/Programmieren/CivQuest/civquest/classes/")))
'(jde-imenu-include-modifiers nil)
'(tab-width 4)
'(jde-javadoc-describe-interface-template "")
'(jde-sourcepath (quote ("./src")))
'(jde-complete-signature-display (quote ("Buffer")))
'(jde-javadoc-exception-tag-template "\"* @throws \" type \" \"")
'(jde-mode-abbreviations (quote (("ab" . "abstract") ("bo" . "boolean") ("br" .
"break") ("by" . "byte") ("byv" . "byvalue") ("cas" . "cast") ("ca" . "catch") ("ch" .
"char") ("cl" . "class") ("co" . "const") ("con" . "continue") ("de" . "default")
("dou" . "double") ("el" . "else") ("ex" . "extends") ("fa" . "false") ("fi" .
"final") ("fin" . "finally") ("fl" . "float") ("fo" . "for") ("fu" . "future") ("ge" .
"generic") ("go" . "goto") ("impl" . "implements") ("impo" . "import") ("ins" .
"instanceof") ("in" . "int") ("inte" . "interface") ("lo" . "long") ("na" . "native")
("ne" . "new") ("nu" . "null") ("pa" . "package") ("pri" . "private") ("pro" .
"protected") ("pu" . "public") ("re" . "return") ("sh" . "short") ("st" . "static")
("su" . "super") ("sw" . "switch") ("sy" . "synchronized") ("th" . "this") ("thr" .
"throw") ("throw" . "throws") ("tra" . "transient") ("tr" . "true") ("vo" . "void")
("vol" . "volatile") ("wh" . "while"))))
'(jde-compile-option-classpath (quote
("~/Programmieren/CivQuest/civquest/classes/civquest")))
'(line-number-mode t)
'(jde-complete-display-throws nil)
'(jde-gen-cflow-try-catch (quote ("(if (jde-parse-comment-or-quoted-p)" " '(l
\"try\")" " '(l '> \"try \"" " (if jde-gen-k&r " " ()" " 'n)" " \"{\"'>'n'>'r'n" "
\"}\" '>" " (if jde-gen-k&r " " jde-gen-conditional-padding-3 " " 'n)" " \"catch\"
jde-gen-conditional-padding-1 " " \"(\" jde-gen-conditional-padding-2 (p \"catch what:
\" clause) \" e\"" " jde-gen-conditional-padding-2 \")\" '>" " (if jde-gen-k&r "
" jde-gen-conditional-padding-3 " " 'n)" " \"{\"'>'n'>'p'n" " \"}\"" " (if
jde-gen-comments " " '(l \" // end of try-catch\"))" " '>'n'> )" " )")))
'(jde-gen-class-buffer-template (quote ("(funcall jde-gen-boilerplate-function)"
"(jde-gen-get-package-statement)" "(progn (require 'jde-javadoc)
(jde-javadoc-insert-start-block))" "\" * \"" "(file-name-nondirectory
buffer-file-name) '>'n" "\" \" (jde-javadoc-insert-empty-line)" "\" \"
(jde-javadoc-insert-empty-line)" "\" \" (jde-javadoc-insert-empty-line)" "\" \"
(jde-javadoc-insert 'tempo-template-jde-javadoc-author-tag)" "\" \"
(jde-javadoc-insert 'tempo-template-jde-javadoc-version-tag)" "\" \"
(jde-javadoc-insert 'tempo-template-jde-javadoc-end-block \"*/\")" "\"public class \""
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" \"
(jde-gen-get-extend-class)" "(if jde-gen-k&r " " ()" " '>'n)" "\"{\"'>'n"
"(jde-gen-method-signature" "\"public\"" "\"\"" "(file-name-sans-extension
(file-name-nondirectory buffer-file-name))" "\"\"" ")" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "'>'p'n" "\"}\">" "'>'n" "(jde-gen-get-interface-implementation)" "'>'n"
"\"}\">" "'>'n")))
'(jde-enable-abbrev-mode t)
'(jde-imenu-sort (quote asc))
'(jde-javadoc-describe-method-template "\"* \"")
'(jde-javadoc-version-tag-template "")
'(jde-ant-enable-find t)
'(user-mail-address "[EMAIL PROTECTED]")
'(jde-gen-cflow-while (quote ("(if (jde-parse-comment-or-quoted-p)" " '(l \"while\")"
" '(l '> \"while\" jde-gen-conditional-padding-1 " " \"(\"
jde-gen-conditional-padding-2 (p \"while-clause: \" clause) " "
jde-gen-conditional-padding-2 \")\"" " (if jde-gen-k&r " "
jde-gen-conditional-padding-3 " " '>'n)" " \"{\"'>'n'>'r'n" " \"}\"" " (if
jde-gen-comments " " '(l \" // end of while (\" (s clause) \")\"))" " '>'n'> )" "
)")))
'(query-user-mail-address nil)
'(indent-tabs-mode t)
'(jde-run-option-classpath (quote ("~/Programmieren/CivQuest/civquest/classes/")))
'(jde-javadoc-gen-detail-switch (quote ("-private")))
'(font-lock-mode t nil (font-lock)))
(custom-set-faces
'(default ((t (:family "Courier" :size "10pt"))) t))