all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Krishnakant <krmane@openmailbox.org>
To: John Mastro <john.b.mastro@gmail.com>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: problem: M-a M-e gives symbol's function definition is voide
Date: Thu, 23 Feb 2017 10:35:30 +0530	[thread overview]
Message-ID: <b4e1a625-8179-f95e-94a6-c21c236b593f@openmailbox.org> (raw)
In-Reply-To: <9e9aafd8-6b03-11a8-cbaa-9b53fec5306b@openmailbox.org>



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.




  reply	other threads:[~2017-02-23  5:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-22 19:50 problem: M-a M-e gives symbol's function definition is voide Krishnakant
2017-02-22 20:14 ` John Mastro
2017-02-23  5:00   ` Krishnakant
2017-02-23  5:05     ` Krishnakant [this message]
2017-02-23 18:41     ` John Mastro
2017-02-27  4:19       ` Krishnakant
2017-02-23  4:33 ` Robert Thorpe
2017-02-27  4:21   ` Krishnakant
2017-02-27 13:53 ` hector
2017-02-27 15:37   ` Krishnakant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4e1a625-8179-f95e-94a6-c21c236b593f@openmailbox.org \
    --to=krmane@openmailbox.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=john.b.mastro@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.