GNU bug report logs - #26824
24.5; Bytecode overflow error when byte compiling large .el file

Previous Next

Package: emacs;

Reported by: Christian Wittern <cwittern <at> gmail.com>

Date: Mon, 8 May 2017 07:04:01 UTC

Severity: minor

Merged with 49718

Found in versions 24.5, 28.0.50

Full log


Message #11 received at 26824 <at> debbugs.gnu.org (full text, mbox):

From: Christian Wittern <cwittern <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>, 26824 <at> debbugs.gnu.org
Subject: Re: bug#26824: 24.5; Bytecode overflow error when byte compiling
 large .el file
Date: Tue, 9 May 2017 07:46:57 +0900

On 05/09/2017 01:40 AM, Glenn Morris wrote:
> Christian Wittern wrote:
>
>> I installed the package "mandoku" from melpa.  The latest version
>> includes a file "mandoku-cbeta.el".  When installing the package, this
>> file should be compiled, but the overflow error prevents this.
> I see that file basically contains a 16000 line nested cond, with one
> branch per line, and has now been marked no-byte-compile (by you, I'm
> guessing from the name?).
>
> https://github.com/mandoku/mandoku/commit/0e733fdaea77150539455656c2e6af08d19611b0
>
Yes, that is right.  This file is a bit of a crazy thing, if there is a 
better way to achieve this, I would be glad to know.  And I did mark it 
as no-byte-compile, but it seems that this has no effect, since when 
installed as a package the installer still attempts to byte compile it.
All the best,
Christian




This bug report was last modified 3 years and 193 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.