From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Typing raw bytes Date: Mon, 21 Jan 2013 09:19:54 -0500 Message-ID: References: <83hambpqds.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1358778007 5229 80.91.229.3 (21 Jan 2013 14:20:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2013 14:20:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 21 15:20:25 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TxIET-0003UU-Rl for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2013 15:20:17 +0100 Original-Received: from localhost ([::1]:48083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxIEC-0005oD-ET for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2013 09:20:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxIE9-0005o5-Eg for emacs-devel@gnu.org; Mon, 21 Jan 2013 09:19:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxIE8-0003r6-6L for emacs-devel@gnu.org; Mon, 21 Jan 2013 09:19:57 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxIE8-0003r0-3p for emacs-devel@gnu.org; Mon, 21 Jan 2013 09:19:56 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TxIE6-0000ji-JS; Mon, 21 Jan 2013 09:19:54 -0500 In-reply-to: <83hambpqds.fsf@gnu.org> (message from Eli Zaretskii on Sun, 20 Jan 2013 22:10:23 +0200) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156539 Archived-At: 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