From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Lopez Newsgroups: gmane.emacs.bugs Subject: bug#18828: 24.4; Early collision warning when 'create-lockfiles' is set to nil Date: Sat, 14 Mar 2015 04:12:13 +0000 Message-ID: <5503B51D.3080100@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1426316126 26958 80.91.229.3 (14 Mar 2015 06:55:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Mar 2015 06:55:26 +0000 (UTC) To: 18828@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 14 07:55:15 2015 Return-path: Envelope-to: geb-bug-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 1YWfyb-00017r-9D for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Mar 2015 07:55:13 +0100 Original-Received: from localhost ([::1]:39854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWfya-0003tS-H2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Mar 2015 02:55:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWfyX-0003rG-3u for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2015 02:55:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWfyR-0000b7-86 for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2015 02:55:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWfyR-0000ad-4I for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2015 02:55:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YWfyQ-0004uL-JN for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2015 02:55:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Daniel Lopez Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Mar 2015 06:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18828 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18828-submit@debbugs.gnu.org id=B18828.142631608818843 (code B ref 18828); Sat, 14 Mar 2015 06:55:02 +0000 Original-Received: (at 18828) by debbugs.gnu.org; 14 Mar 2015 06:54:48 +0000 Original-Received: from localhost ([127.0.0.1]:45636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YWfyB-0004tq-13 for submit@debbugs.gnu.org; Sat, 14 Mar 2015 02:54:47 -0400 Original-Received: from mail-we0-f182.google.com ([74.125.82.182]:33764) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YWdUk-0000tR-IS for 18828@debbugs.gnu.org; Sat, 14 Mar 2015 00:16:15 -0400 Original-Received: by wejb47 with SMTP id b47so4497173wej.0 for <18828@debbugs.gnu.org>; Fri, 13 Mar 2015 21:16:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=4nqzT28ajqNYg8bi0FwLcXGOjmwPgZrHZK13X74yd6w=; b=0+0QNosNvg3bLybuGAXsoVL5ioQV8FjXgVBAIkf7XPlmuc0RoaZoTExhWStz4hRQD7 lAMAuRBfgXE1xyDw9B3J5lEcnEk6s/e9K5AuuDewe9YsxMPSYGhox1g4nneGI9git0Y0 JvpvEnHZJl4LFKKZyX8LO3fBhkhO/WlOL2V+RCU4m7ep0YYQ4HNeHsSZKQnoAVbUI9C0 K5M7goao766+qd03Hk3elN/2jh8kM7Sx2MwF5NxsHWKQtJsEcOIyuOrhcXRVAFGKEfX9 DdTBEKaEsrr8gkttVtx58WhNCxniWYIyg0N/TxCQ9sR2iHO85nm2iLyPpF7BNjZJoZnJ YYFw== X-Received: by 10.180.104.66 with SMTP id gc2mr145260075wib.34.1426306573900; Fri, 13 Mar 2015 21:16:13 -0700 (PDT) Original-Received: from [192.168.2.2] (w-79.cust-5765.ip.static.uno.uk.net. [95.172.231.79]) by mx.google.com with ESMTPSA id ew5sm5354063wic.14.2015.03.13.21.16.12 for <18828@debbugs.gnu.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Mar 2015 21:16:13 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 X-Mailman-Approved-At: Sat, 14 Mar 2015 02:54:45 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100463 Archived-At: I've noticed this too. (setq create-lockfiles nil) seems to turn off both the creation of lockfiles (which are used to alert you if you start to modify a file which another Emacs session concurrently has open in a modified, unsaved state); and the feature of prompting you if you start to modify a file which has changed on disk from what is visible in the buffer since you opened or last reverted it. I find myself wanting the latter feature but not the former. In particular, the latter feature will detect if the file contents have been changed by another application, whereas the lockfiles feature will only detect if the file is currently being edited by another instance of Emacs. So the 'create-lockfiles' variable should be limited to only control the former feature, and maybe there should be another setting for turning the latter feature on and off, though I wouldn't want to turn if off myself. Daniel