Gnus development mailing list
 help / color / mirror / Atom feed
* [patch] nnml.el - improved error message for corrupted files
@ 2003-01-17 16:26 Jari Aalto+mail.emacs
  2003-01-18 10:17 ` Kai Großjohann
  0 siblings, 1 reply; 2+ messages in thread
From: Jari Aalto+mail.emacs @ 2003-01-17 16:26 UTC (permalink / raw)



    Kindly add this to the core gnus, it gives better diagnostics.
    
    Jari
    
*** nnmail.el.6.56	Fri Jan 17 18:20:04 2003
--- nnmail.el	Fri Jan 17 18:21:04 2003
***************
*** 786,792 ****
      (if (not (and (re-search-forward "^From " nil t)
  		  (goto-char (match-beginning 0))))
  	;; Possibly wrong format?
! 	(error "Error, unknown mail format! (Possibly corrupted.)")
        ;; Carry on until the bitter end.
        (while (not (eobp))
  	(setq start (point)
--- 786,793 ----
      (if (not (and (re-search-forward "^From " nil t)
  		  (goto-char (match-beginning 0))))
  	;; Possibly wrong format?
! 	(error "Error, unknown mail format! (Possibly corrupted.) `%s'"
! 	       (or (buffer-file-name) (buffer-name)))
        ;; Carry on until the bitter end.
        (while (not (eobp))
  	(setq start (point)



-- 
http://tiny-tools.sourceforge.net/
Swatch  @time http://www.ryanthiessen.com/swatch/resources.htm
Convert @time http://www.mir.com.my/iTime/itime.htm




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] nnml.el - improved error message for corrupted files
  2003-01-17 16:26 [patch] nnml.el - improved error message for corrupted files Jari Aalto+mail.emacs
@ 2003-01-18 10:17 ` Kai Großjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Großjohann @ 2003-01-18 10:17 UTC (permalink / raw)


letters@hotpop.com (Jari Aalto+mail.emacs) writes:

>     Kindly add this to the core gnus, it gives better diagnostics.

I added a slightly modified version.  New version in CVS.  Thanks!
-- 
Ambibibentists unite!



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-18 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-17 16:26 [patch] nnml.el - improved error message for corrupted files Jari Aalto+mail.emacs
2003-01-18 10:17 ` Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).