From: Karl Voit <devnull@Karl-Voit.at>
To: help-gnu-emacs@gnu.org
Subject: Re: Symbol's function definition is void: locating the code
Date: Wed, 3 Feb 2016 15:20:06 +0100 [thread overview]
Message-ID: <2016-02-03T15-16-45@devnull.Karl-Voit.at> (raw)
In-Reply-To: 87fuxbgiah.fsf@wanadoo.es
* Óscar Fuentes <ofv@wanadoo.es> wrote:
> Óscar Fuentes <ofv@wanadoo.es> 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
next prev parent reply other threads:[~2016-02-03 14:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-02 15:42 Symbol's function definition is void: locating the code Karl Voit
2016-02-02 16:50 ` Nick Dokos
2016-02-02 16:57 ` Óscar Fuentes
2016-02-02 16:52 ` Óscar Fuentes
2016-02-02 16:59 ` Óscar Fuentes
2016-02-03 14:20 ` Karl Voit [this message]
2016-02-03 21:47 ` Óscar Fuentes
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=2016-02-03T15-16-45@devnull.Karl-Voit.at \
--to=devnull@karl-voit.at \
--cc=help-gnu-emacs@gnu.org \
--cc=news1142@Karl-Voit.at \
/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).