unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* convert-standard-filename's doc
@ 2004-05-27 14:05 Juanma Barranquero
  2004-05-27 18:21 ` Eli Zaretskii
  2004-05-28  5:22 ` Kai Grossjohann
  0 siblings, 2 replies; 27+ messages in thread
From: Juanma Barranquero @ 2004-05-27 14:05 UTC (permalink / raw)


Four years ago, the docstring for convert-standard-filename (in files.el)
was changed, but the ones in w32-fns.el and dos-fns.el were not.

Now, it's trivial to fix them to be identical again. But I wonder
whether

    "Convert a standard file's name to something suitable for the current OS.
  This function's standard definition is trivial; it just returns the argument.
  However, on some systems, the function is redefined with a definition
  that really does change some file names to canonicalize certain
  patterns and to guarantee valid names."

is a good description for a function which really *does* something. In
other words, I'd change the docstring for the w32-fns.el version to
read:

    "Convert a standard file's name to something suitable for Windows.

  Returns FILENAME after replacing invalid characters with ! and
  converting directory separators to the Windows style (if needed).
  It also turns Cygwin-style /cygdrive/x/ pathnames to x:/ paths."

(and add also a suitable docstring for the dos-fns.el version, of course).

                                                                Juanma

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

end of thread, other threads:[~2004-05-31  7:39 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-27 14:05 convert-standard-filename's doc Juanma Barranquero
2004-05-27 18:21 ` Eli Zaretskii
2004-05-27 22:19   ` Stefan Monnier
2004-05-28  9:02     ` Eli Zaretskii
2004-05-28 16:19       ` Stefan Monnier
2004-05-29 11:40         ` Eli Zaretskii
2004-05-28  9:27     ` Juanma Barranquero
2004-05-28 13:51       ` Kai Grossjohann
2004-05-28 18:26         ` Juanma Barranquero
2004-05-29 11:13           ` Kai Grossjohann
2004-05-29 14:24             ` Eli Zaretskii
2004-05-29 14:47               ` Kai Grossjohann
2004-05-29 17:55             ` Juanma Barranquero
2004-05-30 21:53               ` {Spam?} " Stefan Monnier
2004-05-31  7:05               ` Eli Zaretskii
2004-05-31  7:39                 ` Juanma Barranquero
2004-05-29 12:08           ` Eli Zaretskii
2004-05-28 16:21       ` Stefan Monnier
2004-05-29  0:49         ` Juanma Barranquero
2004-05-29 17:02         ` Richard Stallman
2004-05-29 17:56           ` Juanma Barranquero
2004-05-29 11:18     ` Kai Grossjohann
2004-05-30 14:30       ` Richard Stallman
2004-05-28  7:28   ` Juanma Barranquero
2004-05-29 10:16     ` Eli Zaretskii
2004-05-28  5:22 ` Kai Grossjohann
2004-05-28  9:32   ` Juanma Barranquero

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