Gnus development mailing list
 help / color / mirror / Atom feed
From: Steven L Baur <steve@miranova.com>
Subject: Previous patch to nnmail.el was bogus
Date: 07 Nov 1996 11:12:17 -0800	[thread overview]
Message-ID: <m220e5d8j2.fsf@deanna.miranova.com> (raw)

Here is a better version.

===================================================================
RCS file: RCS/nnmail.el,v
retrieving revision 1.25
diff -u -r1.25 nnmail.el
--- nnmail.el	1996/11/07 04:02:49	1.25
+++ nnmail.el	1996/11/07 18:28:32
@@ -641,15 +641,17 @@
     (while (not found)
       (if (not (re-search-forward "^From " nil t))
 	  (setq found 'no)
-	(beginning-of-line)
-	(when (and (or (bobp)
-		       (save-excursion
-			 (forward-line -1)
-			 (= (following-char) ?\n)))
-		   (save-excursion
-		     (forward-line 1)
-		     (looking-at "[^ \t:]+[ \t]*:")))
-	  (setq found 'yes))))
+	(save-excursion
+	  (beginning-of-line)
+	  (when (and (or (bobp)
+			 (save-excursion
+			   (forward-line -1)
+			   (= (following-char) ?\n)))
+		     (save-excursion
+		       (forward-line 1)
+		       (looking-at "[^ \t:]+[ \t]*:")))
+	    (setq found 'yes)))))
+    (beginning-of-line)
     (eq found 'yes)))
 
 (defun nnmail-process-unix-mail-format (func artnum-func)

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.
What are the last two letters of "doesn't" and "can't"?
Coincidence?  I think not.


                 reply	other threads:[~1996-11-07 19:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=m220e5d8j2.fsf@deanna.miranova.com \
    --to=steve@miranova.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).