From: Kim F. Storm Date: Mon, 13 Jan 2003 11:58:31 +0000 (+0000) Subject: New process variables. X-Git-Tag: ttn-vms-21-2-B4~11693 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d4ee5299c900e3d1cb30271445a9b736b890cdd9;p=emacs.git New process variables. --- diff --git a/etc/NEWS b/etc/NEWS index 796dd7f938e..5234010c328 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1491,6 +1491,9 @@ create a stream or datagram server inside emacs. - A server can open on a random port using :service t arg. - Local sockets are supported using :family 'local arg. - Non-blocking connect is supported using :nowait t arg. +- The process' private variables may be initialized using :vars PLIST arg; + a server process' private variables are automatically inherited by + new client processes created to handle incoming connections. To test for the availability of a given feature, use featurep like this: (featurep 'make-network-process '(:type datagram)) @@ -1551,6 +1554,11 @@ supported, but new code should use the new functions. *** Function signal-process now accepts a process object or process name in addition to a process id to identify the signalled process. +*** Processes now have an associated `private variables' property list +where programs can maintain process state and other per-process +related information. The new functions process-variable and +set-process-variable are used to access and modify this list. + ** New function copy-tree. ** New function substring-no-properties.