bug-gnu-emacs
[Top][All Lists]
Advanced

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

default value for find-file-existing-other-name vs. info page


From: John H. Palmieri
Subject: default value for find-file-existing-other-name vs. info page
Date: 06 Nov 2000 15:32:24 -0800

This bug report will be sent to the Free Software Foundation,
 not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

In GNU Emacs 20.4.7 (alphaev5-dec-osf4.0f, X toolkit)
 of Fri Feb 25 2000 on hilbert1
configured using `configure  --with-pop'

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


The variable 'find-file-existing-other-name' has default value t, as
far as I can tell from 'files.el'.  The GNU Emacs info page (node
"File Name Aliases") says

     If you visit two names for the same file, normally Emacs makes two
  different buffers, but it warns you about the situation.

     If you wish to avoid visiting the same file in two buffers under
  different names, set the variable `find-file-existing-other-name' to a
  non-`nil' value.  Then `find-file' uses the existing buffer visiting
  the file, no matter which of the file's names you specify.

The phrase "normally Emacs makes two different buffers" implies to me
that the documented default value for find-file-existing-other-name is
nil. 

An editorial remark: I prefer the current default setting of t, and
would suggest instead a change in the info page.  Maybe something like
this?

     If you visit two names for the same file, then Emacs prints a
  message informing you that the file you've chosen is the same as one
  that's already open, and it uses the existing buffer visiting the
  file.

     If you wish to visit the same file in two buffers under different
  names whenever these circumstances arise, set the variable
  `find-file-existing-other-name' to `nil'.  Then `find-file' will use
  different buffers, but it will warn you about the situation.

-- 
John H. Palmieri                      
Dept of Mathematics, Box 354350    palmieri@math.washington.edu
University of Washington           http://www.math.washington.edu/~palmieri/
Seattle, WA 98195-4350



reply via email to

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