On Wed, 9 Aug 2000 20:37:54 -0500, Curtis wrote:
>>> I have a problem with it personally. Why can't the send action be made
>>> to close the editor?
>SL> How is it supposed to?
>If I knew I wouldn't be asking. I asked why can't it be done. I'm
>actually giving PMMail the benefit of the doubt and assuming that the
>reason why it doesn't work like that is because it can't be done.
>Anyway, if a 'hook' can be used to open the editor, I don't see why one
>can't be used to close it. I'm not a programmer as you know so please
>clarify for me.
One can invoke a child process (ie. an editor) with specified arguments
(ie. name of the message file) and then wait for it to exit. In PMMail
I click on the "external editor" button and the current message window
disappears and Epsilon (a commercial Emacs clone) opens with the
message (no header, though). When I'm done editing, I save the file
(typically a temp file) and exit Epsilon, and the message window
reopens with the modified text.
When configuring the editor, one can specify the command line to use to
launch it, including where in the command line to put the message file
name.
Another approach is to use a DDE-aware editor. (Epsilon is also one of
these.) The client program (eg. TB or PMMail) can send a DDE message to
an existing instance of such a program to open a file, and register
some kind of callback or reply address (I don't know the details) to
register when the file is saved and it's time to send. One could then
configure a hot-key in the editor to send a "send this message" command
back to the mail client. PMMail does NOT implement this kind of
capability, though. Epsilon could in principle be configured to work
with this interface. It can also invoke entry points in user-supplied
DLL's to provide an arbitrary interface.
Ken
mailto:[EMAIL PROTECTED]
http://www.sewingwitch.com/ken/
http://www.harrybrowne2000.org/
Kill the Carnivore! http://www.lp.org/action/carnivore/
--
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
<mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
<mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------
You are subscribed as : [email protected]