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: Re: autoload seems inconsistent
Date: Thu, 14 Mar 2019 22:12:59 +0100	[thread overview]
Message-ID: <87va0lp3c4.fsf@mail.de> (raw)
In-Reply-To: 218286b7edd3978b6952a910eb770fac@russet.org.uk

phillip.lord@russet.org.uk writes:

> Do you not need autoload cookies on the `define-derived-mode' forms
> also? As it
> stands, they won't be in the generated autoload file, which would give
> you them "no symbol" error.

No I don't need it, but that should not be the problem, when I
bytecompile the file I get some warnings a few about functions called
from cl package at runtime.

And a few variable undefined but in kodi-remote-build-disk-strings and
youtube-operation that should have nothing to do with that.

What seems a bit odd is taht I have such cl warnings in the
draw functions for the main / series and playlist buffers. But that said
the playlist function works despite that.

Is there a problem with cl package required at runtime? I assume it's
not recommend to use them at runtime, but can it produce such problems?

Weird, I have to say I am not to deep into lisp macros and all the
different ways when it get's executed, I mean theoretically I might got
it, but what implications that has I am not so sure.

So macros get's replaced on compile time right? The point is that if I
load the whole file it works, so what is different in the autoload way
of loading the file / package?

Looks like a small problem but I have no idea how to solve it. I guess I
could look at older versions and try to bisect the patch that introduced
the bug, because at some point as far as I know kodi-remote-series
worked with the melpa version :D.

Just a bit hard to do it automatically. Especially if melpa does some
magic with autoloads things, that I don't have in my git folder.




  reply	other threads:[~2019-03-14 21:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-14 17:25 autoload seems inconsistent Stefan Huchler
2019-03-14 17:35 ` Noam Postavsky
2019-03-14 18:58   ` Stefan Huchler
2019-03-14 22:18   ` Stefan Monnier
2019-03-14 18:16 ` phillip.lord
2019-03-14 21:12   ` Stefan Huchler [this message]
2019-03-14 21:18     ` Noam Postavsky

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=87va0lp3c4.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.