diff options
Diffstat (limited to 'man/files.texi')
-rw-r--r-- | man/files.texi | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/man/files.texi b/man/files.texi index 26f6af37603..912fc6f7bf9 100644 --- a/man/files.texi +++ b/man/files.texi @@ -1,6 +1,6 @@ @c This is part of the Emacs manual. @c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1999, 2000, -@c 2001, 2004, 2005 Free Software Foundation, Inc. +@c 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. @c See file emacs.texi for copying conditions. @node Files, Buffers, Keyboard Macros, Top @chapter File Handling @@ -464,8 +464,9 @@ buffer as ``modified'' so that @kbd{C-x C-s} in that buffer @kindex C-x C-w @findex write-file If you wish to mark the buffer as visiting a different file and save it -right away, use @kbd{C-x C-w} (@code{write-file}). It is precisely -equivalent to @code{set-visited-file-name} followed by @kbd{C-x C-s}. +right away, use @kbd{C-x C-w} (@code{write-file}). It is +equivalent to @code{set-visited-file-name} followed by @kbd{C-x C-s} +(except that @kbd{C-x C-w} asks for confirmation if the file exists). @kbd{C-x C-s} used on a buffer that is not visiting a file has the same effect as @kbd{C-x C-w}; that is, it reads a file name, marks the buffer as visiting that file, and saves it there. The default file name in @@ -1642,7 +1643,7 @@ them; they exist only in the records of the master file. @kindex C-x v g For some backends, you can display the file @dfn{annotated} with per-line version information and using colors to enhance the visual -appearance, with the the command @kbd{M-x vc-annotate}. +appearance, with the command @kbd{M-x vc-annotate}. It creates a new buffer to display file's text, colored to show how old each part is. Text colored red is new, blue means old, and intermediate colors indicate @@ -2906,7 +2907,7 @@ string; the default is @code{"-c"} to specify a context diff. @findex diff-goto-source After running @kbd{M-x diff}, you can use @kbd{C-x `} to visit successive changed locations in the two source files, as in -Compilation mode (@pxref{Compilation}.) In the @samp{*diff*} buffer, +Compilation mode (@pxref{Compilation Mode}.) In the @samp{*diff*} buffer, you can move to a particular hunk of changes and type @kbd{C-c C-c} (@code{diff-goto-source}) to visit the corresponding source location. @@ -2917,13 +2918,19 @@ recent backup. If you specify the name of a backup file, of. @findex compare-windows - The command @kbd{M-x compare-windows} compares the text in the current -window with that in the next window. Comparison starts at point in each -window, and each starting position is pushed on the mark ring in its -respective buffer. Then point moves forward in each window, a character -at a time, until a mismatch between the two windows is reached. Then -the command is finished. For more information about windows in Emacs, -@ref{Windows}. + The command @kbd{M-x compare-windows} compares the text in the +current window with that in the next window. (For more information +about windows in Emacs, @ref{Windows}.) Comparison starts at point in +each window, after pushing each initial point value on the mark ring +in its respective buffer. Then it moves point forward in each window, +one character at a time, until it reaches characters that don't match. +Then the command exits. + + If point in the two windows is followed by non-matching text when +the command starts, it tries heuristically to advance up to matching +text in the two windows, and then exits. So if you use @kbd{M-x +compare-windows} repeatedly, each time it either skips one matching +range or finds the start of another. @vindex compare-ignore-case @vindex compare-ignore-whitespace @@ -3253,6 +3260,7 @@ File Names}). @section Quoted File Names @cindex quoting file names +@cindex file names, quote special characters You can @dfn{quote} an absolute file name to prevent special characters and syntax in it from having their special effects. The way to do this is to add @samp{/:} at the beginning. |