From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: Re: Byte-compile Warnings and Loading. Date: Thu, 12 May 2016 22:12:30 -0700 (PDT) Message-ID: <8bc2670a-74fa-4f40-8738-6c1ce6932b96@googlegroups.com> References: <6d9ca22a-4382-42b7-a84f-74fd4ef95dbc@googlegroups.com> <8c61d266-8db8-4168-af81-2583f30f7a22@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 1464882742 4390 80.91.229.3 (2 Jun 2016 15:52:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2016 15:52:22 +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:52:15 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 1b8Uup-0002Be-1V for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 17:52:11 +0200 Original-Received: from localhost ([::1]:48149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8Uuo-0005DO-6v for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 11:52:10 -0400 X-Received: by 10.107.6.67 with SMTP id 64mr9217912iog.31.1463116350964; Thu, 12 May 2016 22:12:30 -0700 (PDT) X-Received: by 10.50.90.5 with SMTP id bs5mr16581igb.5.1463116350903; Thu, 12 May 2016 22:12:30 -0700 (PDT) Original-Path: usenet.stanford.edu!i5no8057513ige.0!news-out.google.com!f14ni94ita.0!nntp.google.com!i5no8057506ige.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <8c61d266-8db8-4168-af81-2583f30f7a22@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=123.201.113.85; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 123.201.113.85 User-Agent: G2/1.0 Injection-Date: Fri, 13 May 2016 05:12:30 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:217680 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:110216 Archived-At: 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 langua= ge 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 generate= d "shen.el" [2] even though I have the byte-compile-warnings property the t= op of the file. I'm getting a lot of "unused lexical variable" warnings eve= n though "lexical" is in the list of warnings. > > 2. I would like for the "shen.el" and "shen-primitives.el" file to be l= oaded right after compilation even though they don't have any autoloads. Cu= rrently 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. > >=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-prim= itives.el > > [4] https://github.com/deech/shen-elisp/blob/master/shen-repl.el#L221 >=20 > Bump. I guess this question is more suited to the dev list?? https://lists.gnu.org/mailman/listinfo/emacs-devel