From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Christian Schneiker Newsgroups: gmane.emacs.help Subject: Re: jde wrong type argument Date: Tue, 09 Nov 2004 16:28:11 +0100 Organization: T-Online Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1100014306 25728 80.91.229.6 (9 Nov 2004 15:31:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Nov 2004 15:31:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 09 16:31:42 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CRXy9-0005I9-00 for ; Tue, 09 Nov 2004 16:31:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CRY6Y-00049p-Ro for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Nov 2004 10:40:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!irazu.switch.ch!switch.ch!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 58 Original-X-Trace: news.t-online.com 1100014087 02 24197 3D5xXlXL-AOmjMO 041109 15:28:07 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: GJwR8UZfYeH9lUqJk7Gvg-ptxzNM+uyde+LeuxUqbOVedvIlJO2N0e User-Agent: KNode/0.8.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:126460 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21852 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21852 Kai Grossjohann wrote: > Please M-x toggle-debug-on-error RET, then provoke the error again. > You should get a backtrace. ok..here is my backtrace... Debugger entered--Lisp error: (wrong-type-argument keymapp nil) signal(wrong-type-argument (keymapp nil)) define-key-after(nil [jde-new] ("JDE New" keymap "JDE New" (class\.\.\. menu-item "Class..." jde-gen-class-buffer) (interface\.\.\. menu-item "Interface..." jde-gen-interface-buffer) (console\.\.\. menu-item "Console..." jde-gen-console-buffer) (eJB menu-item "EJB" (keymap "EJB" ... ...)) (other\.\.\. menu-item "Other..." jde-gen-buffer)) open-file) (let* ((mb ...) (files ...) (menu ...) (menu-name ...)) (define-key-after (cdr ...) [jde-new] (cons menu-name menu) (quote open-file))) (if jde-xemacsp (unless (featurep ...) (when ... ...)) (let* (... ... ... ...) (define-key-after ... [jde-new] ... ...))) (lambda (sym val) (set-default sym val) (if jde-xemacsp (unless ... ...) (let* ... ...)))(jde-new-buffer-menu ("JDE New" ["Class..." jde-gen-class-buffer t] ["Interface..." jde-gen-interface-buffer t] ["Console..." jde-gen-console-buffer t] ("EJB" ["Session Bean" jde-ejb-session-bean-buffer t] ["Entity Bean" jde-ejb-entity-bean-buffer t]) ["Other..." jde-gen-buffer t])) custom-initialize-reset(jde-new-buffer-menu (list "JDE New" ["Class..." jde-gen-class-buffer t] ["Interface..." jde-gen-interface-buffer t] ["Console..." jde-gen-console-buffer t] (list "EJB" ["Session Bean" jde-ejb-session-bean-buffer t] ["Entity Bean" jde-ejb-entity-bean-buffer t]) ["Other..." jde-gen-buffer t])) custom-declare-variable(jde-new-buffer-menu (list "JDE New" ["Class..." jde-gen-class-buffer t] ["Interface..." jde-gen-interface-buffer t] ["Console..." jde-gen-console-buffer t] (list "EJB" ["Session Bean" jde-ejb-session-bean-buffer t] ["Entity Bean" jde-ejb-entity-bean-buffer t]) ["Other..." jde-gen-buffer t]) "*The JDE New buffer menu" :group jde-project :type sexp :set (lambda (sym val) (set-default sym val) (if jde-xemacsp (unless ... ...) (let* ... ...)))) (defcustom jde-new-buffer-menu (list "JDE New" ["Class..." jde-gen-class-buffer t] ["Interface..." jde-gen-interface-buffer t] ["Console..." jde-gen-console-buffer t] (list "EJB" ["Session Bean" jde-ejb-session-bean-buffer t] ["Entity Bean" jde-ejb-entity-bean-buffer t]) ["Other..." jde-gen-buffer t]) "*The JDE New buffer menu" :group (quote jde-project) :type (quote sexp) :set (quote (lambda ... ... ...))) eval-buffer(# nil "jde" nil t) ;;; Reading at buffer position 43273 load-with-code-conversion("/usr/share/emacs/site-lisp/jde/lisp/jde.el" "jde" nil nil) execute-extended-command(nil) call-interactively(execute-extended-command) I hope this is enough information... > Thanks, > Kai Thanks, Christian