From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: MJ Newsgroups: gmane.emacs.bugs Subject: bug#2416: 23.0.60; decode-coding-region Date: Sun, 22 Feb 2009 00:23:31 -0500 Message-ID: References: <499f1cdd.050cc00a.4267.ffffc0ce@mx.google.com> Reply-To: MJ , 2416@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015174bdd0833839904637b16b8 X-Trace: ger.gmane.org 1235281439 31098 80.91.229.12 (22 Feb 2009 05:43:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Feb 2009 05:43:59 +0000 (UTC) Cc: Chong Yidong , 2416@emacsbugs.donarmstrong.com To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 22 06:45:12 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 1Lb79I-0001nM-N4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Feb 2009 06:45:08 +0100 Original-Received: from localhost ([127.0.0.1]:57306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lb77y-0004mT-Eg for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Feb 2009 00:43:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lb77s-0004kg-Ew for bug-gnu-emacs@gnu.org; Sun, 22 Feb 2009 00:43:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lb77r-0004kU-6c for bug-gnu-emacs@gnu.org; Sun, 22 Feb 2009 00:43:39 -0500 Original-Received: from [199.232.76.173] (port=44077 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lb77r-0004kR-1J for bug-gnu-emacs@gnu.org; Sun, 22 Feb 2009 00:43:39 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52310) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lb77q-00073W-DE for bug-gnu-emacs@gnu.org; Sun, 22 Feb 2009 00:43:38 -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 n1M5hac3026244; Sat, 21 Feb 2009 21:43:36 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1M5U3Ae022760; Sat, 21 Feb 2009 21:30:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: MJ Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 22 Feb 2009 05:30:03 +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.123528021521399 (code B ref 2416); Sun, 22 Feb 2009 05:30:03 +0000 Original-Received: (at 2416) by emacsbugs.donarmstrong.com; 22 Feb 2009 05:23:35 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1M5NVpL021393 for <2416@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 21:23:33 -0800 Original-Received: by yx-out-2324.google.com with SMTP id 8so592335yxg.31 for <2416@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 21:23:31 -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; bh=jmGLyxpDvrm4SN/iVwnae0v6DWTuZzTEb4U/1ydjlQc=; b=EZr3VrbtVSzO8qZDEUqYM6YkFiEKhRhv7qqnLQkcnhxL94uBCZRC42tPX0bhMQTRVJ 3zNyZQkt3YFUFM7PzDSSUOU4r2BImp2VoyYKqJy0U31OBq8PHB9VGIrUdraxcEkzkW8T 00a/UN3WBF0CPOg8Oflapbb045JmWvY4rspkI= 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; b=CagQQr/EiULAxPHzjWI+0ebOcqbtC14u+ZorBc6YaSUij3NobahHMnvCJQAmp4OmFO 6wdxNz14HJa3pLyKiaiOc+jXfdZxiGWEd3PQELYlhIwOjR3B1HvxafQkSC9BpZR4wBaJ N7Gu+jVrVkiPrwpTtuMoHMZCz36gf7+ikWaxQ= Original-Received: by 10.151.78.15 with SMTP id f15mr3860533ybl.131.1235280211444; Sat, 21 Feb 2009 21:23:31 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 22 Feb 2009 00:43:39 -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:25579 Archived-At: --0015174bdd0833839904637b16b8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Indeed, including newline, the buffer length is exactly 20 bytes in two cases where they are ascii. In another case, it's BIG5 Chinese (each BIG5 code is two bytes), and the total is also 20 bytes. Thanks for pointing it out. On Sun, Feb 22, 2009 at 12:13 AM, Juanma Barranquero wrote: > On Sun, Feb 22, 2009 at 06:07, MJ wrote: > > > If a space is inserted at the beginning of the buffer, then the result is > > correct (as stated in my bug report): > > If you look at #1809, you'll see that the problem seems to be > sensitive to string length. Assuming you're using ASCII, do you see it > with strings of length != 20? > > Juanma > --0015174bdd0833839904637b16b8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Indeed, including newline, the buffer length is exactly 20 bytes in two cas= es where they are ascii. In another case, it's BIG5 Chinese (each BIG5 = code is two bytes), and the total is also 20 bytes. Thanks for pointing it = out.

On Sun, Feb 22, 2009 at 12:13 AM, Juanma Bar= ranquero <lekktu@g= mail.com> wrote:
On Sun, Feb 22, 2009 at 06:07, MJ <mj54590@gmail.com> wrote:

> If a space is inserted at the beginning of the buffer, then the result= is
> correct (as stated in my bug report):

If you look at #1809, you'll see that the problem seems to be
sensitive to string length. Assuming you're using ASCII, do you see it<= br> with strings of length !=3D 20?

   Juanma

--0015174bdd0833839904637b16b8--