[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.60; rmail-redecode-body finishing with error "Invalid Search Bo

From: David Golden
Subject: Re: 23.0.60; rmail-redecode-body finishing with error "Invalid Search Bound"
Date: Wed, 16 Jan 2008 04:02:17 +0000
User-agent: KMail/1.9.7

On Tuesday 15 January 2008, martin rudalics wrote:
>  > Attached please find a RMAIL.redecode file with a single
>  > iso-8859-1 message.  Steps to reproduce (still only tested on
>  > emacs-unicode-2, sorry):
> Could you please edebug `rmail-redecode-body' to find out where the
> bug happens?

Apparently happens at call to search-forward in rmail-show-message 
when called by rmail-redecode-body.

###### rmail-redecode-body (call on line 2953 of rmail.el*):
                    (insert "X-Coding-System: "
                            (symbol-name last-coding-system-used))
                    (set-marker x-coding-header nil)
===>                (rmail-show-message))
                (error "No X-Coding-System header found")))
          (or pruned
              (rmail-toggle-header 0)))))))


###### rmail-show-message (error on line 2810 of rmail.el*):
              (if (prog1 (= (following-char) ?0)
                    (forward-line 2)
                    ;; If there's a Summary-line in the (otherwise empty)
                    ;; header, we didn't yet get past the EOOH line.
                    (if (looking-at "^\\*\\*\\* EOOH \\*\\*\\*\n")
                        (forward-line 1))
                    (narrow-to-region (point) end))
===>            (search-forward "\n*** EOOH ***\n" end t))

$ cvs status rmail.el
File: rmail.el          Status: Up-to-date

   Working revision:    1.371.4.45
   Repository revision: 
1.371.4.45      /sources/emacs/emacs/lisp/mail/rmail.el,v
   Commit Identifier:   1aIpZ3a7YSjt0GMs
   Sticky Tag:          emacs-unicode-2 (branch: 1.371.4)
   Sticky Date:         (none)
   Sticky Options:      (none)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]