all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 33339-done@debbugs.gnu.org
Subject: bug#33339: 26; doc string of `write-file`
Date: Sun, 11 Nov 2018 18:20:36 +0200	[thread overview]
Message-ID: <83h8gna8mj.fsf@gnu.org> (raw)
In-Reply-To: <1c69fed6-2e30-46a2-92dd-7f8ae6d62928@default> (message from Drew Adams on Sat, 10 Nov 2018 14:42:16 -0800 (PST))

> Date: Sat, 10 Nov 2018 14:42:16 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
> 
>  "If you specify just a directory name as FILENAME, that means to use
>   the default file name but in that directory.  You can also yank
>   the default file name into the minibuffer to edit it, using M-n."
> 
> "The default file name" is undefined.

It is defined by the very next paragraph of the doc string.  I made it
even more clear.

> To start with, the doc string should say that it prompts for a file
> name.  If the current buffer is visiting a file then that file's name is
> the default file name for reading.  Otherwise the buffer name is the
> default file name for reading.

This is incorrect when the user specifies just the directory name at
the prompt.  I clarified that only the base name is taken from the
buffer.

Thanks.





  reply	other threads:[~2018-11-11 16:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-10 22:42 bug#33339: 26; doc string of `write-file` Drew Adams
2018-11-11 16:20 ` Eli Zaretskii [this message]
     [not found] <<1c69fed6-2e30-46a2-92dd-7f8ae6d62928@default>
     [not found] ` <<83h8gna8mj.fsf@gnu.org>
2018-11-11 16:55   ` Drew Adams

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

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

  git send-email \
    --in-reply-to=83h8gna8mj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=33339-done@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.