From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: Typing raw bytes Date: Sun, 20 Jan 2013 16:43:02 -0500 Message-ID: <87wqv7zg2h.fsf@maru.md5i.com> References: <83hambpqds.fsf@gnu.org> <8738xv1sni.fsf@maru.md5i.com> <83ehhfpmk1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1358719453 19953 80.91.229.3 (20 Jan 2013 22:04:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2013 22:04:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 20 23:04:31 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 1Tx30A-0001sA-7G for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2013 23:04:30 +0100 Original-Received: from localhost ([::1]:47103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tx2zt-0002i7-1z for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2013 17:04:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tx2fV-0006kW-4z for emacs-devel@gnu.org; Sun, 20 Jan 2013 16:43:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tx2fS-0007cl-Jg for emacs-devel@gnu.org; Sun, 20 Jan 2013 16:43:09 -0500 Original-Received: from md5i.com ([75.151.244.229]:56833 helo=maru.md5i.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tx2fP-0007bX-Ni; Sun, 20 Jan 2013 16:43:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=QPmzkR6EgjWJ27c4PaErCNu2biPjUzf9CPjnoQoMMrM=; b=ZRwOmXUu6k1XTQq1/c+ecbC45t+eukNk4peu18ZC9PK+/pD29Vv29gkx/2xy0u+zA3RWadfIXg6qVi8pJH8UwVtnmlNJVIImVRiIcgHWG2lAon7mc+BQgihQbdhvEzpi; Original-Received: from md5i by maru.md5i.com with local (Exim 4.80) (envelope-from ) id 1Tx2fP-0007gG-1a; Sun, 20 Jan 2013 16:43:03 -0500 In-Reply-To: <83ehhfpmk1.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 20 Jan 2013 23:33:02 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 75.151.244.229 X-Mailman-Approved-At: Sun, 20 Jan 2013 17:04:09 -0500 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:156517 Archived-At: Eli Zaretskii writes: >> From: Michael Welsh Duggan >> Cc: emacs-devel@gnu.org >> Date: Sun, 20 Jan 2013 15:55:13 -0500 >> >> Could you give an example that fails to do what is expected? I tried >> what you referenced above, using "C-x RET f raw-text RET" and C-q insert >> bytes. Saving the file worked just fine, resulting in the expected file >> length. "M-x find-file-literally" on the resulting file also seemed to >> work just fine. Note, however, that I am running Emacs under GNU/Linux. > > If that was a GUI session, then on GNU/Linux there's no decoding of > keyboard input. Try in a TTY session instead. Ah, ha! I see. Yes, I would have to call that a bug. Regardless of whether the extraneous \302 characters I am getting are incorrect (and I agree with you that they are), the fact that the results are different in a GUI and a terminal session is definitely a bug. -- Michael Welsh Duggan (md5i@md5i.com)