Thread View: list.mh-users
1 messages
1 total messages
Started by local-mh-users-request
Fri, 29 Jan 1988 21:41
mh-e.el vs dist
Author: local-mh-users-request
Date: Fri, 29 Jan 1988 21:41
Date: Fri, 29 Jan 1988 21:41
28 lines
1679 bytes
1679 bytes
[ context: MH 6.5 running on a Sun 3, SunOS 3.4, GNU Emacs 18.44 ]
I have modified mh-e.el 3.4k to use the draft folder facility if enabled in
.mh_profile. Works fine, except for the "dist" function. I have modified
the redistribution function so that instead of calling send as
(call-process "/bin/sh" nil 0 nil "-c"
(format "mhdist=1 mhaltmsg=%s %s/send -push %s/draft"
msg-filename mh-progs mh-user-path))
it invokes "send" on the current draftfolder draft (which contains nothing but
the "Resent-To: " line -- the proper variable is set so that the message does
not get included)
(call-process "/bin/sh" nil 0 nil "-c"
(format "mhdist=1 mhaltmsg=%s %s/send -push %s"
msg-filename mh-progs (buffer-file-name)))
The environment gets set, and seems to look like what "dist" would end up
doing (from a quick perusal of the source). Still, I get back an error message
from post complaining about the "Resent-To" header lines, which indicates
it never received the -dist flag.
Invoking "post -dist" instead of "send" works. Clues, anyone?
Jean-Francois Lamy
AI Group, Department of Computer Science lamy@ai.toronto.edu
University of Toronto, Canada M5S 1A4 uunet!ai.toronto.edu!lamy
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads