From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: deech Newsgroups: gmane.emacs.help Subject: Re: Byte-compile Warnings and Loading. Date: Wed, 11 May 2016 16:12:46 -0700 (PDT) Message-ID: <8c61d266-8db8-4168-af81-2583f30f7a22@googlegroups.com> References: <6d9ca22a-4382-42b7-a84f-74fd4ef95dbc@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1464882464 31520 80.91.229.3 (2 Jun 2016 15:47:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2016 15:47:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 02 17:47:38 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b8UqP-00077z-FX for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 17:47:37 +0200 Original-Received: from localhost ([::1]:48124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8UqO-0001DW-Ob for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 11:47:36 -0400 X-Received: by 10.98.28.19 with SMTP id c19mr4186115pfc.7.1463008367021; Wed, 11 May 2016 16:12:47 -0700 (PDT) X-Received: by 10.36.254.1 with SMTP id w1mr100713ith.5.1463008366846; Wed, 11 May 2016 16:12:46 -0700 (PDT) Original-Path: usenet.stanford.edu!i5no7750050ige.0!news-out.google.com!z2ni605itc.0!nntp.google.com!sq19no5487938igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <6d9ca22a-4382-42b7-a84f-74fd4ef95dbc@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=68.184.205.127; posting-account=iIbT1QoAAAAvuMyxrxgetIu9BJhvSidP Original-NNTP-Posting-Host: 68.184.205.127 User-Agent: G2/1.0 Injection-Date: Wed, 11 May 2016 23:12:46 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:217676 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110209 Archived-At: 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 loa= ded right after compilation even though they don't have any autoloads. Curr= ently they are only loaded with I call the function `shen/repl` [4] which d= oesn't feel very responsive. Ideally they are loaded at the time they are c= ompiled. >=20 > Thanks! > -deech >=20 > [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-primit= ives.el > [4] https://github.com/deech/shen-elisp/blob/master/shen-repl.el#L221 Bump.