emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Typing raw bytes


From: Stefan Monnier
Subject: Re: Typing raw bytes
Date: Sun, 20 Jan 2013 20:40:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> I tried "M-x hexl-mode RET" in a new buffer, but it evidently doesn't
> let you insert bytes, only edit existing bytes.

nhexl-mode should let you do that.

> Next I tried "C-x RET f raw-text RET" in a new buffer followed by
> "C-q NNN" etc., but the data written thereafter to disk is more bytes
> than I typed, because, I guess, "C-q NNN" inserts windows-1255
> characters (this is on Windows, where keyboard-coding-system is
> windows-1255-unix), and what winds up in the file is their UTF-8
> encoding.

Subsequent messages explain it seems to be due to the C-q NNN char being
passed through keyboard-coding-system: that seems to be a bug.
Another problem might be that C-x RET f raw-text RET should try to put
the buffer in unibyte mode.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]