[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: convert-standard-filename's doc
From: |
Stefan Monnier |
Subject: |
Re: convert-standard-filename's doc |
Date: |
27 May 2004 18:19:09 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>> 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.
> They don't need to be identical: once a port overloads the standard
> definition with another one, the doc string is replaced as well.
> So we could have a doc string that describes what that function does
> on the specific platform where it runs. The default doc string
> should be left as it is now, IMHO.
I think the docstring should document what "the function
convert-standard-filename" does, not what the "the function currently
associated with the convert-standard-filename symbol" does.
So I think the "generic" text needs to be in, together with an explanation
of what this specific instance of convert-standard-filename does.
Basically I think that multiple definitions of the same function is
a bad thing. Maybe using defadvice in dos-fns and w32-fns would be even
worse for various reasons, but I think that the docstrings should do
something similar to what we'd get if we used defadvice.
Stefan
- convert-standard-filename's doc, Juanma Barranquero, 2004/05/27
- Re: convert-standard-filename's doc, Eli Zaretskii, 2004/05/27
- Re: convert-standard-filename's doc,
Stefan Monnier <=
- Re: convert-standard-filename's doc, Juanma Barranquero, 2004/05/28
- Re: convert-standard-filename's doc, Kai Grossjohann, 2004/05/28
- Re: convert-standard-filename's doc, Juanma Barranquero, 2004/05/28
- Re: convert-standard-filename's doc, Kai Grossjohann, 2004/05/29
- Re: convert-standard-filename's doc, Eli Zaretskii, 2004/05/29
- Re: convert-standard-filename's doc, Kai Grossjohann, 2004/05/29
- Re: convert-standard-filename's doc, Juanma Barranquero, 2004/05/29
- Re: {Spam?} Re: convert-standard-filename's doc, Stefan Monnier, 2004/05/30
- Re: convert-standard-filename's doc, Eli Zaretskii, 2004/05/31
- Re: convert-standard-filename's doc, Juanma Barranquero, 2004/05/31