emacs-devel
[Top][All Lists]
Advanced

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

Re: Typing raw bytes


From: Richard Stallman
Subject: Re: Typing raw bytes
Date: Mon, 21 Jan 2013 09:19:54 -0500

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

Insertion and deletion would be a good feature to add.

    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.

Perhaps find-file-literally should set keyboard-coding-system so that
this does the right thing.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call




reply via email to

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