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

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

Re: {file} "locked by ... pid NNN", but there is no process NNN


From: Eli Zaretskii
Subject: Re: {file} "locked by ... pid NNN", but there is no process NNN
Date: Sat, 09 Jan 2016 18:55:39 +0200

> Date: Sat, 9 Jan 2016 08:12:05 -0800 (PST)
> From: djc <peter.kaiser@gmail.com>
> 
> With a single instance of emacs running a function of my own on a file that 
> makes no use of external activities, I get the message
> 
>     ...{file} locked by AB@CDE (pid 3964): (s, q, p, ?)?
> 
> but there is no process with PID 3964 and no other emacs running.  There *is* 
> another buffer open on the file under a different pathname ("~/..." vs 
> "X:\..."), though I don't know how that happened, since I dragged the file 
> from a Windows Explorer window to visit it.
> 
> I found myself facing this message while debugging that function, which 
> blocked or looped with high CPU usage when run in batch mode on that file or 
> a similar one.
> 
> The message seems wrongheaded to me, but what's the best response to the 
> problem?

Can you give a reproducible recipe for the problem, preferably
starting from "emacs -Q"?

When I drag a file from Explorer, Emacs correctly detects that
X:\foo\bar and ~/bar are the same file, and doesn't create another
buffer for the same file.  So some other factor(s) is/are at work
here.



reply via email to

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