From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: deech Newsgroups: gmane.emacs.help Subject: Byte-compile Warnings and Loading. Date: Fri, 6 May 2016 09:46:10 -0700 (PDT) Message-ID: <6d9ca22a-4382-42b7-a84f-74fd4ef95dbc@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1464882206 26681 80.91.229.3 (2 Jun 2016 15:43:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2016 15:43:26 +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:43:16 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 1b8UmA-0003um-0L for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 17:43:14 +0200 Original-Received: from localhost ([::1]:48102 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8Um4-0005WH-6H for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 11:43:08 -0400 X-Received: by 10.129.108.205 with SMTP id h196mr13661586ywc.53.1462553170838; Fri, 06 May 2016 09:46:10 -0700 (PDT) X-Received: by 10.50.92.1 with SMTP id ci1mr188630igb.1.1462553170793; Fri, 06 May 2016 09:46:10 -0700 (PDT) Original-Path: usenet.stanford.edu!88no2179627qga.1!news-out.google.com!uv8ni35igb.0!nntp.google.com!i5no4468693ige.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help 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: Fri, 06 May 2016 16:46:10 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:217630 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:110201 Archived-At: Hi all, I put together a package[1] that implements the Shen programming language i= n 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 "s= hen.el" [2] even though I have the byte-compile-warnings property the top o= f the file. I'm getting a lot of "unused lexical variable" warnings even th= ough "lexical" is in the list of warnings. 2. I would like for the "shen.el" and "shen-primitives.el" file to be loade= d right after compilation even though they don't have any autoloads. Curren= tly they are only loaded with I call the function `shen/repl` [4] which doe= sn't feel very responsive. Ideally they are loaded at the time they are com= piled. 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-primitiv= es.el [4] https://github.com/deech/shen-elisp/blob/master/shen-repl.el#L221