bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14250: 23.1; Files locked by myself


From: Glenn Morris
Subject: bug#14250: 23.1; Files locked by myself
Date: Thu, 20 Jun 2013 02:47:32 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

"Elrod, David" wrote:

>   M-: (file-locked-p (buffer-file-name))
> returns
>   "elrodd@elroddDesk"
>
>   M-: (system-name)
> returns
>   "elroddDesk@enet.sharplabs.com"

Thanks!
The problem is the "@" in your system-name.
Can you change it to something without an "@", eg
  elroddDesk.enet.sharplabs.com
?

I don't think an "@" is valid in a hostname, is it?

filelock.c:current_lock_owner assumes that the username is "everything
before the last @"; ie there may in theory be "@" in the username, but
not in the hostname.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]