From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#1215: 23.0.60; unibyte->multibyte conversion problem (in Date: Sat, 17 Jan 2009 12:10:17 +0200 Message-ID: References: Reply-To: Eli Zaretskii , 1215@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1232187827 30222 80.91.229.12 (17 Jan 2009 10:23:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Jan 2009 10:23:47 +0000 (UTC) Cc: lekktu@gmail.com To: Stefan Monnier , 1215@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 17 11:24:59 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LO8ML-0006Wt-5G for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Jan 2009 11:24:57 +0100 Original-Received: from localhost ([127.0.0.1]:58584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LO8L3-00051a-UH for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Jan 2009 05:23:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LO8Ky-00051U-6u for bug-gnu-emacs@gnu.org; Sat, 17 Jan 2009 05:23:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LO8Kw-00051E-Kk for bug-gnu-emacs@gnu.org; Sat, 17 Jan 2009 05:23:31 -0500 Original-Received: from [199.232.76.173] (port=48708 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LO8Kw-00051B-Fm for bug-gnu-emacs@gnu.org; Sat, 17 Jan 2009 05:23:30 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36504) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LO8Kv-0005Ep-Or for bug-gnu-emacs@gnu.org; Sat, 17 Jan 2009 05:23:30 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0HANQis009700; Sat, 17 Jan 2009 02:23:27 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0HAK3Eb008648; Sat, 17 Jan 2009 02:20:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 17 Jan 2009 10:20:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1215 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1215-submit@emacsbugs.donarmstrong.com id=B1215.12321870257223 (code B ref 1215); Sat, 17 Jan 2009 10:20:03 +0000 Original-Received: (at 1215) by emacsbugs.donarmstrong.com; 17 Jan 2009 10:10:25 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout1.012.net.il (mtaout1.012.net.il [84.95.2.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0HAAKQU007118 for <1215@emacsbugs.donarmstrong.com>; Sat, 17 Jan 2009 02:10:22 -0800 Original-Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KDM001001K7WI00@i-mtaout1.012.net.il> for 1215@emacsbugs.donarmstrong.com; Sat, 17 Jan 2009 12:10:26 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.144.144]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KDM00LR91LDLS00@i-mtaout1.012.net.il>; Sat, 17 Jan 2009 12:10:26 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 17 Jan 2009 05:23:31 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24227 Archived-At: > From: Stefan Monnier > Date: Fri, 16 Jan 2009 15:56:44 -0500 > Cc: 1215@emacsbugs.donarmstrong.com > > > but according to raw-text-unix's description: > > > t -- raw-text-unix > > > Raw text, which means text contains random 8-bit codes. > > Encoding text with this coding system produces the actual byte > > sequence of the text in buffers and strings. An exception is made for > > eight-bit-control characters. Each of them is encoded into a single > > byte. > > > you can save (almost) anything with it. What is the bug? > > The bug is that you can currently save (almost) anything with it. This is > due to historical reasons, where different notions of "no encoding" were > mixed up. So on save, raw-text-unix behaves pretty much like > utf-8-mule under Emacs-23 and emacs-mule under Emacs-22. On load, it > behaves pretty much like `binary'. I documented this in the ELisp manual.