Gnus development mailing list
 help / color / mirror / Atom feed
From: letters@hotpop.com (Jari Aalto+mail.emacs)
Subject: [patch] nnml.el - improved error message for corrupted files
Date: Fri, 17 Jan 2003 18:26:20 +0200	[thread overview]
Message-ID: <lm1jpwsz.fsf@blue.sea.net> (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




             reply	other threads:[~2003-01-17 16:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-17 16:26 Jari Aalto+mail.emacs [this message]
2003-01-18 10:17 ` Kai Großjohann

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=lm1jpwsz.fsf@blue.sea.net \
    --to=letters@hotpop.com \
    /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.
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).