-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hrvoje Niksic wrote:
> Micah Cowan <[EMAIL PROTECTED]> writes:
> 
>> Christian Roche has submitted a revised version of a patch to modify
>> the unique-name-finding algorithm to generate names in the pattern
>> "foo-n.html" rather than "foo.html.n". The patch looks good, and
>> will likely go in very soon.
> 
> foo.html.n has the advantage of simplicity: you can tell at a glance
> that <foo>.n is a duplicate of <foo>.  Also, it is trivial to remove
> the unwanted files by removing <foo>.*.  Why change what worked so
> well in the past?

Well, the original motivation for Chris was that it was actually
interfering with the accept/reject rules; see the log.txt attachment at
https://savannah.gnu.org/bugs/index.php?20482; this behavior is also
related to the -nd/-r behavior I brought up yesterday.

However, that's obviously not a good long-term fix for the problem; the
real reason _I_ like it, is that it preserves the type of the files, on
systems/applications that depend on the filename extension to identify
it. Most browsers I've seen, including Lynx (though for Lynx you can
specify a flag to override it, I think) depend on this, at least for
HTML; and even for JPEgs and such on Unixen it is often beneficial to
have an extension that matches the type. It automatically gives an
"-E"-like benefit (for this instance; not for URLs that don't end with
appropriate extensions).

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHLkQ47M8hyUobTrERCKpvAJkBzlvl9td1pRmzfZqJmRM9M8LtJQCcCHl6
yDVeZRljJ2QSISmTxVQ/oLI=
=Z+7T
-----END PGP SIGNATURE-----

Reply via email to