|
From: | Krishnakant |
Subject: | Re: problem: M-a M-e gives symbol's function definition is voide |
Date: | Thu, 23 Feb 2017 10:35:30 +0530 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On Thursday 23 February 2017 10:30 AM, Krishnakant wrote:
On Thursday 23 February 2017 01:44 AM, John Mastro wrote:Krishnakant <krmane@openmailbox.org> 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 "<f12>") #'broken-command) After evaluating those forms, if I type f12, I get the error: broken-command: Symbol’s 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 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 redefined 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 redefined 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.
[Prev in Thread] | Current Thread | [Next in Thread] |