unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14697: 24.3.50; doc string of `find-file-visit-truename'
@ 2013-06-23 17:14 Drew Adams
  2014-02-08  6:58 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2013-06-23 17:14 UTC (permalink / raw)
  To: 14697

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@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'





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#14697: 24.3.50; doc string of `find-file-visit-truename'
  2013-06-23 17:14 bug#14697: 24.3.50; doc string of `find-file-visit-truename' Drew Adams
@ 2014-02-08  6:58 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2014-02-08  6:58 UTC (permalink / raw)
  To: Drew Adams; +Cc: 14697

Drew Adams <drew.adams@oracle.com> writes:

> 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'.

Yes, that's better.  Installed on the trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-08  6:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-23 17:14 bug#14697: 24.3.50; doc string of `find-file-visit-truename' Drew Adams
2014-02-08  6:58 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).