unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Christian Wittern <cwittern@gmail.com>
To: Glenn Morris <rgm@gnu.org>, 26824@debbugs.gnu.org
Subject: bug#26824: 24.5; Bytecode overflow error when byte compiling large .el file
Date: Tue, 9 May 2017 07:46:57 +0900	[thread overview]
Message-ID: <ba0581d3-fdb3-0116-4aa4-2c60115f5aae@gmail.com> (raw)
In-Reply-To: <givapbi9p1.fsf@fencepost.gnu.org>



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





  reply	other threads:[~2017-05-08 22:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-08  7:03 bug#26824: 24.5; Bytecode overflow error when byte compiling large .el file Christian Wittern
2017-05-08 16:40 ` Glenn Morris
2017-05-08 22:46   ` Christian Wittern [this message]
2017-05-15  0:49     ` Glenn Morris
2017-05-16  0:24     ` Michael Heerdegen
2017-05-16  2:08       ` Christian Wittern
2017-05-16  3:16         ` npostavs
2017-05-16  3:21   ` npostavs

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=ba0581d3-fdb3-0116-4aa4-2c60115f5aae@gmail.com \
    --to=cwittern@gmail.com \
    --cc=26824@debbugs.gnu.org \
    --cc=rgm@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).