From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#12925: 24.1; string-make-unibyte instead of string-as-unibyte Date: Sun, 18 Nov 2012 21:27:17 -0500 Message-ID: References: <87wqxi24b3.fsf@betacantrips.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1353292094 13789 80.91.229.3 (19 Nov 2012 02:28:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 02:28:14 +0000 (UTC) Cc: 12925@debbugs.gnu.org To: Ethan Glasser-Camp Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 19 03:28:24 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TaH5v-0001dS-CD for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 03:28:19 +0100 Original-Received: from localhost ([::1]:40169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaH5l-00055F-3h for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Nov 2012 21:28:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaH5g-00053L-CY for bug-gnu-emacs@gnu.org; Sun, 18 Nov 2012 21:28:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaH5d-0005zu-AT for bug-gnu-emacs@gnu.org; Sun, 18 Nov 2012 21:28:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaH5d-0005zo-6H for bug-gnu-emacs@gnu.org; Sun, 18 Nov 2012 21:28:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TaH6b-0006RU-QA for bug-gnu-emacs@gnu.org; Sun, 18 Nov 2012 21:29:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Nov 2012 02:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12925 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12925-submit@debbugs.gnu.org id=B12925.135329210324715 (code B ref 12925); Mon, 19 Nov 2012 02:29:01 +0000 Original-Received: (at 12925) by debbugs.gnu.org; 19 Nov 2012 02:28:23 +0000 Original-Received: from localhost ([127.0.0.1]:53818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TaH5z-0006Qa-Hl for submit@debbugs.gnu.org; Sun, 18 Nov 2012 21:28:23 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:33632) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TaH5x-0006QT-NC for 12925@debbugs.gnu.org; Sun, 18 Nov 2012 21:28:22 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09sr+ZY/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOIQppxgViDBw X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="207921724" Original-Received: from 108-175-230-88.dsl.teksavvy.com (HELO pastel.home) ([108.175.230.88]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 18 Nov 2012 21:27:18 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 53DED597C1; Sun, 18 Nov 2012 21:27:17 -0500 (EST) In-Reply-To: <87wqxi24b3.fsf@betacantrips.com> (Ethan Glasser-Camp's message of "Sun, 18 Nov 2012 12:45:20 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: 0.8 (/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:67150 Archived-At: > Why does inserting multibyte text into a unibyte buffer corrupt it > like this? Because the right thing (i.e. signaling an error) was not backward compatible with broken code that assumed that chars can be presented with 8bit (i.e. code written in the glory days of latin-N, koi-8, ...). We could/should probably try to do the right thing now, since such broken code is probably much less common. Stefan