GNU bug report logs - #14697
24.3.50; doc string of `find-file-visit-truename'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 23 Jun 2013 17:15:02 UTC

Severity: minor

Found in version 24.3.50

Fixed in version 24.4

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; doc string of `find-file-visit-truename'
Date: Sun, 23 Jun 2013 10:14:39 -0700 (PDT)
A minor problem.

1. The statement: "Non-nil means visit a file under its truename"
is a bit misleading.  A non-nil value does not mean that a file gets
visited (...) at all.  It means only that IF a file gets visited then it
gets visited under its truename.

2. The doc is hard to understand unless one knows what visiting a file
"under its truename" means.

The doc does a good job of saying what the truename of a file is.  What
is missing is to say what "visiting under" a given name means.
Presumably what is meant is that the truename is the name of the visited
file, i.e., it is used as the value of `buffer-file-name'.  If so, say
that.

I would suggest something like this:

Non-nil means visiting a file uses its truename as the visited-file name.
That is, the buffer visiting the file has the truename as the value of
`buffer-file-name'.

In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-06-20 on ODIEONE
Bzr revision: 113100 eliz <at> gnu.org-20130620173624-w9v620tog4yacftk
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 CFLAGS=-O0 -g3 LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'




This bug report was last modified 11 years and 110 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.