GNU bug report logs -
#16179
24.3.50; darwin: ls-lisp-use-insert-directory-program=nil => bad formatting
Previous Next
Reported by: sds <at> gnu.org
Date: Tue, 17 Dec 2013 16:59:02 UTC
Severity: minor
Found in version 24.3.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #25 received at 16179-done <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 17 Dec 2013 23:05:01 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 16179 <at> debbugs.gnu.org
>
> > Date: Tue, 17 Dec 2013 15:37:58 -0500
> > From: Sam Steingold <sds <at> gnu.org>
> > Cc: 16179 <at> debbugs.gnu.org
> >
> > > In that Dired buffer, what are the values of ls-lisp-filesize-d-fmt
> > > and ls-lisp-filesize-f-fmt? I suspect they are " %2d" and " %2.0f"
> > > respectively.
> >
> > indeed.
> >
> > > If that is so, please step through
> > > ls-lisp-insert-directory in a debugger and see why it doesn't account
> > > for file sizes that have more than 2 digits in them.
> >
> > the `(memq ?s switches)' branch is taken.
> >
> > > Did you invoke Dired with some non-default switches, btw, as in
> > > "C-u C-x d"?
> >
> > I customize dired-listing-switches to "-als".
> > the "s" caused the problem.
>
> Right, it looks like it prepares to display size in blocks, but
> actually displays in bytes. I will take a look. Thanks.
There was a confusion in the code regarding what -s really means.
Should be fixed now (revision 115593 on the trunk).
Thanks.
This bug report was last modified 11 years and 249 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.