Questions tagged [bytecode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
197 views

error: Invalid byte opcode: op=183, ptr=2

I byte-compile my ~/.emacs.d/init.el. It was done by Emacs 26.1 from Cygwin and I got error when load emacs-nox 25.2 from Debian WSL: error: Invalid byte opcode: op=183, ptr=2 Were new opcodes ...
0
votes
2answers
49 views

Generating a single byte-compiled file from more sources

I have a relatively large elisp file which starts becoming hard to maintain and I am going to split it into smaller files. However, for my use case, it would be still convenient to have a single byte-...
3
votes
2answers
223 views

Disassembly of a bytecode *file*?

There is a disassembler for functions, but is there something that will disassemble a bytecode file? Thoughts on how to accomplish?
4
votes
0answers
168 views

Is there an ELISP decompiler?

I'm thinking of writing one so that when I get those horrible tracebacks from bytecode files, I can better see where I was at. Is there one already? Are there any other tools for showing an error ...
4
votes
1answer
126 views

Elisp backtrace print garbage messages

I'm using emacs 25.2 on osx 10.12 and following elisp intro to produce some error message intentionally. (This is a list) After I run C-x C-e on this line. A backtrace buffer appeared as supposed ...
0
votes
0answers
57 views

Error when trying to save a file as root using Tramp and sudo

I am following the directions laid out in this answer to edit my sshd_config file. However when I try to save I get: byte-code: Wrong type argument: listp, 126 Does anybody know why this would be ...
9
votes
2answers
215 views

Portability of bytecode between Emacs versions

I sometimes run multiple versions of Emacs from the same home directory. I have a number of byte-compiled files. Bytecode is not compatible across all Emacs versions, so I maintain separate ...
5
votes
1answer
402 views

What does a byte compiled Emacs file contains and how is it executed?

I didn't know byte compiled emacs files (.elc) were actually version-specific until Malabarba pointed that to me. So this made me ask what do those files actually contain and how does their ...
8
votes
2answers
231 views

Argspec or arity of a bytecode function in Emacs 24

I have code that tests the arity of a function. I use it to determine whether optional arguments added in recent versions of a package are present. It calls subr-arity for built-in functions and ...