unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 14697@debbugs.gnu.org
Subject: bug#14697: 24.3.50; doc string of `find-file-visit-truename'
Date: Sun, 23 Jun 2013 10:14:39 -0700 (PDT)	[thread overview]
Message-ID: <cdf20199-670e-405a-bef7-38a231ef91c1@default> (raw)

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'





             reply	other threads:[~2013-06-23 17:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-23 17:14 Drew Adams [this message]
2014-02-08  6:58 ` bug#14697: 24.3.50; doc string of `find-file-visit-truename' Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cdf20199-670e-405a-bef7-38a231ef91c1@default \
    --to=drew.adams@oracle.com \
    --cc=14697@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).