(buffer-not-modified! buffer))))))
\f
(define (write-imail-summary-line! message index-digits mark)
- (insert-char #\space mark)
- (insert-string (message-flag-markers message) mark)
- (insert-char #\space mark)
- (insert-message-index (+ (message-index message) 1) index-digits mark)
- (insert-string " " mark)
- (insert-string (message-summary-length-string message) mark)
- (if (ref-variable imail-summary-show-date mark)
- (begin
- (insert-string " " mark)
- (insert-string (message-summary-date-string message) mark)))
- (insert-string " " mark)
- (let ((target-column
- (fix:+ (mark-column mark) (imail-summary-subject-width mark))))
- (insert-string (message-summary-subject-string message) mark)
- (if (fix:> (mark-column mark) target-column)
- (delete-string (move-to-column mark target-column) mark))
- (if (fix:< (mark-column mark) target-column)
- (insert-chars #\space (fix:- target-column (mark-column mark)) mark)))
- (insert-string " " mark)
- (insert-string (message-summary-from-string message) mark)
- (insert-newline mark))
+ (let ((header (message-header-fields message)))
+ (insert-char #\space mark)
+ (insert-string (message-flag-markers message) mark)
+ (insert-char #\space mark)
+ (insert-message-index (+ (message-index message) 1) index-digits mark)
+ (insert-string " " mark)
+ (insert-string (message-summary-length-string message) mark)
+ (if (ref-variable imail-summary-show-date mark)
+ (begin
+ (insert-string " " mark)
+ (insert-string (message-summary-date-string message) mark)))
+ (insert-string " " mark)
+ (let ((target-column
+ (fix:+ (mark-column mark) (imail-summary-subject-width mark))))
+ (insert-string (message-summary-subject-string message) mark)
+ (if (fix:> (mark-column mark) target-column)
+ (delete-string (move-to-column mark target-column) mark))
+ (if (fix:< (mark-column mark) target-column)
+ (insert-chars #\space (fix:- target-column (mark-column mark)) mark)))
+ (insert-string " " mark)
+ (insert-string (message-summary-from-string message) mark)
+ (insert-newline mark)
+ (reference-barrier header)))
(define (insert-message-index index index-digits mark)
(insert-string-pad-left (number->string index) index-digits #\space mark))