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:35:30 +0530 Message-ID: References: <08d3ca93-f351-e7df-2808-8fff29d90699@openmailbox.org> <9e9aafd8-6b03-11a8-cbaa-9b53fec5306b@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 1487826378 23299 195.159.176.226 (23 Feb 2017 05:06:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2017 05:06:18 +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:06:13 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 1cglbV-0005Da-5O for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Feb 2017 06:06:09 +0100 Original-Received: from localhost ([::1]:56611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cglba-0007fK-R1 for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Feb 2017 00:06:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cglb4-0007fE-VZ for help-gnu-emacs@gnu.org; Thu, 23 Feb 2017 00:05:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cglb0-0004AW-2R for help-gnu-emacs@gnu.org; Thu, 23 Feb 2017 00:05:42 -0500 Original-Received: from lb1.openmailbox.org ([5.79.108.160]:45529 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 1cglaz-0004AE-Dk for help-gnu-emacs@gnu.org; Thu, 23 Feb 2017 00:05:37 -0500 Original-Received: by mail.openmailbox.org (Postfix, from userid 20002) id 04FFC528294; Thu, 23 Feb 2017 06:05:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1487826336; bh=LczooytUC3HE3JY3HR9kSVlGglH30Pr5ogp+oE911h8=; h=Subject:To:References:From:Date:In-Reply-To:From; b=JuPg1o1AxVCyTblGhn2ogvMj6Z13MvGLWmtl5smd17HacGUGaJ0906iA8cB/5n1hN sOoQwHV1kWmgpgFBZkn3Ipfm2DOVx0mc1MHj6EXhiLCqSa2uFtPANHcZFcK95VVD0u uuc2RgY8mrPCVxc31Xcx9ycdHlqmCaPCtylj+dNc= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1487826335; bh=LczooytUC3HE3JY3HR9kSVlGglH30Pr5ogp+oE911h8=; h=Subject:To:References:From:Date:In-Reply-To:From; b=Dg7pkIeg20PgwwhvptUK++/GJl26HTbsttS8k1HG2wWTBEVw6QKQCgc9BCZj1ghcw FHjoynRw34JA0Nj0+E3H3TmylBtrei8X0PH+Al189okS7LHyO5zKZ3FXJmGF1Im7SH r5AERlL/ValwuaJFg391YLZazmSfnupqFimobISg= In-Reply-To: <9e9aafd8-6b03-11a8-cbaa-9b53fec5306b@openmailbox.org> 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:112370 Archived-At: On Thursday 23 February 2017 10:30 AM, Krishnakant wrote: > > > 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 t= o >> 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-mod= e >>> 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 an= y >>> 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-= function >> >> 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=20 > happens. Sorry here's the complete message buffer output. Can't guess python-indent-offset, using defaults: 4 ad-handle-definition: `ibuffer-interactive-filter-by-mode' got redefined ad-handle-definition: `ibuffer-toggle-filter-group' got redefined ad-handle-definition: `ibuffer-forward-filter-group' got redefined ad-handle-definition: `ibuffer-backward-filter-group' got redefined ad-handle-definition: `ibuffer-do-shell-command-pipe' got redefined ad-handle-definition: `ibuffer-do-shell-command-pipe-replace' got redefin= ed ad-handle-definition: `ibuffer-do-shell-command-file' got redefined ad-handle-definition: `ibuffer-do-rename-uniquely' got redefined ad-handle-definition: `ibuffer-do-replace-regexp' got redefined ad-handle-definition: `ibuffer-filters-to-filter-group' got redefined ad-handle-definition: `ibuffer-set-filter-groups-by-mode' got redefined ad-handle-definition: `ibuffer-pop-filter-group' got redefined ad-handle-definition: `ibuffer-clear-filter-groups' got redefined ad-handle-definition: `ibuffer-jump-to-filter-group' got redefined ad-handle-definition: `ibuffer-kill-filter-group' got redefined ad-handle-definition: `ibuffer-yank-filter-group' got redefined ad-handle-definition: `ibuffer-filter-disable' got redefined ad-handle-definition: `ibuffer-filter-by-mode' got redefined ad-handle-definition: `ibuffer-filter-by-used-mode' got redefined ad-handle-definition: `ibuffer-filter-by-name' got redefined ad-handle-definition: `ibuffer-filter-by-filename' got redefined ad-handle-definition: `ibuffer-filter-by-size-gt' got redefined ad-handle-definition: `ibuffer-filter-by-size-lt' got redefined ad-handle-definition: `ibuffer-filter-by-content' got redefined ad-handle-definition: `ibuffer-filter-by-predicate' got redefined ad-handle-definition: `ibuffer-toggle-sorting-mode' got redefined ad-handle-definition: `ibuffer-invert-sorting' got redefined ad-handle-definition: `ibuffer-do-sort-by-major-mode' got redefined ad-handle-definition: `ibuffer-do-sort-by-alphabetic' got redefined ad-handle-definition: `ibuffer-do-sort-by-size' got redefined ad-handle-definition: `ibuffer-bs-show' got redefined ad-handle-definition: `ibuffer-add-to-tmp-hide' got redefined ad-handle-definition: `ibuffer-add-to-tmp-show' got redefined ad-handle-definition: `ibuffer-forward-next-marked' got redefined ad-handle-definition: `ibuffer-backwards-next-marked' got redefined ad-handle-definition: `ibuffer-do-kill-lines' got redefined ad-handle-definition: `ibuffer-jump-to-buffer' got redefined ad-handle-definition: `ibuffer-diff-with-file' got redefined ad-handle-definition: `ibuffer-copy-filename-as-kill' got redefined ad-handle-definition: `ibuffer-mark-by-name-regexp' got redefined ad-handle-definition: `ibuffer-mark-by-mode-regexp' got redefined ad-handle-definition: `ibuffer-mark-by-file-name-regexp' got redefined ad-handle-definition: `ibuffer-mark-by-mode' got redefined ad-handle-definition: `ibuffer-mark-modified-buffers' got redefined ad-handle-definition: `ibuffer-mark-unsaved-buffers' got redefined ad-handle-definition: `ibuffer-mark-dissociated-buffers' got redefined ad-handle-definition: `ibuffer-mark-help-buffers' got redefined ad-handle-definition: `ibuffer-mark-compressed-file-buffers' got redefine= d ad-handle-definition: `ibuffer-mark-old-buffers' got redefined ad-handle-definition: `ibuffer-mark-special-buffers' got redefined ad-handle-definition: `ibuffer-mark-read-only-buffers' got redefined ad-handle-definition: `ibuffer-mark-dired-buffers' got redefined Symbol's function definition is void: beginning-of-python-def-or-class Happy hacking. Krishnakant.