🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #501

iso-2022-jp in X-VM-v5-Data: header

#501
From: Skip Montanaro
Date: Mon, 17 Aug 2009 11:28
77 lines
4475 bytes
I am using VM 8.0.12 more-or-less successfully with Aquamacs 2.0
preview 2 and 1.7.  I encounter repeated problems with errors like
this:

    Wrong type argument: listp, =\?iso-2022-jp\?Q\?

When I open the mbox file as a plain text file and search for
"iso-2022" I invariably find it tucked away in an X-VM-v5-Data: header
in a message near the end of the mbox in a message which most
decidedly does not have an iso-2022-jp encoding.  For example, I see
this right now:

    X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	    ["15279" "Sunday" "16" "August" "2009" "12:10:44" "-0500" "Carl
M. Zapf\fe" "cmzapffe@comcast.net" nil "266" =?iso-2022-jp?Q?#
("Fra_lein?= Zuffie's Hom\ecoming Party" 0 33 (vm-coding iso-latin-1
vm-charset "ISO-8859-1" vm-string t \charset iso-8859-1) 33 34 (vm-
coding iso-latin-1 vm-charset "ISO-8859-1" vm-str\ing t)) "^From:" nil
nil "8" nil =?iso-2022-jp?Q?#("Fra_lein?= Zuffie's Homecom\ing Party"
0 8 (vm-coding iso-latin-1 vm-charset "ISO-8859-1" vm-string t chars
\et iso-8859-1) 9 17 (vm-coding iso-latin-1 vm-charset "ISO-8859-1" vm-
string t \charset iso-8859-1) 18 28 (vm-coding iso-latin-1 vm-charset
"ISO-8859-1" vm-str\ing t charset iso-8859-1) 29 33 (vm-coding iso-
latin-1 vm-charset "ISO-8859-1" \vm-string t charset iso-8859-1) 33 34
(vm-coding iso-latin-1 vm-charset "ISO-88\59-1" vm-string t)) (number
" " mark "     Carl M. Zapffe    Aug 16  266/15279 \" thread-indent
"\"=?ISO-8859-1?Q?Fra=FClein_Zuffie's_Homecoming_Party?=\"\n") \nil
nil nil nil nil nil nil]

while the subject is iso-8859-1-encoded:

    Subject: =?ISO-8859-1?Q?Fra=FClein_Zuffie's_Homecoming_Party?=

If I delete the offending X-VM-v5-Data: header and reopen the file in
VM it works fine.  For a bit.  It seems the next time I visit that
file though, the error is back.

Here's what I currently see in *Messages* which seems related to the
problem:

    Reading /Users/skip/Mail/mbox... done
    Parsing messages... done
    Reading attributes... done
    963 messages, 0 new, 2 unread, 0 deleted [2 times]
    Checking for new mail for /Users/skip/Mail/mbox...
    Added to /Users/skip/Mail/mbox
    Got mail from ~/incoming/mbox.
    964 messages, 1 new, 2 unread, 0 deleted [2 times]
    Generating summary... 952
    vm-do-summary: Wrong type argument: listp, =\?iso-2022-jp\?Q\?
    Warning: Bug in vm-summary-mode: it forgets to call `run-mode-
hooks'
    Wrong type argument: listp, =\?iso-2022-jp\?Q\?
    Quitting...
    Stuffing attributes...
    1 message to stuff
    Ordering updates...
    Stuffing 100% complete...
    Stuffing attributes... done
    Generating summary... 950
    vm-do-summary: Wrong type argument: listp, =\?iso-2022-jp\?Q\?
    Warning: Bug in vm-mode: it forgets to call `run-mode-hooks'
    Wrong type argument: listp, =\?iso-2022-jp\?Q\?
    Buffer mbox modified; kill anyway? (y or n)
    Warning: Bug in vm-presentation-mode: it forgets to call `run-mode-
hooks'
    Mark saved where search started
    Mark set
    Mark saved where search started
    Loading vm-revno...done
    VM version is: 8.0.12

Let me know if I can provide more details or do some further debugging
(enable various debug settings, etc).

Skip Montanaro
skip@pobox.com
Technical Details
Message-ID: <f5ac2771-a4b9-4c07-aee5-e7dbbe8e478d@k19g2000yqn.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!k19g2000yqn.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: a16957f451,ff926a44dd6328d7,start
X-Google-Attributes: gida16957f451,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!k19g2000yqn.googlegroups.com!not-for-mail
From: Skip Montanaro <skip.montanaro@gmail.com>
Newsgroups: gnu.emacs.vm.bug
Subject: iso-2022-jp in X-VM-v5-Data: header
Date: Mon, 17 Aug 2009 04:28:34 -0700 (PDT)
Organization: http://groups.google.com
Lines: 78
Message-ID: <f5ac2771-a4b9-4c07-aee5-e7dbbe8e478d@k19g2000yqn.googlegroups.com>
NNTP-Posting-Host: 192.160.124.65
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1250508636 30221 127.0.0.1 (17 Aug 2009 11:30:36 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 17 Aug 2009 11:30:36 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: k19g2000yqn.googlegroups.com; posting-host=192.160.124.65; 
 posting-account=b_Di2hAAAACHG5H0uIqibWNNPKCLTD6L
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1) 
 Gecko/20090625 Firefox/3.5,gzip(gfe),gzip(gfe)