From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Voit Newsgroups: gmane.emacs.help Subject: Re: Symbol's function definition is void: locating the code Date: Wed, 3 Feb 2016 15:20:06 +0100 Organization: www.karl-voit.at Message-ID: <2016-02-03T15-16-45@devnull.Karl-Voit.at> References: <2016-02-02T16-40-22@devnull.Karl-Voit.at> <87powfgil4.fsf@wanadoo.es> <87fuxbgiah.fsf@wanadoo.es> Reply-To: Karl Voit NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1454509271 27483 80.91.229.3 (3 Feb 2016 14:21:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Feb 2016 14:21:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 03 15:21:03 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aQyIo-0003Bv-DW for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Feb 2016 15:21:02 +0100 Original-Received: from localhost ([::1]:35268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQyIi-0003i6-Fe for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Feb 2016 09:20:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQyIF-0003fv-Kr for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 09:20:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQyI9-0004kk-Pt for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 09:20:27 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:45518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQyI9-0004kf-Id for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 09:20:21 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQyI2-0002Iu-RE for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 15:20:14 +0100 Original-Received: from friends.grml.info ([136.243.234.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 15:20:14 +0100 Original-Received: from news1142 by friends.grml.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 15:20:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: friends.grml.info X-GPG-Key: http://www.Karl-Voit.at/Karl_Voit_GnuPG_public_key.gpg X-Registered-Linux-User: 224337 X-Confession: Pastafarian http://www.venganza.org/ User-Agent: slrn/pre1.0.0-18 (Linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108985 Archived-At: * Óscar Fuentes wrote: > Óscar Fuentes writes: > >>> I sometimes face errors like this: >>> >>> "avy-menu: Symbol's function definition is void: >>> with-current-buffer-window" >>> >>> OK, so a package misses some function which is probably provided by >>> another package (missing dependency). >> >> Which version is your Emacs? avy-menu requires the latest release of >> Emacs (24.5) > > Correction: as implicitly stated below, avy-menu requires Emacs 24.4 (at > least). At home, I do run Emacs 24.4 (Debian). At work, I use 24.3 (Windows). So avy-menu has a bug in its dependency-list. Thanks! >> For your specific case above I searched the Emacs sources and found that >> with-current-buffer-window was introduced on 2014-03-16, which means >> that *probably* it was released on Emacs 24.4. That was an Emacs >> feature, if the missing piece is in a package, googling is the way to >> go, as mentioned above. However, any package worth its salt must mention >> its dependencies, versions included. The current avy-menu.el mentions >> >> ;; Package-Requires: ((emacs "24.3") (avy "0.3.0")) >> >> I think that (emacs "24.3") is wrong, because that version was released >> before with-current-buffer-window was coded into Emacs. Am I guessing right when the algorithm for locating missing functions is: 1. Web-search with "emacs" and the function name 2. Search the Emacs source code repository to find it in the most recent code 3. Ask for help at gmane.emacs.help (this mailinglist) -- All in all, one of the most disturbing things today is the definitive fact that the NSA, GCHQ, and many more government organizations are massively terrorizing the freedom of us and the next generations. http://Karl-Voit.at