unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Strange eval behaviour
@ 2016-11-13 21:28 Stefan Huchler
  2016-11-14 15:04 ` Stefan Monnier
  0 siblings, 1 reply; 14+ messages in thread
From: Stefan Huchler @ 2016-11-13 21:28 UTC (permalink / raw)
  To: help-gnu-emacs

I had this strange bug in my code that I could not debug, everytime I
tried to print out some stuff to see whats happenig it startet to
working.

Now I have pinned it down to the point that whenever I restart emacs, it
does not work, till I evaluate manualy the function in that elisp file.

http://ix.io/1EEU

That should be the relevant points, the function I have to manualy
re-evaluate is the kodi-remote-get function.

in my init file I load that file/module with:

(require 'kodi-remote)
(setq kodi-host-name "myserver:9099")

other functions that use my post method all in this file, work, like
kodi-remote-musik that starts party mode music playback.

Its funny I can use the kodi-remote-play-pause function a hundret times
and it I think returns nil and does nothing, then I go with the help
function to that file eval the kodi-remote-get function and from then on
it works.

Do I miss maybe something very obvious?




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

end of thread, other threads:[~2016-11-27  4:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-13 21:28 Strange eval behaviour Stefan Huchler
2016-11-14 15:04 ` Stefan Monnier
2016-11-15  1:55   ` Stefan Huchler
2016-11-18  2:38     ` Michael Heerdegen
2016-11-18 16:51       ` Stefan Huchler
2016-11-18 23:19         ` Michael Heerdegen
2016-11-22 23:57           ` Stefan Huchler
2016-11-23  9:19             ` Michael Heerdegen
2016-11-23 14:20               ` Stefan Huchler
2016-11-18 17:00       ` Stefan Huchler
2016-11-18 23:35         ` Michael Heerdegen
2016-11-22 14:43           ` Stefan Huchler
2016-11-27  4:25           ` Stefan Huchler
2016-11-27  4:29           ` Stefan Huchler

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