2001-08-01 Francesco Potorti` <pot@gnu.org>
- * uniquify.el (uniquify-rationalize-file-buffer-names): Add an
- explicit test for " **lose**" buffers generated by
- find-alternate-file to avoid an error in particular conditions.
- (uniquify-rationalize-file-buffer-names): Reshuffled the code for
- clarity and speed (?).
+ * uniquify.el: These changes correct a corner case that the old
+ code managed correctly.
+ (uniquify-fix-item-proposed): Renamed from
+ uniquify-fix-item-min-proposed.
+ (uniquify-set-proposed): New function.
+ (uniquify-rationalize-file-buffer-names): Code reshuffled for
+ clarity and speed.
+ (uniquify-item-greaterp): Substitutes uniquify-item-lessp. This
+ is equivalent to what the old code did.
+ (uniquify-rationalize-a-list): Never recompute the proposed
+ name. Sort the conflicting sublist before rationalising it: this
+ is equivalent to what the old code did, but one directory element
+ at a time, and only when necessary.
+ (uniquify-rationalize-conflicting-sublist): Recompute here the
+ proposed name.
2001-08-01 Gerd Moellmann <gerd@gnu.org>