From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: Hot to prevent emacs from generating ".#xxxx" files? Date: Sun, 31 Aug 2008 10:41:38 +0200 Organization: disorganized Message-ID: <874p51poe5.fsf@localhorst.mine.nu> References: <19235974.post@talk.nabble.com> <878wudpr2n.fsf@localhorst.mine.nu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220172842 31530 80.91.229.12 (31 Aug 2008 08:54:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Aug 2008 08:54:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 31 10:54:56 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KZiht-0004x7-J3 for geh-help-gnu-emacs@m.gmane.org; Sun, 31 Aug 2008 10:54:49 +0200 Original-Received: from localhost ([127.0.0.1]:51105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZigu-0005QB-Tk for geh-help-gnu-emacs@m.gmane.org; Sun, 31 Aug 2008 04:53:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZigT-0005PE-QC for help-gnu-emacs@gnu.org; Sun, 31 Aug 2008 04:53:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZigS-0005Oa-DX for help-gnu-emacs@gnu.org; Sun, 31 Aug 2008 04:53:20 -0400 Original-Received: from [199.232.76.173] (port=41322 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZigR-0005OO-Mu for help-gnu-emacs@gnu.org; Sun, 31 Aug 2008 04:53:20 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:45062 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KZigR-0004vT-8W for help-gnu-emacs@gnu.org; Sun, 31 Aug 2008 04:53:19 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KZigP-00011i-TC for help-gnu-emacs@gnu.org; Sun, 31 Aug 2008 08:53:17 +0000 Original-Received: from e178024168.adsl.alicedsl.de ([85.178.24.168]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Aug 2008 08:53:17 +0000 Original-Received: from david.hansen by e178024168.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Aug 2008 08:53:17 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178024168.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:FlDxEZcO62dz2a41GHtfAkrKgl0= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57140 Archived-At: On Sun, 31 Aug 2008 16:37:04 +0800 s. ticket wrote: >> Why would you want to do that? Emacs uses them for locking and auto >> saving. Unless you like painful data loss you should be happy they are >> there. >> > Because when emacs exits abnormally, it may leave a lot of ".#xxx" files. > It may break some compiling as some compile tools just search all ".c" files > in the directory and complain "can't open .#xxx.c" ; That's exactly why you want them. After a crash you can M-x recover-this-file and get you changes back. David