Questions tagged [binary]

The tag has no usage guidance.

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

Emacs Calc IEEE 754 binary representation

Does Emacs Calc have IEEE 754 representation for binary numbers? I found only "The Calculator’s arithmetic is not intended to be IEEE-conformant in any way", but I try maybe there is a ...
0 votes
2 answers
167 views

What makes the emacs binary file to be so large?

I have compiled emacs from source on Linux Mint 21 Cinnamon getting in the [src] folder after compilation four identical executables (see the question Why are there four identical executables ...
5 votes
3 answers
625 views

How can I convert hexidecimal values to base 10 in hexl-mode?

A nice feature of viewing binary files with hexl-mode is it displays the equivalent ASCII values to the right of your hexidecimal lines. Is there a way to make hexl-mode treat hex values as floats, ...
0 votes
0 answers
121 views

Detect whether a file is "binary" from elisp

I am wondering whether current versions of Emacs have any built in mechanism for guessing whether a file (that my elisp code is about to load, or perhaps has just loaded, into a buffer) is 'binary' ...
8 votes
2 answers
2k views

Make emacs automatically open binary files in hexl-mode

How can I make emacs automatically open binary files in hexl-mode? It's probably sufficient to define "binary" as "contains a null byte" (I suppose https://github.com/audreyr/binaryornot could be used ...
0 votes
1 answer
69 views

How to bind-pack list of null terminated strings?

According to the bindat spec docs, there are two specs to pack strings. They are str and strz. Both are for a fixed length string. Now, suppose I want to pack ("some" "list" "of" "string), I should ...
0 votes
1 answer
2k views

Convert hex to int, little endian

I want to use Emacs to quickly convert hex to decimal. If I type M-: #x1234 (i.e. 0x12 0x34), I get 4460 which (I think) means Emacs is interpreting it as big endian. How might I convert hex to ...
26 votes
4 answers
17k views

Prebuilt Ubuntu Emacs "25.1"

Where can I find pre-built Emacs for what Ubuntu calls emacs 25.1?
2 votes
1 answer
924 views

Why is the emacs-25.1-2 binary for Windows so big?

why is it so big? almost twice the size of 25.1 what's new with it?
4 votes
1 answer
214 views

Why are there 2 exact same Emacs Binaries in the bin folder?

In the Windows Binary release, if you look at the bin folder, you can see a binary file Emacs.exe and another one Emacs25.1.exe, these 2 files are exactly the same. And it seems that deleting Emacs25....
0 votes
1 answer
495 views

nhexl-mode shows bytes 80-ff with 6-digit hex 3fff80–3fffff

When I open a file and activate nhexl-mode, non-ASCII characters are shown as 3fffxx in the hex column instead of xx. This disrupts the alignment. I observed this on Emacs 23.2 and 24.4 started with ...
6 votes
1 answer
180 views

Batch loading binary files

I just discovered vlf-mode (View Large Files) and I am using it to view a large binary file in hexl-mode and read certain metadata from headers within the file. It works great, with one exception. ...