# HG changeset patch # User Gerd Moellmann # Date 949071765 0 # Node ID d44d9048085269c9fed888cfbe1b421c9268c341 # Parent ed3668c0295a6c7f19cc96cbec756328558e1403 *** empty log message *** diff -r ed3668c0295a -r d44d90480852 etc/NEWS --- a/etc/NEWS Fri Jan 28 15:02:20 2000 +0000 +++ b/etc/NEWS Fri Jan 28 15:02:45 2000 +0000 @@ -5451,6 +5451,11 @@ ** Changes to the emacsclient program +*** If a socket can't be found, and environment variables LOGNAME or +USER are set, emacsclient now looks for a socket based on the UID +associated with the name. That is an emacsclient running as root +can connect to an Emacs server started by a non-root user. + *** The emacsclient program now accepts an option --no-wait which tells it to return immediately without waiting for you to "finish" the buffer in Emacs. diff -r ed3668c0295a -r d44d90480852 lib-src/ChangeLog --- a/lib-src/ChangeLog Fri Jan 28 15:02:20 2000 +0000 +++ b/lib-src/ChangeLog Fri Jan 28 15:02:45 2000 +0000 @@ -1,3 +1,9 @@ +2000-01-28 Eric Hanchrow + + * emacsclient.c (socket_status): New function. + (main): if $LOGNAME or $USER exist and differ from our euid, look + for a socket based on the UID associated with the name. + 2000-01-12 Han-Wen Nienhuys * emacsclient.c: Add option -a EDITOR and environment variable