From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Golden Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; rmail-redecode-body finishing with error "Invalid Search Bound" Date: Wed, 16 Jan 2008 19:30:15 +0000 Message-ID: <200801161930.15629.david.golden@oceanfree.net> References: <200801070421.26583.david.golden@oceanfree.net> <200801161633.44000.david.golden@oceanfree.net> <200801161757.17982.david.golden@oceanfree.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200511852 13430 80.91.229.12 (16 Jan 2008 19:30:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2008 19:30:52 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 16 20:31:10 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JFDyb-00025i-BE for ged-emacs-devel@m.gmane.org; Wed, 16 Jan 2008 20:31:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFDyC-0003Bm-8G for ged-emacs-devel@m.gmane.org; Wed, 16 Jan 2008 14:30:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JFDy7-00039V-UG for emacs-devel@gnu.org; Wed, 16 Jan 2008 14:30:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JFDy4-000379-3O for emacs-devel@gnu.org; Wed, 16 Jan 2008 14:30:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFDy3-00036x-TN for emacs-devel@gnu.org; Wed, 16 Jan 2008 14:30:31 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JFDy3-0004c2-Jf for emacs-devel@gnu.org; Wed, 16 Jan 2008 14:30:31 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JFDy3-0000ST-C3 for emacs-pretest-bug@gnu.org; Wed, 16 Jan 2008 14:30:31 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JFDxy-0004bI-4s for emacs-pretest-bug@gnu.org; Wed, 16 Jan 2008 14:30:29 -0500 Original-Received: from mail08.svc.cra.dublin.eircom.net ([159.134.118.24]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JFDxu-0004ag-Dc for emacs-pretest-bug@gnu.org; Wed, 16 Jan 2008 14:30:25 -0500 Original-Received: (qmail 14355 messnum 6797594 invoked from network[86.43.169.186/86-43-169-186.b-ras2.prp.dublin.eircom.net]); 16 Jan 2008 19:30:20 -0000 Original-Received: from 86-43-169-186.b-ras2.prp.dublin.eircom.net (HELO golden1.local) (86.43.169.186) by mail08.svc.cra.dublin.eircom.net (qp 14355) with SMTP; 16 Jan 2008 19:30:20 -0000 User-Agent: KMail/1.9.7 In-Reply-To: <200801161757.17982.david.golden@oceanfree.net> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86986 gmane.emacs.pretest.bugs:20679 Archived-At: On Wednesday 16 January 2008, David Golden wrote: > x-coding-header happens to have a value # Okay, slowly getting there... stepping through carefully... N.B. decode-coding-region is apparently C code. Maybe some funny structure sharing going on? Before call to (decode-coding-region (point) msgend coding) [shown at *** below in rmail-redecode-body] : rmail-message-vector contains 3 markers at 1, 183, 1176 (equal (aref rmail-message-vector 2) x-coding-header) => nil (point) => 223 msgend [variable] => 1176 coding [variable] => iso-latin1-unix result of call => "953" After call: rmail-message-vector contains 3 markers at 1, 183, 223 (equal (aref rmail-message-vector 2) x-coding-header) => t (point) => 223 msgend [variable] => 1176 coding [variable] => iso-latin1-unix *** line 2941 of rmail.el ... (encode-coding-region (point) msgend old-coding)) ===> (decode-coding-region (point) msgend coding) (setq last-coding-system-used coding) ;; Rewrite the coding-system header according ;; to what we did. (goto-char x-coding-header) ...