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: Mon, 27 Feb 2017 09:49:16 +0530 [thread overview]
Message-ID: <558d62f4-db34-f781-09ac-718981623ea3@openmailbox.org> (raw)
In-Reply-To: <CAOj2CQQ1yS0nt2XTLXPMNzg7CpfBBbD_KkOPhGbr1xMUaS-4ew@mail.gmail.com>
On Friday 24 February 2017 12:11 AM, John Mastro wrote:
> Krishnakant <krmane@openmailbox.org> wrote:
>> 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.
> The function beginning-of-python-def-or-class isn't part of the
> python-mode that's included with Emacs. It's part of a separate Python
> mode that IIUC is, or at least was, distributed with Python. I've always
> used the one that's included with Emacs so I don't know much about it.
>
> Are you intentionally using the alternative python-mode, or is it
> entering into this picture unexpectedly?
I haven't done any thing intentionaly.
I had done a sudo apt-get install python-mode expecting that I needed
that for my Python work.
I then removed it using sudo apt-get remove, thinking that the version
installed by Ubuntu might be causing the problem.
I now asume that the default python-mode must have taken over, but still
same result.
I don't intend to use the alternative Python mode.
By the way here is the output of C-h k for the diagnose.
M-a runs the command beginning-of-python-def-or-class, which is an alias
for `beginning-of-python-def-or-class',
which is not defined. Please make a bug report.
> Also, please try typing `C-h k M-a' (or, equivalently, M-x describe-key
> RET M-a) and report back what command it says M-a is bound to.
>
> Trying to think this through, what confuses me is that the command bound
> to e.g. M-a must be trying to call beginning-of-python-def-or-class, but
> you've said it still happens in emacs -Q. It could be that the
> alternative python-mode is being loaded even in emacs -Q (and binds its
> own M-a), but in that case we would expect
> beginning-of-python-def-or-class to be available.
>
> If you're not intentionally using the alternative python-mode, perhaps
> try running something like this in your shell:
>
> $ cd ~/.emacs.d
> $ grep beginning-of-python-def-or-class **/*.el
>
> That may tell us where that symbol is coming from. Except, since this
> also happens in emacs -Q, you may also need to check in other locations
> on your load-path, which will depend on your system.
>
> On a Debian-like system, I think this would cover everything in a
> typical configuration, but I'm not at one to check:
>
> $ cd /usr/local/share/emacs
> $ grep beginning-of-python-def-or-class **/*.el
>
Thanks for your help John, I was on a similar line of thought and your
advice made it even more confirmed. Surprisingly though, grep returns
blank. No result.
I don't understand what must be going on.
Happy hacking.
Krishnakant.
But surprisingly the
next prev parent reply other threads:[~2017-02-27 4:19 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
2017-02-23 18:41 ` John Mastro
2017-02-27 4:19 ` Krishnakant [this message]
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=558d62f4-db34-f781-09ac-718981623ea3@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).