* Byte-compile Warnings and Loading. @ 2016-05-06 16:46 deech 2016-05-11 23:12 ` deech 0 siblings, 1 reply; 3+ messages in thread From: deech @ 2016-05-06 16:46 UTC (permalink / raw) To: help-gnu-emacs 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Byte-compile Warnings and Loading. 2016-05-06 16:46 Byte-compile Warnings and Loading deech @ 2016-05-11 23:12 ` deech 2016-05-13 5:12 ` Rusi 0 siblings, 1 reply; 3+ messages in thread From: deech @ 2016-05-11 23:12 UTC (permalink / raw) To: help-gnu-emacs On Friday, May 6, 2016 at 11:46:12 AM UTC-5, deech wrote: > 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 Bump. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Byte-compile Warnings and Loading. 2016-05-11 23:12 ` deech @ 2016-05-13 5:12 ` Rusi 0 siblings, 0 replies; 3+ messages in thread From: Rusi @ 2016-05-13 5:12 UTC (permalink / raw) To: help-gnu-emacs On Thursday, May 12, 2016 at 4:42:48 AM UTC+5:30, deech wrote: > On Friday, May 6, 2016 at 11:46:12 AM UTC-5, deech wrote: > > 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 > > Bump. I guess this question is more suited to the dev list?? https://lists.gnu.org/mailman/listinfo/emacs-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-13 5:12 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-05-06 16:46 Byte-compile Warnings and Loading deech 2016-05-11 23:12 ` deech 2016-05-13 5:12 ` Rusi
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.