unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Cc: Karl Voit <devnull@Karl-Voit.at>
Subject: Re: Symbol's function definition is void: locating the code
Date: Tue, 02 Feb 2016 17:52:55 +0100	[thread overview]
Message-ID: <87powfgil4.fsf@wanadoo.es> (raw)
In-Reply-To: 2016-02-02T16-40-22@devnull.Karl-Voit.at

Karl Voit <devnull@Karl-Voit.at> writes:

> Hi!
>
> 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)

> How do I locate the package which is able to provide me the
> function?
>
> Most of the time I get lucky by searching the web with the error
> message. However, this time (and some other times), I am not able to
> find the missing code.

What I do is searching the missing symbol, probably with "emacs".

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.




  parent reply	other threads:[~2016-02-02 16:52 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 [this message]
2016-02-02 16:59   ` Óscar Fuentes
2016-02-03 14:20     ` Karl Voit
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=87powfgil4.fsf@wanadoo.es \
    --to=ofv@wanadoo.es \
    --cc=devnull@Karl-Voit.at \
    --cc=help-gnu-emacs@gnu.org \
    /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).