From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Krishnakant Newsgroups: gmane.emacs.help Subject: Re: problem: M-a M-e gives symbol's function definition is voide Date: Thu, 23 Feb 2017 10:30:40 +0530 Message-ID: <9e9aafd8-6b03-11a8-cbaa-9b53fec5306b@openmailbox.org> 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; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1487826086 18432 195.159.176.226 (23 Feb 2017 05:01:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2017 05:01:26 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 To: John Mastro , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 23 06:01:17 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 1cglWm-0003zG-Pg for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Feb 2017 06:01:16 +0100 Original-Received: from localhost ([::1]:56596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cglWs-0005qF-Ht for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Feb 2017 00:01:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cglWO-0005q8-GF for help-gnu-emacs@gnu.org; Thu, 23 Feb 2017 00:00:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cglWJ-0002aZ-RQ for help-gnu-emacs@gnu.org; Thu, 23 Feb 2017 00:00:52 -0500 Original-Received: from lb1.openmailbox.org ([5.79.108.160]:52434 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cglWJ-0002aJ-Aw for help-gnu-emacs@gnu.org; Thu, 23 Feb 2017 00:00:47 -0500 Original-Received: by mail.openmailbox.org (Postfix, from userid 20002) id 5EF8954838C; Thu, 23 Feb 2017 06:00:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1487826045; bh=AjGv0kMTSvM5PT7eTy/Qwufji0h+sliR8xVwUp3zKFw=; h=Subject:To:References:From:Date:In-Reply-To:From; b=zpZnnz2Ogbqjpgakf/JhnX3w3pKWpZnZk5Hqy2tVqjN39Jncq6LS0wFtpUKWoyDJT NiQkJE8Rz5D3HPKFrZ/yS7cbMzcNZhSdgR5s2BUvtn82u+f6BeDlBuyDWSxYQVG2lW AEugV0iv8Suxrw83QhvA+0oWt7RV9qa6iwpI1Z+s= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1487826045; bh=AjGv0kMTSvM5PT7eTy/Qwufji0h+sliR8xVwUp3zKFw=; h=Subject:To:References:From:Date:In-Reply-To:From; b=zpZnnz2Ogbqjpgakf/JhnX3w3pKWpZnZk5Hqy2tVqjN39Jncq6LS0wFtpUKWoyDJT NiQkJE8Rz5D3HPKFrZ/yS7cbMzcNZhSdgR5s2BUvtn82u+f6BeDlBuyDWSxYQVG2lW AEugV0iv8Suxrw83QhvA+0oWt7RV9qa6iwpI1Z+s= In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.79.108.160 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:112369 Archived-At: On Thursday 23 February 2017 01:44 AM, John Mastro wrote: > 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-f= unction > > 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. > Here's the message from the buffer. Symbol's function definition is void: beginning-of-python-def-or-class Can you suggest what could this be? I also tryed running emacs -Q for bare bones setting and this still happe= ns. Happy hacking. Krishnakant.