comparison man/files.texi @ 68310:7badc603f7ab

(File Aliases): Don't claim that usually separate buffers are created for two file names that name the same data. Mention additional situations where different names mean the same file on disk.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 21 Jan 2006 11:39:05 +0000
parents 05e4a3f8ac73
children b1e412bac8b7 5b7d410e31f9
comparison
equal deleted inserted replaced
68309:ec6b28b7cce4 68310:7badc603f7ab
1148 alias: when @file{foo} is a symbolic link to @file{bar}, you can use 1148 alias: when @file{foo} is a symbolic link to @file{bar}, you can use
1149 either name to refer to the file, but @file{bar} is the real name, while 1149 either name to refer to the file, but @file{bar} is the real name, while
1150 @file{foo} is just an alias. More complex cases occur when symbolic 1150 @file{foo} is just an alias. More complex cases occur when symbolic
1151 links point to directories. 1151 links point to directories.
1152 1152
1153 If you visit two names for the same file, normally Emacs makes
1154 two different buffers, but it warns you about the situation.
1155
1156 @vindex find-file-existing-other-name 1153 @vindex find-file-existing-other-name
1157 @vindex find-file-suppress-same-file-warnings 1154 @vindex find-file-suppress-same-file-warnings
1155
1158 Normally, if you visit a file which Emacs is already visiting under 1156 Normally, if you visit a file which Emacs is already visiting under
1159 a different name, Emacs displays a message in the echo area and uses 1157 a different name, Emacs displays a message in the echo area and uses
1160 the existing buffer visiting that file. This can happen on systems 1158 the existing buffer visiting that file. This can happen on systems
1161 that support symbolic links, or if you use a long file name on a 1159 that support hard or symbolic links, or if you use a long file name on
1162 system that truncates long file names. You can suppress the message by 1160 a system that truncates long file names, or on a case-insensitive file
1163 setting the variable @code{find-file-suppress-same-file-warnings} to a 1161 system. You can suppress the message by setting the variable
1164 non-@code{nil} value. You can disable this feature entirely by setting 1162 @code{find-file-suppress-same-file-warnings} to a non-@code{nil}
1165 the variable @code{find-file-existing-other-name} to @code{nil}: then 1163 value. You can disable this feature entirely by setting the variable
1166 if you visit the same file under two different names, you get a separate 1164 @code{find-file-existing-other-name} to @code{nil}: then if you visit
1167 buffer for each file name. 1165 the same file under two different names, you get a separate buffer for
1166 each file name.
1168 1167
1169 @vindex find-file-visit-truename 1168 @vindex find-file-visit-truename
1170 @cindex truenames of files 1169 @cindex truenames of files
1171 @cindex file truenames 1170 @cindex file truenames
1172 If the variable @code{find-file-visit-truename} is non-@code{nil}, 1171 If the variable @code{find-file-visit-truename} is non-@code{nil},