From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Java-mode Debug question ? Date: Sat, 17 Nov 2018 19:51:12 +0200 Message-ID: <83h8gftwxb.fsf@gnu.org> References: <5B8BFDC9-A07B-48FE-8C97-1BB0B84E5577@gmail.com> <865zxruycx.fsf@zoho.com> <875zxr7zke.fsf@portable.galex-713.eu> <00997cf4-4577-49d4-b48d-79e6a46b0211@googlegroups.com> <28B5D5A6-4E84-455C-BA8E-84AC0C5BD454@comcast.net> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1542476981 29131 195.159.176.226 (17 Nov 2018 17:49:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2018 17:49:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 17 18:49:37 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gO4iu-0007VF-T8 for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Nov 2018 18:49:37 +0100 Original-Received: from localhost ([::1]:50035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gO4l1-0005oY-Ck for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Nov 2018 12:51:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gO4kW-0005oG-8P for help-gnu-emacs@gnu.org; Sat, 17 Nov 2018 12:51:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gO4kS-0002mZ-S1 for help-gnu-emacs@gnu.org; Sat, 17 Nov 2018 12:51:15 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gO4kS-0002mV-PD for help-gnu-emacs@gnu.org; Sat, 17 Nov 2018 12:51:12 -0500 Original-Received: from [176.228.60.248] (port=4292 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gO4kS-0007qV-CE for help-gnu-emacs@gnu.org; Sat, 17 Nov 2018 12:51:12 -0500 In-reply-to: <28B5D5A6-4E84-455C-BA8E-84AC0C5BD454@comcast.net> (message from Francis Belliveau on Sat, 17 Nov 2018 12:39:34 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118705 Archived-At: > From: Francis Belliveau > Date: Sat, 17 Nov 2018 12:39:34 -0500 > > I am running emacs Version 26.1 (9.0) on OSX 10.13.6 > I know that I downloaded and installed this earlier this year and have not used Java-mode, or c-mode, with this version until today. > > When I try entering Java-mode I get an error indicating that there is a problem, with a key-map. This happens with c-mode also. Clearly there is something wrong with the install, but I have no clue where to look for the problem. > > Setting debug-on-error provides the following information: > > Debugger entered--Lisp error: (wrong-type-argument keymapp nil) > define-key(nil "\003\005" c-macro-expand) > autoload-do-load((autoload "cc-mode" 889279 t nil) java-mode) > command-execute(java-mode record) > execute-extended-command(nil "java-mode" "java-mode") > funcall-interactively(execute-extended-command nil "java-mode" "java-mode") > call-interactively(execute-extended-command nil nil) > command-execute(execute-extended-command) > > Any help will be appreciated. Does "M-x list-load-path-shadows RET" give any clue?