From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2416: 23.0.60; decode-coding-region Date: Sun, 22 Feb 2009 03:47:03 +0100 Message-ID: References: <499f1cdd.050cc00a.4267.ffffc0ce@mx.google.com> Reply-To: Juanma Barranquero , 2416@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1235271884 13467 80.91.229.12 (22 Feb 2009 03:04:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Feb 2009 03:04:44 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: mj , 2416@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 22 04:05: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 1Lb4ec-00028e-NX for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Feb 2009 04:05:42 +0100 Original-Received: from localhost ([127.0.0.1]:52229 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lb4dI-0006pA-HK for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2009 22:03:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lb4d6-0006lc-8s for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 22:03:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lb4d4-0006l7-N9 for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 22:03:43 -0500 Original-Received: from [199.232.76.173] (port=60712 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lb4d4-0006l2-Hd for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 22:03:42 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53032) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lb4d0-0005gs-Jn for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 22:03:39 -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 n1M33a08017879; Sat, 21 Feb 2009 19:03:36 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1M2t6IM015750; Sat, 21 Feb 2009 18:55:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juanma Barranquero Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 22 Feb 2009 02:55:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2416 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2416-submit@emacsbugs.donarmstrong.com id=B2416.123527082814181 (code B ref 2416); Sun, 22 Feb 2009 02:55:06 +0000 Original-Received: (at 2416) by emacsbugs.donarmstrong.com; 22 Feb 2009 02:47:08 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1M2l4C2014173 for <2416@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 18:47:06 -0800 Original-Received: by ug-out-1314.google.com with SMTP id u2so169400uge.14 for <2416@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 18:47:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3DAhhLvhyneB0gLpb6zkyOs7fwqa7XFFcR4vCztGN70=; b=dUp8XHUm29QLYp5Bh/76kL68J28ehaYWe7kxPGUujR+X5yPrydgt+CGqqwSfO03y7t yFlSqV4YVpUpjsjUwh/+NtuHutzoO3Zu+5WehQMLbAYSlA/bdl2aRmZc6ez3uSBb5OdX 5Wd15o5bA7zc9yZtuutttFzH7wYypTaBSFVxE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=VGVLT2lZDLqc0Rhy7E0bXTsJHBfsCBXqxqD05AGdzYcBhU8hQY93EzKxsV6cb86izL 8d3aDwfOe0v7Cl8Qdwhmf281nPahBB6yof399qWh0Gt/6SSieyFmJuiVDcrcCQ/qazzW m2QvG6+9+13s/dQ6mnUnJTZhmJjxxfiX9wRwI= Original-Received: by 10.210.59.3 with SMTP id h3mr2108606eba.122.1235270823934; Sat, 21 Feb 2009 18:47:03 -0800 (PST) In-Reply-To: <499f1cdd.050cc00a.4267.ffffc0ce@mx.google.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 21 Feb 2009 22:03:43 -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:25575 gmane.emacs.pretest.bugs:23965 Archived-At: On Fri, Feb 20, 2009 at 22:13, mj wrote: > (apply 'decode-coding-region (point-min) (point-max) 'us-ascii nil) > > The original buffer content would be something like this: > > B7040400-12 > some text here > > after decode-coding-region is executed, the buffer content became: > > ^@7040450-12 > some text here > > Where ^@ is actually binary code \0 (not ascii ^ and @). There is another instance > that a string was decoded and the result is ^@ prefixed. Could it be related to bug#1809? (with-temp-buffer (insert (make-string 20 ?.)) (decode-coding-region 1 (point-max) 'raw-text) (buffer-string)) => "^@..................." Juanma