GNU bug report logs - #17219
24.3.50; wrong alignment when a list is given to dired

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Mon, 7 Apr 2014 17:37:01 UTC

Severity: normal

Tags: confirmed

Found in version 24.3.50

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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Subject: bug#17219: closed (Re: bug#17219: 24.3.50; wrong alignment when a
 list is given to dired)
Date: Sun, 19 Jan 2025 10:24:03 +0000
[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)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: kuba <at> kubajecminek.cz
Cc: theonewiththeevillook <at> yahoo.fr, 17219-done <at> debbugs.gnu.org
Subject: Re: bug#17219: 24.3.50; wrong alignment when a list is given to dired
Date: Sun, 19 Jan 2025 12:23:35 +0200
> 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)]
From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; wrong alignment when a list is given to dired
Date: Mon, 07 Apr 2014 19:35:43 +0200
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.