Raymond Toy writes:
Not sure what's going on. I restarted xemacs and tried sending
mail.
I get an error in the smtp trace buffer that I need to start STARTTLS.
But starttls-use-gnutls is nil.
This is weird. Same error as before?
BTW, ISTR that there was a report of issues with smtpmail/gnutls on
emacs-devel. They've recently started linking to the underlying
library instead of using a process, maybe it was something to do with
that switchover, but maybe it was associated with the same
start-process method we use.
Various experiments to investigate don't help, but I finally
decided to just byte-compile smtpmail.el again. And then suddenly
a fresh xemacs will automatically start starttls. Hurray!
Maybe the byte compiler (more likely some macro?) is evaluating
starttls-use-gnutls and stashing the value in the byte-compiled file.
I still get the error about being unable to delete the process near
the end of smtpmail-via-smtp. I stuck a (message "Deleteing process")
and (sit-for 1) just before (delete-process process). I don't have
this problem anymore. Some kind of race condition?
That's quite possibly the reason for byte-compiled code failing where
interpreted code doesn't. The race condition might be aggravated by
multicore systems, too, if smtpmail isn't properly waiting for the
subprocess to terminate, but assumes that it will do so "fast enough".
(Caveat: I'm not really that well informed about these things, just
taking a wild stab in the dark.)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta