From 9e48f34d320bcd86e86c6e0450aa911dcd923208 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 16 Jun 1996 05:18:24 +0000 Subject: [PATCH] Fix bug that caused RMAIL to signal an error when converting poorly formed messages to RMAIL format. --- v7/src/edwin/rmail.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/v7/src/edwin/rmail.scm b/v7/src/edwin/rmail.scm index 0ef6f42e4..d063a004e 100644 --- a/v7/src/edwin/rmail.scm +++ b/v7/src/edwin/rmail.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: rmail.scm,v 1.50 1996/04/24 01:23:01 cph Exp $ +;;; $Id: rmail.scm,v 1.51 1996/06/16 05:18:24 cph Exp $ ;;; ;;; Copyright (c) 1991-96 Massachusetts Institute of Technology ;;; @@ -2229,8 +2229,10 @@ Completion is performed over known labels when reading." (delete-string m (skip-chars-forward " \t\n" m end)) (loop m (+ count 1)))) ((re-match-forward umail-message-start-regexp point end false) - (let ((point (mark-left-inserting-copy point))) + (let ((point (mark-right-inserting-copy point)) + (end (mark-left-inserting-copy end))) (nuke-pinhead-header point end) + (mark-temporary! end) (mark-temporary! point) (process-rfc822 point -- 2.25.1