From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; rmail-redecode-body finishing with error "Invalid Search Bound" Date: Thu, 17 Jan 2008 08:47:42 +0100 Message-ID: <478F081E.60807@gmx.at> References: <200801070421.26583.david.golden@oceanfree.net> <200801162036.07860.david.golden@oceanfree.net> <478E74AD.6090104@gmx.at> <200801162134.42095.david.golden@oceanfree.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060802040206090004030606" X-Trace: ger.gmane.org 1200556571 8864 80.91.229.12 (17 Jan 2008 07:56:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2008 07:56:11 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: David Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 17 08:56:29 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 1JFPbv-0004K3-01 for ged-emacs-devel@m.gmane.org; Thu, 17 Jan 2008 08:56:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFPbW-0006hW-7m for ged-emacs-devel@m.gmane.org; Thu, 17 Jan 2008 02:56:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JFPbR-0006hR-UT for emacs-devel@gnu.org; Thu, 17 Jan 2008 02:55:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JFPbP-0006es-4y for emacs-devel@gnu.org; Thu, 17 Jan 2008 02:55:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFPbO-0006ep-Tk for emacs-devel@gnu.org; Thu, 17 Jan 2008 02:55:54 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JFPbO-0007kF-Mm for emacs-devel@gnu.org; Thu, 17 Jan 2008 02:55:54 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JFPbN-0008J5-TS for emacs-pretest-bug@gnu.org; Thu, 17 Jan 2008 02:55:53 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JFPbL-0007jf-0V for emacs-pretest-bug@gnu.org; Thu, 17 Jan 2008 02:55:54 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JFPbK-0007jP-CH for emacs-pretest-bug@gnu.org; Thu, 17 Jan 2008 02:55:50 -0500 Original-Received: (qmail invoked by alias); 17 Jan 2008 07:55:47 -0000 Original-Received: from N950P012.adsl.highway.telekom.at (EHLO [62.47.62.172]) [62.47.62.172] by mail.gmx.net (mp058) with SMTP; 17 Jan 2008 08:55:47 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/3yWVk/m/3rbpAL92WSCOI00tClzLEzwsXjlYhzT rrImMYKGtQMwZV User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <200801162134.42095.david.golden@oceanfree.net> X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) 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:87008 gmane.emacs.pretest.bugs:20687 Archived-At: This is a multi-part message in MIME format. --------------060802040206090004030606 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit > Yes in this case, though presumably it's not ultimately quite the > right place for the fix? I'm not sure whether I fixed all possible places where this is set up. Could you please try the attached patch and use it for a while? --------------060802040206090004030606 Content-Type: text/plain; name="rmail.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rmail.patch" *** mail/rmail.el.~1.445.~ Sun Jan 13 19:12:48 2008 --- mail/rmail.el Thu Jan 17 08:43:00 2008 *************** *** 2634,2640 **** ;; the end of message N. (N = number of messages). (search-backward "\n\^_") (forward-char 1) ! (setq messages-head (list (point-marker))) (rmail-set-message-counters-counter (point-min)) (setq rmail-current-message (1+ rmail-total-messages)) (setq rmail-total-messages --- 2634,2640 ---- ;; the end of message N. (N = number of messages). (search-backward "\n\^_") (forward-char 1) ! (setq messages-head (list (copy-marker (point) t))) (rmail-set-message-counters-counter (point-min)) (setq rmail-current-message (1+ rmail-total-messages)) (setq rmail-total-messages *************** *** 2675,2681 **** ;; the end of message N. (N = number of messages). (search-backward "\n\^_" nil t) (if (/= (point) (point-max)) (forward-char 1)) ! (setq messages-head (list (point-marker))) (rmail-set-message-counters-counter (min (point) point-save)) (setq messages-after-point total-messages) (rmail-set-message-counters-counter) --- 2675,2681 ---- ;; the end of message N. (N = number of messages). (search-backward "\n\^_" nil t) (if (/= (point) (point-max)) (forward-char 1)) ! (setq messages-head (list (copy-marker (point) t))) (rmail-set-message-counters-counter (min (point) point-save)) (setq messages-after-point total-messages) (rmail-set-message-counters-counter) *************** *** 3775,3783 **** forward-buffer) (insert "------- Start of forwarded message -------\n") ;; Quote lines with `- ' if they start with `-'. ! (let ((beg (point)) end) ! (setq end (point-marker)) ! (set-marker-insertion-type end t) (insert-buffer-substring forward-buffer) (goto-char beg) (while (re-search-forward "^-" end t) --- 3775,3782 ---- forward-buffer) (insert "------- Start of forwarded message -------\n") ;; Quote lines with `- ' if they start with `-'. ! (let ((beg (point)) ! (end (copy-marker (point) t))) (insert-buffer-substring forward-buffer) (goto-char beg) (while (re-search-forward "^-" end t) --------------060802040206090004030606 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --------------060802040206090004030606--