GNU bug report logs - #33339
26; doc string of `write-file`

Previous Next

Package: emacs;

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

Date: Sat, 10 Nov 2018 22:43:01 UTC

Severity: minor

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Drew Adams <drew.adams <at> oracle.com>
Cc: 33339-done <at> debbugs.gnu.org
Subject: bug#33339: 26; doc string of `write-file`
Date: Sun, 11 Nov 2018 08:55:25 -0800 (PST)
> >  "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.

Yes, things are out of order.

> I made it even more clear.

Thank you.

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




This bug report was last modified 6 years and 192 days ago.

Previous Next


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