From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: problem: M-a M-e gives symbol's function definition is voide Date: Wed, 22 Feb 2017 12:14:10 -0800 Message-ID: References: <08d3ca93-f351-e7df-2808-8fff29d90699@openmailbox.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1487794505 25044 195.159.176.226 (22 Feb 2017 20:15:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Feb 2017 20:15:05 +0000 (UTC) Cc: Krishnakant To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 22 21:15:01 2017 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 1cgdJO-0005rQ-1X for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Feb 2017 21:14:54 +0100 Original-Received: from localhost ([::1]:55138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgdJT-0000il-VP for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Feb 2017 15:14:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgdJ2-0000iM-Nr for help-gnu-emacs@gnu.org; Wed, 22 Feb 2017 15:14:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgdJ1-0007dQ-J7 for help-gnu-emacs@gnu.org; Wed, 22 Feb 2017 15:14:32 -0500 Original-Received: from mail-qk0-x230.google.com ([2607:f8b0:400d:c09::230]:34067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cgdJ1-0007dI-Ek for help-gnu-emacs@gnu.org; Wed, 22 Feb 2017 15:14:31 -0500 Original-Received: by mail-qk0-x230.google.com with SMTP id s186so13722126qkb.1 for ; Wed, 22 Feb 2017 12:14:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=s4U7V7AZj6OZzflxkvDhTHw9Ic+NS2Axg2SqfNBVCgQ=; b=pi/OPREfHP/lrQpnKUu80PwN1WsxSCwrcC+ETuZLzxl6X0/3M5avb/RGPeTAX/2mnQ e++cot51Bv4ZjuXhchilxMqexuCe+JEfLXAil/cejvuQV2sR8m8XDeipAZdo4LszcasK WMmZcwIy4KK28BUjwmlGqis5YXffl+mxrZyqrTh/rKaGEXjFDaXmZgZuHws+DPzr81NE ihzXWdNkiYUIh5EPWrGzQvJ4oacAhmJzMCikKS/5K07Rh3PSnXu+3d6wuRB266snUGks 0guk5AuupAskE5wM2+xy35OKr6rYdviDpDF5WBhkT8ChdJCi9GyHEk2mcFBF/kNKm2ZT lmJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=s4U7V7AZj6OZzflxkvDhTHw9Ic+NS2Axg2SqfNBVCgQ=; b=djrMPSvrJsns0U0sdvOD5ctPTgFVKeBRu6DFk5WjcFzpu9Ca4PqYVERzc5UaiVI+0e h+twfXUkbmUk5NF/a+MmN+QxW72nVvUMUZTyfMJ81jzkztQW5peiGrBLj2SllppbBBTp gIPxiForyiXkEYi3q//fz+9IKf391VhO1OHNpyuDrrT0tsn8tnJJwCWpF0D9DpT89t0O yvkgM/IKGkrsu/oiJQm8SczpxrTlS+qRfQ4eCaRD6a2iv2roiYifz0Xi9PNrolBFTJ6T RxbZ6gYlpTN5cfiVM0ShHu1GPveTuTVBRnbfTB5bCJbLXlL4EhlZdCKlRnN3RufkGSLq K0uA== X-Gm-Message-State: AMke39ndNNc/PLm2JF4jjeziDiS7bpK4LZzfSWXqt0DBRMzesjkY6qdHQyf6/83/9Rt3Z5yOiJvPp/0t+Jg90Q== X-Received: by 10.55.123.5 with SMTP id w5mr37074756qkc.76.1487794470872; Wed, 22 Feb 2017 12:14:30 -0800 (PST) Original-Received: by 10.237.41.2 with HTTP; Wed, 22 Feb 2017 12:14:10 -0800 (PST) In-Reply-To: <08d3ca93-f351-e7df-2808-8fff29d90699@openmailbox.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c09::230 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:112366 Archived-At: Krishnakant wrote: > I am really confused as to what might have happened in this case. > > I open a file in python-mode > > there is lot of code in it. > > now when I try doing M-a or M-e to move back and forth between > function or class definition, I get the said error mentioned in the > subject. Please check the *Messages* buffer and see if there is anything more to the error message. Specifically, I would expect it to say which symbol's function definition is void (example below). > I use emacs 24.5 on Ubuntu 16.04 LTS and I have elpy with company-mode > enabled. > > Can some one tell me what must be going wrong here? > > I actually can't use any navigation function in python-mode because I > get the same error "symbol's function definition is voide ..." for any > shortcut I press. Something is attempting to call a function that doesn't exist. You can manufacture a similar situation with something like: (defun broken-command () (interactive) (no-such-function)) (global-set-key (kbd "") #'broken-command) After evaluating those forms, if I type f12, I get the error: broken-command: Symbol=E2=80=99s function definition is void: no-such-funct= ion Because there's no such function as no-such-function ;-) > of course M-C-i works with company so I know other things are going > correct. > > Indentation also works correctly. > > But it is very important for me to move between blocs of code (one of > the major reasons I have shifted to emacs ). Once we know what the relevant symbol, this will likely be fairly easy to track down and fix. John