Path: utzoo!censor!geac!jtsv16!uunet!cs.utexas.edu!usc!bloom-beacon!Xylogics.COM!loverso From: loverso@Xylogics.COM (John Robert LoVerso) Newsgroups: comp.mail.mush Subject: Re: Attention MushView Beta-Testers: Version 7.0 ALPHA Message-ID: <8909191708.AA27405@xenna.Xylogics.COM> Date: 19 Sep 89 17:08:24 GMT Organization: The Internet Lines: 30 Request-for-sanity: The list of ~ commands in compose-mode is getting longer and longer. As a complexity reducing feature, how about adding a send-message-hook variable, such that when it is set to a mush command, that command is executed after telling mush to send the message and before the message is handed off to the MTA. Thus, the hook could be set to a shell script to add a signature or a fortune as desired. Then, a user wishing the (less-then-useful) fortune feature could map! ~F to a command to set the hook variable, ala the way I add R-R-T: headers: # msg-comp-mode map! +rr "\n~:my_hdr Return-Receipt-to: loverso@Xylogics.COM\n" map! -rr "\n~:un_hdr Return-Receipt-to:\n" The ~ commands t s c b h don't have any effect when edit_hdrs is set. I assume this is because of the implementation of edit_hdrs; it would be nice to either fix this implementation pitfall or not list those items in ~? when edit_hdrs is set. A last nit is that ~H doesn't get me any ignored headers; it would be nice if there was a way around that. (My real problem is that I always think "~F" is a "~f" that gets me ignored headers, and then I add this junk fortune to a letter. Mush doesn't indicate its adding the fortune until its too late to stop it. I don't really use ~S; whenever I want a signature, I just `:r ~/.sig' in vi; I used to use ~$s (its got my sig in it, too) before edit_hdrs.) John