unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: byte-compiler does *not* complain about missing case or loop
Date: Sat, 08 Mar 2014 18:09:48 +0530	[thread overview]
Message-ID: <87siqsoodn.fsf@gmail.com> (raw)
In-Reply-To: m27g85kty9.fsf@linux-m68k.org

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

Andreas Schwab <schwab@linux-m68k.org> writes:

> Jambunathan K <kjambunathan@gmail.com> 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.


[-- Attachment #2: with-destructuring.txt --]
[-- Type: text/plain, Size: 801 bytes --]

\f
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

[-- Attachment #3: without-destructuring.txt --]
[-- Type: text/plain, Size: 1963 bytes --]

\f
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

  reply	other threads:[~2014-03-08 12:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-05 15:40 byte-compiler does *not* complain about missing case or loop Jambunathan K
2014-03-07 20:03 ` Stefan Monnier
2014-03-08  3:29   ` Jambunathan K
2014-03-08  7:53     ` Andreas Schwab
2014-03-08 12:39       ` Jambunathan K [this message]
2014-03-09 12:45         ` Andreas Schwab
2014-03-09 12:26     ` Stefan Monnier
2014-03-09 14:38       ` Jambunathan K
2014-03-10  4:33         ` Stefan Monnier
2014-03-10  6:48           ` Jambunathan K
2014-03-10 14:20             ` Stefan Monnier
2014-03-11  4:12               ` Jambunathan K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87siqsoodn.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).