From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Hori Newsgroups: gmane.emacs.devel Subject: Re: Emacs leaves many .#file symlinks even after exiting from Emacs (related to file-locking) Date: Sun, 17 Jan 2010 06:38:28 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e64ce5c2add583047d5d3071 X-Trace: ger.gmane.org 1263739133 28055 80.91.229.12 (17 Jan 2010 14:38:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Jan 2010 14:38:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 17 15:38:46 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NWWH7-0004SK-8e for ged-emacs-devel@m.gmane.org; Sun, 17 Jan 2010 15:38:45 +0100 Original-Received: from localhost ([127.0.0.1]:36874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWWH8-0007nx-5o for ged-emacs-devel@m.gmane.org; Sun, 17 Jan 2010 09:38:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWWGz-0007kW-01 for emacs-devel@gnu.org; Sun, 17 Jan 2010 09:38:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWWGu-0007hp-3C for emacs-devel@gnu.org; Sun, 17 Jan 2010 09:38:36 -0500 Original-Received: from [199.232.76.173] (port=41705 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWWGt-0007hl-VB for emacs-devel@gnu.org; Sun, 17 Jan 2010 09:38:32 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:6105) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NWWGt-0003LU-DU for emacs-devel@gnu.org; Sun, 17 Jan 2010 09:38:31 -0500 Original-Received: from mail-pz0-f192.google.com ([209.85.222.192]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWWGs-0005XO-N4 for emacs-devel@gnu.org; Sun, 17 Jan 2010 09:38:30 -0500 Original-Received: by pzk30 with SMTP id 30so1668150pzk.24 for ; Sun, 17 Jan 2010 06:38:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=/m9AxTx5GMIe7WThB0+dTmU9aVpQBssLcI3VWgmeRkU=; b=Dy2MGWyao7jeXiqfysjou9BgBnLC4Xq1vBZHZ7SboFRWwaDi0XhIAOb1n4hQYKpm2u FhF7V8PlX7r0w8OOMTqnuDg81YAPn0Ntcw9Q+TSpFquLUaXtazDI58pxlaO7I2U1MQYD Vq9n9J2SN0V23cc0YZCcPyYebSRbLpMBOqmlU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=CXBj02WX3ldFrQDowtUp+kXcvCNnOiT/CodzF/64QQw646GnT6jkddlRdODDumks+3 8Lpk4P6438FWJcZ0jhSoayPbIAjwUovfxzDCyGiejIJymgdGwud19vCxcvdy28uYLDiX 9gfcUFn7xqmrblFidvtShUOxM+p7E4YQ/mqbE= Original-Received: by 10.114.215.30 with SMTP id n30mr3449384wag.3.1263739108971; Sun, 17 Jan 2010 06:38:28 -0800 (PST) In-Reply-To: X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120146 Archived-At: --0016e64ce5c2add583047d5d3071 Content-Type: text/plain; charset=ISO-8859-1 I received an email from someone who is also bothered by this behavior (or should I call it a bug?). Does anyone know how to prevent it? On Wed, Dec 2, 2009 at 1:07 AM, Ken H. wrote: > > I cannot identify exactly under what conditions it occurs, but > Emacs (I'm using CVS emacs on 2009-09-11, but would probably > happen under CVS HEAD as well) leaves a lot of symlinks of the > form: > > .#file -> user_name@host_name.pid:boot_time > > `filelock.c' is creating the symlink for file-locking purposes > but is failing to delete it. > > Under my current directory consisting of 28 regular files, > I see three such instances: > > lrwxrwxrwx 1 ken ken 25 Oct 22 17:07 .#foo -> ken@hori.22964 > :1256147335 > lrwxrwxrwx 1 ken ken 25 Dec 1 22:32 .#foo2 -> ken@hori.19787 > :1259696496 > lrwxrwxrwx 1 ken ken 25 Dec 1 22:39 .#foo3 -> ken@hori.19787 > :1259696496 > > > Is this a bug that happens to people other than myself? Or is it > just me, who extensively use indirect buffers and work under > multiple frames? Also, if any, how do I prevent Emacs from > creating such symlinks. > > Thanks. > > --0016e64ce5c2add583047d5d3071 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I received an email from someone who is also bothered by this
behavior (= or should I call it a bug?).

Does anyone know how to prevent it?

On Wed, Dec 2, 2009 at 1:07 AM, Ken H. = <fplemma@gmail.co= m> wrote:

I cannot iden= tify exactly under what conditions it occurs, but
Emacs (I'm using C= VS emacs on 2009-09-11, but would probably
happen under CVS HEAD as well) leaves a lot of symlinks of the
form:
=
=A0.#file -> user_name@host_name.pid:boot_time

`filelock.c' is creating the symlink for file-locking purposes
b= ut is failing to delete it.

Under my current directory consisting of= 28 regular files,
I see three such instances:

=A0 lrwxrwxrwx=A0= =A0 1 ken=A0=A0 ken=A0=A0=A0=A0 25 Oct 22 17:07 .#foo -> ken@hori.22964:= 1256147335
=A0 lrwxrwxrwx=A0=A0 1 ken=A0=A0 ken=A0=A0=A0=A0 25 Dec=A0 1 22:32 .#foo2 -= > ken@hori.19787:1259696496
=A0 lrwxrwxrwx=A0=A0 1 ken=A0=A0 ken=A0= =A0=A0=A0 25 Dec=A0 1 22:39 .#foo3 -> ken@hori.19787:1259696496

<= br>Is this a bug that happens to people other than myself?=A0 Or is it
just me, who extensively use indirect buffers and work under
multiple fr= ames?=A0 Also, if any, how do I prevent Emacs from
creating such symlink= s.

Thanks.


--0016e64ce5c2add583047d5d3071--