unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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:30:40 +0530	[thread overview]
Message-ID: <9e9aafd8-6b03-11a8-cbaa-9b53fec5306b@openmailbox.org> (raw)
In-Reply-To: <CAOj2CQR1d=zmVWpjAguMYKVL2Nn3fp9mN7RR_mthnN-63z2W3w@mail.gmail.com>



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.
Happy hacking.
Krishnakant.



  reply	other threads:[~2017-02-23  5:00 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 [this message]
2017-02-23  5:05     ` Krishnakant
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=9e9aafd8-6b03-11a8-cbaa-9b53fec5306b@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).