user-login-name and escape system-name for riece-log-lock-file.
+2005-03-05 Daiki Ueno <ueno@unixuser.org>
+
+ * riece-log.el (riece-log-insinuate): Use user-uid instead of
+ user-login-name and escape system-name for riece-log-lock-file.
+
2005-03-02 Daiki Ueno <ueno@unixuser.org>
* riece-log.el (riece-log-lock-file): Define with defvar.
(defun riece-log-insinuate ()
(make-directory riece-log-directory t)
(setq riece-log-lock-file
- (expand-file-name (format "=lock.%s@%s.%d"
- (user-login-name)
- (system-name)
+ (expand-file-name (format "=%d-%d-%d"
+ (user-uid)
+ (riece-log-encode-file-name (system-name))
(emacs-pid))
riece-log-directory))
;; FIXME: Use `riece-after-insert-functions' for trapping change,