unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Lopez <daniel.lopez999@gmail.com>
To: 18828@debbugs.gnu.org
Subject: bug#18828: 24.4; Early collision warning when 'create-lockfiles' is set to nil
Date: Sat, 14 Mar 2015 04:12:13 +0000	[thread overview]
Message-ID: <5503B51D.3080100@gmail.com> (raw)
In-Reply-To: <CAH8Pv0i0G9PuzijehnRigXKouBtFSmoykXLrdRnjcqoLsGTT+w@mail.gmail.com>

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





  reply	other threads:[~2015-03-14  4:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-25 15:07 bug#18828: 24.4; Early collision warning when 'create-lockfiles' is set to nil Dani Moncayo
2015-03-14  4:12 ` Daniel Lopez [this message]
2015-04-29  9:59   ` Dani Moncayo
2015-04-29 15:44     ` Glenn Morris
2015-04-29 15:53       ` Dani Moncayo
2015-04-29 15:57         ` Glenn Morris
2015-04-29 16:16           ` Eli Zaretskii
2015-05-04 21:12             ` Dani Moncayo
2015-05-08  9:22               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5503B51D.3080100@gmail.com \
    --to=daniel.lopez999@gmail.com \
    --cc=18828@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).