From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.devel Subject: Re: byte-compiler does *not* complain about missing case or loop Date: Sat, 08 Mar 2014 18:09:48 +0530 Message-ID: <87siqsoodn.fsf@gmail.com> References: <87siqwslfm.fsf@gmail.com> <878uslmkq1.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1394282231 22411 80.91.229.3 (8 Mar 2014 12:37:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2014 12:37:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 08 13:37:20 2014 Return-path: Envelope-to: ged-emacs-devel@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 1WMGVD-0005Yk-SB for ged-emacs-devel@m.gmane.org; Sat, 08 Mar 2014 13:37:20 +0100 Original-Received: from localhost ([::1]:40222 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMGVD-0005M3-Gj for ged-emacs-devel@m.gmane.org; Sat, 08 Mar 2014 07:37:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMGV4-0005Lt-Kw for emacs-devel@gnu.org; Sat, 08 Mar 2014 07:37:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMGUy-000847-BZ for emacs-devel@gnu.org; Sat, 08 Mar 2014 07:37:10 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:33658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMGUy-000841-16 for emacs-devel@gnu.org; Sat, 08 Mar 2014 07:37:04 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WMGUv-0005Ku-DZ for emacs-devel@gnu.org; Sat, 08 Mar 2014 13:37:01 +0100 Original-Received: from 115.242.255.1 ([115.242.255.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Mar 2014 13:37:01 +0100 Original-Received: from kjambunathan by 115.242.255.1 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Mar 2014 13:37:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 102 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 115.242.255.1 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:JAT48Wdc2i6NrGSE6d6IGkO/v7U= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:170226 Archived-At: --=-=-= Content-Type: text/plain Andreas Schwab writes: > Jambunathan K writes: > >> 2. How would I interpret the error? >> >> 1:40 ends points to param line but the actual error report - the >> `marker' variable - is elsewhere. > > (types . marker) is a malformed function call. The LINE:COL position of the error report is wrong. The presence of that defun prevents the "end of data" report from being triggered. FWIW, see the attached report 1. With the offending defun compiled in, the "end of data" report is *absent*. 2. With offending defun ";;"-ed out, the "end of data" report is *present*. I wonder what would explain the presence/absence of "end of data" report. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=with-destructuring.txt Compiling file /home/kjambunathan/.emacs.d/lisp/hx.el at Sat Mar 8 17:50:52 2014 In hx-export: hx.el:85:36:Warning: `t' called as a function hx.el:210:9:Warning: reference to free variable `for' hx.el:210:13:Warning: reference to free variable `markers' hx.el:210:21:Warning: reference to free variable `in' hx.el:211:13:Warning: reference to free variable `org-element-type' hx.el:212:13:Warning: reference to free variable `hx-element-type' hx.el:213:9:Warning: reference to free variable `collect' In hx-org-li: hx.el:300:42:Warning: reference to free variable `for' hx.el:300:46:Warning: reference to free variable `html' hx.el:300:51:Warning: reference to free variable `in' hx.el:300:70:Warning: reference to free variable `count' hx.el:418:40:Error: Wrong type argument: sequencep, marker --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=without-destructuring.txt Compiling file /home/kjambunathan/.emacs.d/lisp/hx.el at Sat Mar 8 17:52:15 2014 In hx-export: hx.el:85:36:Warning: `t' called as a function hx.el:210:9:Warning: reference to free variable `for' hx.el:210:13:Warning: reference to free variable `markers' hx.el:210:21:Warning: reference to free variable `in' hx.el:211:13:Warning: reference to free variable `org-element-type' hx.el:212:13:Warning: reference to free variable `hx-element-type' hx.el:213:9:Warning: reference to free variable `collect' In hx-org-li: hx.el:300:42:Warning: reference to free variable `for' hx.el:300:46:Warning: reference to free variable `html' hx.el:300:51:Warning: reference to free variable `in' hx.el:300:70:Warning: reference to free variable `count' In hx-export-to-file: hx.el:477:39:Warning: reference to free variable `hx-backends-alist' hx.el:523:13:Warning: `:constructor' called as a function hx.el:523:38:Warning: reference to free variable `hx-create-backend' hx.el:523:38:Warning: `:copier' called as a function hx.el:525:3:Warning: reference to free variable `name' hx.el:525:8:Warning: reference to free variable `parent' hx.el:525:15:Warning: reference to free variable `transcoders' hx.el:525:27:Warning: reference to free variable `content-selector' hx.el:525:44:Warning: reference to free variable `post-processor' In hx-tex-post-processor: hx.el:683:25:Warning: reference to free variable `for' hx.el:683:29:Warning: reference to free variable `field' hx.el:683:35:Warning: reference to free variable `in' hx.el:684:25:Warning: reference to free variable `always' In end of data: hx.el:773:1:Warning: the following functions are not known to be defined: case, t, hx-backend-transcoders, cdddr, caddr, remove-if, pp-display-expression, loop, hx-org-text-markup, h1, h2, h3, h4, h5, h6, ol, ul, otherwise, hx-backend-content-selector, hx-backend-post-processor, defstruct, hx-backend, :constructor, :copier, hx-create-backend, assert --=-=-=--