Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sunybcs!dsinc!syd From: syd@DSI.COM (Syd Weinstein) Newsgroups: comp.mail.elm Subject: Re: including messages while composing mail Message-ID: <1990Apr8.165409.29992@DSI.COM> Date: 8 Apr 90 16:54:09 GMT References: <7230003@hpdtl.HP.COM> Reply-To: syd@DSI.COM Organization: Datacomp Systems, Inc. Huntingdon Valley, PA Lines: 27 peterm@hpdtl.HP.COM (Peter Maxwell) writes: >A feature I would REALLY like in ELM is the equivalent of the Berkeley mail >~f or ~m command (without having to use editor=none). There have been many >times when I have been forced (or think I have) to save messages to a file >and then read them back in, if I want to reply to one message but have >another included also. >Am I missing something? I'm not aware of any way of doing this cleanly. I think I am missing something here.... If you are using some editor other than none, you are dependant on that editor for insertion of lines. That editor is not part of Elm, so how can Elm add commands to it. ~f and ~m access the current message base and include a message into the buffer. Of course, readmsg can do this for you, but you need to know the message number. However, here's the rub, the message number is relative to the current sorting order, and readmsg uses the ordinal within the file, independent of sorting order. So, no, there is no way of doing this, short of writing your own version of readmsg that supports the sorting order. -- ===================================================================== Sydney S. Weinstein, CDP, CCP Elm Coordinator Datacomp Systems, Inc. Voice: (215) 947-9900 syd@DSI.COM or bpa!dsinc!syd FAX: (215) 938-0235