🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

bug fix for vm-mime.el

#771
From: Jason Dagit
Date: Sat, 03 May 2003 11:45
26 lines
1788 bytes
Has anyone else had a problem in vm-mime-display-internal-text/plain
getting an error wrong-argument-type arrayp, nil?

I have been and I found this starting at line 1893:
      (if (and vm-fill-paragraphs-containing-long-lines
	       (not no-highlighting))
	  (let ((needmsg (> (- (vm-text-end-of m)
			       (vm-text-of m))
			    12000)))

I changed it to;
      (if (and vm-fill-paragraphs-containing-long-lines
	       m  ;; Make sure that m is non-nil.
	       (not no-highlighting))
	  (let ((needmsg (> (- (vm-text-end-of m)
			       (vm-text-of m))
			    12000)))

Anyway, whether or not my solution is correct I thought I should let
you'll know that something should be done...of course the caller could
just pass in t for no-highlighting, but I think that is not really
meant. 

Thanks,
Jason
PS I noticed the problem when using pgp.el
Technical Details
Message-ID: <yv5u1cc9rty.fsf@cod.ENGR.ORST.EDU>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!lenny.tc.umn.edu!news.oregonstate.edu!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,f15dec763eb072a0,start
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 2003-05-03 04:46:24 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!lenny.tc.umn.edu!news.oregonstate.edu!not-for-mail
From: Jason Dagit <dagit@engr.orst.edu>
Newsgroups: gnu.emacs.vm.bug
Subject: bug fix for vm-mime.el
Date: 03 May 2003 04:45:29 -0700
Organization: Oregon State University
Lines: 26
Sender: dagit@cod.ENGR.ORST.EDU
Message-ID: <yv5u1cc9rty.fsf@cod.ENGR.ORST.EDU>
NNTP-Posting-Host: cod.engr.orst.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.oregonstate.edu 1051962768 17949 128.193.54.72 (3 May 2003 11:52:48 GMT)
X-Complaints-To: abuse@orst.edu
NNTP-Posting-Date: Sat, 3 May 2003 11:52:48 +0000 (UTC)
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1