1 ; This autoloaded file implements the "e" command of mhe
3 (&mh-edit msgn sm fn fl
5 (pop-to-buffer (concat "+" mh-folder))
9 (setq msgn (&mh-get-msgnum))
10 (setq fn (&mh-get-fname))
12 (setq sm mode-line-format)
13 (message "editing message " msgn)
14 (setq mode-line-format "{%b} %[^X^F writes and exits to top level%] ")
15 (pop-to-buffer "message")
17 (setq mode-line-format
18 (concat "{%b} %[%p of +" fl "/" msgn
19 "%] ^X^C exits to top level"))
20 (local-bind-to-key "exit-emacs" "\
\18\
\ 3")
21 (&mh-restore-killbuffer)
23 (pop-to-buffer "message")
24 (setq mode-line-format
25 (concat "{%b} %[%p of +" fl "/" msgn "%]"))
28 (pop-to-buffer (concat "+" mh-folder))
29 (setq mode-line-format sm)