From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: djc Newsgroups: gmane.emacs.help Subject: {file} "locked by ... pid NNN", but there is no process NNN Date: Sat, 9 Jan 2016 08:12:05 -0800 (PST) Message-ID: <2a0feba2-1cf6-498f-bbea-7fca8ce5d56e@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1452356127 21503 80.91.229.3 (9 Jan 2016 16:15:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jan 2016 16:15:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 09 17:15:26 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aHwAo-0001At-1T for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Jan 2016 17:15:26 +0100 Original-Received: from localhost ([::1]:41102 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHwAj-00021H-Rh for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Jan 2016 11:15:21 -0500 X-Received: by 10.67.5.132 with SMTP id cm4mr102095458pad.19.1452355926431; Sat, 09 Jan 2016 08:12:06 -0800 (PST) X-Received: by 10.50.160.4 with SMTP id xg4mr124220igb.2.1452355926396; Sat, 09 Jan 2016 08:12:06 -0800 (PST) Original-Path: usenet.stanford.edu!h5no2213279igh.0!news-out.google.com!kr2ni168igb.0!nntp.google.com!h5no2213268igh.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=185.110.72.137; posting-account=W7YkKQoAAACBK5oRU_iH-VD6YfJuNxe9 Original-NNTP-Posting-Host: 185.110.72.137 User-Agent: G2/1.0 Injection-Date: Sat, 09 Jan 2016 16:12:06 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:216386 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108676 Archived-At: 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 *i= s* 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 f= rom a Windows Explorer window to visit it. I found myself facing this message while debugging that function, which blo= cked 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 pr= oblem? GNU Emacs 24.5.1 (x86_64_mingw32) of 2015-04-12 on KAEL djc