On Mon, Oct 10, 2016 at 5:49 PM, Eli Zaretskii wrote: >> From: Jan Synacek >> Date: Mon, 10 Oct 2016 15:49:11 +0200 >> Cc: 24656@debbugs.gnu.org >> >> The lock_file_1 correctly uses a path with a colon in it. Indeed, >> samba seems to substitute it. I tried to patch the emacs source to use >> a comma instead. It didn't get substituted by samba, but the lock file >> didn't go away when I exited emacs. > > Did you also patch current_lock_owner to account for the change from a > colon to a comma? Aha! After patching current_lock_owner, the lock file is correctly removed. I'm attaching the patch. Thank you! -- Jan Synacek Software Engineer, Red Hat