GNU bug report logs -
#18051
24.3.92; ls-lisp: Sorting; make ls-lisp-string-lessp a normal function?
Previous Next
Reported by: michael_heerdegen <at> web.de
Date: Fri, 18 Jul 2014 06:24:01 UTC
Severity: wishlist
Found in version 24.3.92
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: Michael Heerdegen <michael_heerdegen <at> web.de>
> Cc: 18051 <at> debbugs.gnu.org
> Date: Fri, 18 Jul 2014 11:37:19 +0200
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > > could I please get my `ls-lisp-string-lessp' defined as a function?
> >
> > You can always redefine the functions that call it, no?
>
> That would cover the whole switch processing algorithm,
> `ls-lisp-handle-switches', 60 lines of code. I would shadow any future
> change in that code by redefining that huge function. That's why I
> wanted to avoid that.
You are going to override the behavior of the package anyway, so I
don't see the big difference.
> What's the advantage of `ls-lisp-string-lessp' being a defsubst?
From my POV, making sure the package always behaves as designed, I
guess. You agreed with my motivation, so it sounds like a
contradiction to me to still push for the change.
Anyway, if others think the comparison of file names should be up for
grabs, I won't fight the change just because I think it's wrong.
This bug report was last modified 10 years and 224 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.