GNU bug report logs -
#17219
24.3.50; wrong alignment when a list is given to dired
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#17219: 24.3.50; wrong alignment when a list is given to dired
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 17219 <at> debbugs.gnu.org.
--
17219: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=17219
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
> Cc: theonewiththeevillook <at> yahoo.fr, 17219 <at> debbugs.gnu.org
> Date: Fri, 17 Jan 2025 09:04:13 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
>
> > Date: Thu, 16 Jan 2025 21:35:14 +0000
> > From: Jakub Ječmínek <kuba <at> kubajecminek.cz>
> > Cc: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>, 17219 <at> debbugs.gnu.org
> >
> > What do you think, should this be merged or should we rework the patch?
>
> Sorry, I didn't yet have enough time to look into the proposed
> patches. But I didn't forget, either.
>
> At least on my system I saw one other related problem with this
> recipe, which isn't an alignment problem at all. So I think there's
> more here than meets the eye, and will look into this when I have
> time.
>
> Stay tuned.
Thanks, I've now installed the patch on the master branch, and I'm
therefore closing this bug.
[Message part 3 (message/rfc822, inline)]
Steps to reproduce :
emacs -Q
M-: (dired (list "Something" "/" "~/"))
this gives, on my system:
: /home/youngfrog/mesnotes/lisp:
: drwxr-xr-x 22 root root 4096 mar 15 20:53 /
: drwxr-xr-x 128 youngfrog youngfrog 12288 avr 7 18:23 /home/youngfrog/
which is not properly aligned.
OTOH, doing
M-: (dired (list "Something" "~/" "/" "/usr" ))
gives:
: drwxr-xr-x 128 youngfrog youngfrog 12288 avr 7 18:23 /home/youngfrog/
: drwxr-xr-x 22 root root 4096 mar 15 20:53 /
: drwxr-xr-x 10 root root 4096 nov 9 2012 /usr
which is ok wrt alignment.
It's dired-align-file that apparently can not do its work in the first
situation. Not sure if this can be fixed easily. From the comments, the
condition (> other-col file-col) seems important in the current
implementation.
Opinions ?
In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.20)
of 2014-01-30 on LDLC-portable
Windowing system distributor `The X.Org Foundation', version 11.0.11405000
System Description: Ubuntu 13.10
Configured using:
`configure 'CFLAGS=-g3 -O2''
Important settings:
value of $LANG: fr_BE.UTF-8
locale-coding-system: utf-8-unix
--
Nico.
This bug report was last modified 184 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.