Article View: gnu.emacs.vm.bug
Article #789Re: cond: Wrong type argument: number-or-marker-p, nil
From: Kyle Jones
Date: Thu, 17 Jul 2003 18:51
Date: Thu, 17 Jul 2003 18:51
24 lines
2197 bytes
2197 bytes
Robert Marshall <robert@chezmarshall.freeserve.co.uk> wrote: > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) > vm-follow-summary-cursor() > vm-scroll-forward(nil) > * call-interactively(vm-scroll-forward) > > Happened after I edited a message - removing quite a bit of text, then > deleted the message after the edited message - which (the deleted one) > was the last displayed message and then expunged > > Both vm-message-pointer and vm-message-list are nil but I suppose the > second bit of the cond manipulates those values? > > vm 7.15 (basically the same setup as previously but this is W2000) I could not find any reason in the code for this to occur. The expunge code makes sure that vm-message-pointer is set to a non-nil value provided the folder isn't empty after the expunge. If you're running with addon packages, you might try disabling them and see if the problem goes away. I have not touched the expunge finalization code in a long while so I'd be surprised if it were broken in so basic a way. I'd expect to receive a lot more bug reports about such a problem.
Technical Details
Message-ID:
<vhds1s282mhdc4@corp.supernews.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<m1llvh39u2.fsf@chezmarshall.freeserve.co.uk> <vg64sg1kokft05@corp.supernews.com> <uadber8db.fsf@mail.chezmarshall.freeserve.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,b0010300a61667f0
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 2003-07-17 11:51:40 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: kyle_jones@wonderworks.com (Kyle Jones)
Newsgroups: gnu.emacs.vm.bug
Subject: Re: cond: Wrong type argument: number-or-marker-p, nil
Date: Thu, 17 Jul 2003 18:51:40 -0000
Organization: pigs pigs
Message-ID: <vhds1s282mhdc4@corp.supernews.com>
X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M
0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^
Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy
,qz]Z,Zz\{E.,]'EO+F)@$KtF&V
References: <m1llvh39u2.fsf@chezmarshall.freeserve.co.uk> <vg64sg1kokft05@corp.supernews.com> <uadber8db.fsf@mail.chezmarshall.freeserve.co.uk>
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: kyle@wonderworks.com (Kyle Jones)
X-Complaints-To: abuse@supernews.com
Lines: 25