From: deech <aditya.siram@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Byte-compile Warnings and Loading.
Date: Fri, 6 May 2016 09:46:10 -0700 (PDT) [thread overview]
Message-ID: <6d9ca22a-4382-42b7-a84f-74fd4ef95dbc@googlegroups.com> (raw)
Hi all,
I put together a package[1] that implements the Shen programming language in Elisp and I could use some help with a couple of issues:
1. I can't seem to get rid of warnings when byte-compiling the generated "shen.el" [2] even though I have the byte-compile-warnings property the top of the file. I'm getting a lot of "unused lexical variable" warnings even though "lexical" is in the list of warnings.
2. I would like for the "shen.el" and "shen-primitives.el" file to be loaded right after compilation even though they don't have any autoloads. Currently they are only loaded with I call the function `shen/repl` [4] which doesn't feel very responsive. Ideally they are loaded at the time they are compiled.
Thanks!
-deech
[1] http://github.com/deech/shen-elisp
[2] https://raw.githubusercontent.com/deech/shen-elisp/master/shen.el
[3] https://raw.githubusercontent.com/deech/shen-elisp/master/shen-primitives.el
[4] https://github.com/deech/shen-elisp/blob/master/shen-repl.el#L221
next reply other threads:[~2016-05-06 16:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-06 16:46 deech [this message]
2016-05-11 23:12 ` Byte-compile Warnings and Loading deech
2016-05-13 5:12 ` Rusi
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=6d9ca22a-4382-42b7-a84f-74fd4ef95dbc@googlegroups.com \
--to=aditya.siram@gmail.com \
--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.