emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r116132: * doc/emacs/files.texi (Interlocking): Copy


From: Glenn Morris
Subject: [Emacs-diffs] trunk r116132: * doc/emacs/files.texi (Interlocking): Copyedit.
Date: Fri, 24 Jan 2014 03:34:39 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116132
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2014-01-23 19:34:31 -0800
message:
  * doc/emacs/files.texi (Interlocking): Copyedit.
  
  * etc/NEWS: Related small edits.
modified:
  doc/emacs/ChangeLog            changelog-20091113204419-o5vbwnq5f7feedwu-6227
  doc/emacs/files.texi           files.texi-20091113204419-o5vbwnq5f7feedwu-6249
  etc/NEWS                       news-20100311060928-aoit31wvzf25yr1z-1
=== modified file 'doc/emacs/ChangeLog'
--- a/doc/emacs/ChangeLog       2014-01-23 08:27:44 +0000
+++ b/doc/emacs/ChangeLog       2014-01-24 03:34:31 +0000
@@ -1,3 +1,7 @@
+2014-01-24  Glenn Morris  <address@hidden>
+
+       * files.texi (Interlocking): Copyedit.
+
 2014-01-23  Glenn Morris  <address@hidden>
 
        * building.texi (Lisp Eval): Update prefix argument behavior

=== modified file 'doc/emacs/files.texi'
--- a/doc/emacs/files.texi      2014-01-15 18:27:51 +0000
+++ b/doc/emacs/files.texi      2014-01-24 03:34:31 +0000
@@ -752,9 +752,10 @@
 @cindex locking files
   When you make the first modification in an Emacs buffer that is
 visiting a file, Emacs records that the file is @dfn{locked} by you.
-(It does this by creating a specially-named symbolic link or regular
-file with special contents in the same directory.)  Emacs removes the
-lock when you save the changes.  The idea is that the file is locked
+(It does this by creating a specially-named symbolic address@hidden
+your file system does not support symbolic links, a regular file is
+used.} with special contents in the same directory.)  Emacs removes the lock
+when you save the changes.  The idea is that the file is locked
 whenever an Emacs buffer visiting it has unsaved changes.
 
 @vindex create-lockfiles

=== modified file 'etc/NEWS'
--- a/etc/NEWS  2014-01-23 08:27:44 +0000
+++ b/etc/NEWS  2014-01-24 03:34:31 +0000
@@ -1265,17 +1265,6 @@
 
 ** `time-to-seconds' is not obsolete any more.
 
-** The lock for 'DIR/FILE' is now 'DIR/.#FILE' and may be a regular file.
-When you edit DIR/FILE, Emacs normally creates a symbolic link
-DIR/.#FILE as a lock that warns other instances of Emacs that DIR/FILE
-is being edited.  Formerly, if there was already a non-symlink file
-named DIR/.#FILE, Emacs fell back on the lock names DIR/.#FILE.0
-through DIR/.#FILE.9.  These fallbacks have been removed, so that
-Emacs now no longer locks DIR/FILE in that case.
-
-On file systems that do not support symbolic links, the lock is now a
-regular file with contents being what would have been in the symlink.
-
 +++
 ** New functions `group-gid' and `group-real-gid'.
 
@@ -1283,6 +1272,15 @@
 ** The spelling of the rx.el category `chinese-two-byte' has been
 corrected (the first 'e' was missing).
 
+---
+** Minor internal changes to the details of lock files.
+The lock for DIR/FILE is now _always_ DIR/.#FILE.
+If DIR/.#FILE already exists and is not an Emacs lock file,
+Emacs makes no attempt to lock DIR/FILE.  (Previously, it fell back to
+numbered lock files DIR/.#FILE.0...).
+On file systems that do not support symbolic links, the lock is now a
+regular file with contents being what would have been in the symlink.
+
 ** Changes to the Emacs Lisp Coding Conventions in Emacs 24.4
 
 +++
@@ -1331,7 +1329,7 @@
 
 ---
 ** Lock files now work on MS-Windows.
-This allows to avoid losing your edits if the same file is being
+This helps to prevent losing your edits if the same file is being
 edited in another Emacs session or by another user.  See the node
 "Interlocking" in the Emacs User Manual for the details.  To disable
 file locking, customize `create-lockfiles' to nil.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]