all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Golden <david.golden@oceanfree.net>
To: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60;	rmail-redecode-body finishing with error "Invalid Search Bound"
Date: Wed, 16 Jan 2008 19:30:15 +0000	[thread overview]
Message-ID: <200801161930.15629.david.golden@oceanfree.net> (raw)
In-Reply-To: <200801161757.17982.david.golden@oceanfree.net>

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	other threads:[~2008-01-16 19:30 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07  4:21 23.0.60; rmail-redecode-body finishing with error "Invalid Search Bound" David Golden
2008-01-10  4:09 ` Richard Stallman
2008-01-10 18:36   ` David Golden
2008-01-11 13:59     ` Richard Stallman
2008-01-12 16:05       ` Eli Zaretskii
2008-01-15 17:42     ` martin rudalics
2008-01-16  4:02       ` David Golden
2008-01-16  7:34         ` martin rudalics
2008-01-16 16:33           ` David Golden
2008-01-16 17:03             ` martin rudalics
2008-01-16 17:57             ` David Golden
2008-01-16 19:30               ` David Golden [this message]
2008-01-16 19:56                 ` martin rudalics
2008-01-16 20:36                   ` David Golden
2008-01-16 21:18                     ` martin rudalics
2008-01-16 21:34                       ` David Golden
2008-01-16 22:11                         ` martin rudalics
2008-01-17  7:47                         ` martin rudalics
2008-01-17 17:04                           ` Stefan Monnier
2008-01-17 18:50                             ` martin rudalics
2008-01-18  7:18                             ` Kenichi Handa
2008-01-18 20:19                               ` David Golden
2008-01-16 19:34               ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200801161930.15629.david.golden@oceanfree.net \
    --to=david.golden@oceanfree.net \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.