all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Huchler <stefan.huchler@mail.de>
To: help-gnu-emacs@gnu.org
Subject: Strange eval behaviour
Date: Sun, 13 Nov 2016 22:28:59 +0100	[thread overview]
Message-ID: <87vavrul0k.fsf@mail.de> (raw)

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?




             reply	other threads:[~2016-11-13 21:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-13 21:28 Stefan Huchler [this message]
2016-11-14 15:04 ` Strange eval behaviour 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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vavrul0k.fsf@mail.de \
    --to=stefan.huchler@mail.de \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.