From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: problem: M-a M-e gives symbol's function definition is voide Date: Thu, 23 Feb 2017 10:41:40 -0800 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 X-Trace: blaine.gmane.org 1487875772 11867 195.159.176.226 (23 Feb 2017 18:49:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2017 18:49:32 +0000 (UTC) Cc: Krishnakant To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 23 19:49:28 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 1cgySF-0002e0-3v for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Feb 2017 19:49:27 +0100 Original-Received: from localhost ([::1]:60288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgySK-0007BV-Rn for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Feb 2017 13:49:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgyL7-0008M4-PB for help-gnu-emacs@gnu.org; Thu, 23 Feb 2017 13:42:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgyL6-0001i9-Tt for help-gnu-emacs@gnu.org; Thu, 23 Feb 2017 13:42:05 -0500 Original-Received: from mail-qt0-x231.google.com ([2607:f8b0:400d:c0d::231]:33073) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cgyL6-0001hi-OO for help-gnu-emacs@gnu.org; Thu, 23 Feb 2017 13:42:04 -0500 Original-Received: by mail-qt0-x231.google.com with SMTP id b16so36155651qte.0 for ; Thu, 23 Feb 2017 10:42:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bf6qecoSRnGjp1XNprL5/LLnCYtEPE2ZWuLaAEqooD4=; b=Cp57F9oQS1SztIcB8LVhaDjUWXETT2IBQo5M9WSMYIO0l8oJ6TX/DzB9osV+ovU/Yu +OOYQXQp/8X9drhO9PQCUNQ7WWf9keIGe2MPQFi5TR1lijEPEOekGauS40miu0AHMsqp ZsJ3I8nYOtf1bP+mGz5q387PCD7egy7fkt4HQExuV0h9IvyMfmY//v8/oKIz1E5pzpSq v2A79KvfS07Cpci2NtCV4LIPNNde9vWDeM+VJb/NKYufpw+B4ikOPPrl/RaVfNzj0yry SaR61i9DJ+KK4JSP61TxvzPw+mgH/7DGGCAjqqA9pxjKpMMqv2clkFgrokCtzWGHTVJy GXSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bf6qecoSRnGjp1XNprL5/LLnCYtEPE2ZWuLaAEqooD4=; b=ZN4M/Wyhp32BQw3ZiH3D4eboxXW2g17qBlSe4dTr/fWD2yiI0eC4LQFd1g84ZfiyNc ImQ+NLOThXblvxHwrHCWsJOOF30tXUYgFRLrISujTDEcFPQG0sj/bV2TRAwCpu1ZLkD8 EZevQKizEsGqmJZg+J7SptWCuLntHfsnjmPuyjIpMwWVJG/a7Z2eRPZWyIkL1m4BN8vw lXhIgvogeQsOJl9oQJw4382cR1BUYUYVbrpbgG1krIvH6mRRAF3STj9bXN7Zyjxor4Ep lrIbNLZijLDjnSeRYenxwgA3kP/JFgeVBXSnBF4OFX4Neeo44eeVZvMcz11UyVAR8bNE G8dA== X-Gm-Message-State: AMke39l5mPiOXND97rD44vXSSHfzPMLMgq0nqP5mNfU+W4YgxUw6iiQ6A72ZbwtkbXmhKBOlq8FiP64tBCgYkw== X-Received: by 10.200.46.208 with SMTP id i16mr8881873qta.13.1487875321277; Thu, 23 Feb 2017 10:42:01 -0800 (PST) Original-Received: by 10.237.49.162 with HTTP; Thu, 23 Feb 2017 10:41:40 -0800 (PST) In-Reply-To: <9e9aafd8-6b03-11a8-cbaa-9b53fec5306b@openmailbox.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::231 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:112372 Archived-At: Krishnakant 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? 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 Hope that helps John