emacs-devel
[Top][All Lists]
Advanced

[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 19:30:15 +0000
User-agent: KMail/1.9.7

On Wednesday 16 January 2008, David Golden wrote:

> x-coding-header happens to have a value #<marker at 190 in RMAIL>

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)
...


















reply via email to

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