File:  [CSRG BSD Unix] / 43BSD / contrib / mh / miscellany / mhe / mh-show.ml
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

;  This autoloaded file implements the "t" command of mhe
(defun 
    (&mh-show msgn sm fn fl
	(setq msgn (&mh-get-msgnum))
	(message  "Typing message " msgn) (sit-for 0)
	(if 
	    (error-occured
		(pop-to-buffer (concat "+" mh-folder))
		(setq fn (&mh-get-fname))
		(setq fl mh-folder)
		(pop-to-buffer "show")
		(read-file fn)
		(setq mode-line-format
		      (concat "{%b}	%[%p of +" fl "/" msgn
			      "%]	^X^C exits to top level"))
		(use-local-map "&mh-keymap")
		(setq mode-string "mhe")
		
		(setq mode-line-format
		      (concat "{%b}	%[%p of +" fl "/" msgn "%]"))
		(&mh-set-cur)
	    )
	    (progn (delete-window)
		   (error-message "message " msgn " does not exist!")
	    )
	)
    )
)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.