unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Weird "Symbol's function definition is void: ..."
@ 2017-11-23  2:11 Jean-Christophe Helary
  2017-11-23  3:01 ` Michael Heerdegen
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Christophe Helary @ 2017-11-23  2:11 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

I have installed ivy and imenu-list from the package system and added the following in my .emacs.el

(ivy-mode 1)

...

(imenu-list-minor-mode)

When I start emacs, I get the error message that the definitions are void, but then I enter .emacs.el and evaluate the two lines and get a proper evaluation (both return t)

How can I get the expected behavior of having Emacs evaluate both lines as t and proceed with the launch?


Jean-Christophe Helary
-----------------------------------------------
@brandelune http://mac4translators.blogspot.com





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Weird "Symbol's function definition is void: ..."
  2017-11-23  2:11 Weird "Symbol's function definition is void: ..." Jean-Christophe Helary
@ 2017-11-23  3:01 ` Michael Heerdegen
  2017-11-23  6:19   ` Jean-Christophe Helary
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Heerdegen @ 2017-11-23  3:01 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: Help Gnu Emacs mailing list

Jean-Christophe Helary <jean.christophe.helary@gmail.com> writes:

> I have installed ivy and imenu-list from the package system and added
> the following in my .emacs.el
>
> (ivy-mode 1)
>
> ...
>
> (imenu-list-minor-mode)
>
> When I start emacs, I get the error message that the definitions are
> void, but then I enter .emacs.el and evaluate the two lines and get a
> proper evaluation (both return t)

Do you (package-initialize) in your init file, and do you do it before
these failing calls?


Michael.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Weird "Symbol's function definition is void: ..."
  2017-11-23  3:01 ` Michael Heerdegen
@ 2017-11-23  6:19   ` Jean-Christophe Helary
  0 siblings, 0 replies; 3+ messages in thread
From: Jean-Christophe Helary @ 2017-11-23  6:19 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Thank you Michael,

It looks like (package-initialize) is after the 2 lines in my .emacs.el. By moving them below it I have solved the issue.

Jean-Christophe 

> On Nov 23, 2017, at 12:01, Michael Heerdegen <michael_heerdegen@web.de> wrote:

>> I have installed ivy and imenu-list from the package system and added
>> the following in my .emacs.el
>> 
>> (ivy-mode 1)
>> 
>> ...
>> 
>> (imenu-list-minor-mode)
>> 
>> When I start emacs, I get the error message that the definitions are
>> void, but then I enter .emacs.el and evaluate the two lines and get a
>> proper evaluation (both return t)
> 
> Do you (package-initialize) in your init file, and do you do it before
> these failing calls?
> 
> 
> Michael.

Jean-Christophe Helary
-----------------------------------------------
@brandelune http://mac4translators.blogspot.com




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-23  6:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-23  2:11 Weird "Symbol's function definition is void: ..." Jean-Christophe Helary
2017-11-23  3:01 ` Michael Heerdegen
2017-11-23  6:19   ` Jean-Christophe Helary

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).