From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Org-Mode mailing list <emacs-orgmode@gnu.org>
Subject: make update2 and ob-comint.el bugs
Date: Sat, 23 Apr 2016 18:57:44 -0700 [thread overview]
Message-ID: <alpine.OSX.2.20.1604231830390.5914@charles-berrys-macbook.local> (raw)
Summary: ob-comint.elc compiled with `make update2' fails, but
ob-comint.elc byte compiled via dired or with `emacs-lisp-byte-compile'
succeeds.
===
I recently pushed a fix [1] for ob-comint.el or so I thought. See [2] for
info on the bug.
First, I tested the fix on my own system by eval'ing ob-comint.el and
running some tests (including `make test' FWIW).
I also byte-compiled the code using `dired-do-byte-compile', loaded that
and ran more tests. All good.
Then I pushed that commit to master.
When I did `make update2' the compiled fixes did not work. But loading
`ob-comint.el' works, and compiling via `dired-do-byte-compile' works and
loading the result also works.
What?!
So I tried to undo the damage with two more commits, but in each case the
`make update2' step generated code that was buggy.
I see that `make update2' uses `byte-recompile-directory' and indeed
running that gives a different (larger) ob-comint.elc than does
`dired-do-byte-compile'. But both eventually use `byte-compile-file', and
AFAICS the optimization level is the same in both cases. So I am baffled.
Any advice on how to produce code that works when compiled with `make
update2' or just to understand what gives here is appreciated.
Best,
Chuck
[1] commit e42454088ff1176cce9cc65a4bd1c6f17fe958ec
[2]<http://permalink.gmane.org/gmane.emacs.orgmode/106557>
next reply other threads:[~2016-04-24 1:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-24 1:57 Charles C. Berry [this message]
2016-04-24 3:19 ` make update2 and ob-comint.el bugs Charles C. Berry
2016-04-24 4:29 ` Charles C. Berry
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.OSX.2.20.1604231830390.5914@charles-berrys-macbook.local \
--to=ccberry@ucsd.edu \
--cc=emacs-orgmode@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.