From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ken H." Newsgroups: gmane.emacs.devel Subject: Emacs leaves many .#file symlinks even after exiting from Emacs (related to file-locking) Date: Wed, 2 Dec 2009 01:07:33 -0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016363b940880368a0479bb3465 X-Trace: ger.gmane.org 1259745001 23779 80.91.229.12 (2 Dec 2009 09:10:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Dec 2009 09:10:01 +0000 (UTC) Cc: karl@cs.umb.edu To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 02 10:09:54 2009 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 1NFlDb-00086h-0b for ged-emacs-devel@m.gmane.org; Wed, 02 Dec 2009 10:09:51 +0100 Original-Received: from localhost ([127.0.0.1]:58425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFlDa-00033x-7z for ged-emacs-devel@m.gmane.org; Wed, 02 Dec 2009 04:09:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFlBV-0001tx-QP for emacs-devel@gnu.org; Wed, 02 Dec 2009 04:07:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFlBQ-0001qL-Eo for emacs-devel@gnu.org; Wed, 02 Dec 2009 04:07:40 -0500 Original-Received: from [199.232.76.173] (port=55020 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFlBQ-0001px-1m for emacs-devel@gnu.org; Wed, 02 Dec 2009 04:07:36 -0500 Original-Received: from mail-px0-f198.google.com ([209.85.216.198]:48150) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NFlBP-0005QV-MX for emacs-devel@gnu.org; Wed, 02 Dec 2009 04:07:35 -0500 Original-Received: by pxi36 with SMTP id 36so4281572pxi.26 for ; Wed, 02 Dec 2009 01:07:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=ZYKzON9s0FTM9az+eieXCBk3ttkw9X794Ejbn3yu1vA=; b=MPTSb9yamMTFFFLSjQVD9XzBRg/Vbt8Kz9O/2ewp71uPB/e5QKylQCDhOd+DG01ugm DDp8yDt5fkLR67e/hpCxkg8q42nB35Gn9gLFe5geL6MpPfULeNqlVx0MuYb7xrysvgst JukDuFvgj6KvGKd04K21/CkNi8HH7wMlj+OKU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=AgaI05bKwU/GzeLV4+VWx0NfY5ttFT1PMoSWdfWYjp81k+nhXuzguYK9KTh3iMcxGz FGRxFOod7RllXZoktYULamLz0morvcFYyiz13kjjW9F0MopjCbX4A4eqIGG+PN+0jW3u K0BCrdQm1PX+rbaN8G59I+RqumxGogwR2vFOM= Original-Received: by 10.115.84.9 with SMTP id m9mr13582462wal.163.1259744853504; Wed, 02 Dec 2009 01:07:33 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:118129 Archived-At: --0016363b940880368a0479bb3465 Content-Type: text/plain; charset=ISO-8859-1 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. --0016363b940880368a0479bb3465 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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:

=A0.#fil= e -> 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.

--0016363b940880368a0479bb3465--