* mime-pgp.el (mime-verify-application/pgp-signature): Don't
authorueno <ueno>
Sun, 7 Nov 1999 18:58:06 +0000 (18:58 +0000)
committerueno <ueno>
Sun, 7 Nov 1999 18:58:06 +0000 (18:58 +0000)
scroll MIME-echo buffer, just set window starting point.
(mime-add-application/pgp-keys): Ditto.

mime-pgp.el

index 719cae7..6d055d7 100644 (file)
         (basename (expand-file-name "tm" temporary-file-directory))
         (sig-file (concat (make-temp-name basename) ".asc"))
         status)
-    (save-excursion (mime-show-echo-buffer))
+    (save-excursion 
+      (mime-show-echo-buffer)
+      (set-buffer mime-echo-buffer-name)
+      (set-window-start 
+       (get-buffer-window mime-echo-buffer-name)
+       (point-max))
+      )
     (mime-write-entity-content entity sig-file)
     (unwind-protect
        (with-temp-buffer
            (insert-buffer-substring (if status pgg-output-buffer
                                       pgg-errors-buffer))))
       (delete-file sig-file))
-    (let ((other-window-scroll-buffer mime-echo-buffer-name))
-      (scroll-other-window 8)
-      )
     ))
 
 
 ;;; draft-yamamoto-openpgp-mime-00.txt (OpenPGP/MIME).
 
 (defun mime-add-application/pgp-keys (entity situation)
-  (save-excursion (mime-show-echo-buffer))
+  (save-excursion 
+    (mime-show-echo-buffer)
+    (set-buffer mime-echo-buffer-name)
+    (set-window-start 
+     (get-buffer-window mime-echo-buffer-name)
+     (point-max))
+    )
   (with-temp-buffer
     (mime-insert-entity-content entity)
     (mime-decode-region (point-min) (point-max)
        (set-buffer mime-echo-buffer-name)
        (insert-buffer-substring (if status pgg-output-buffer
                                   pgg-errors-buffer)))
-      ))
-  (let ((other-window-scroll-buffer mime-echo-buffer-name))
-    (scroll-other-window 8)
-    ))
+      )))
 
 
 ;;; @ end