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


Message #22 received at 17219 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: 17219 <at> debbugs.gnu.org
Subject: Re: bug#17219: 24.3.50; wrong alignment when a list is given to dired
Date: Fri, 20 Sep 2019 14:48:59 +0200
Nicolas Richard <theonewiththeevillook <at> yahoo.fr> writes:

>>> M-: (dired (list "Something" "/" "~/"))

[...]

> Thanks for your patience. I still misalignement if I hit 'g'
> (revert-buffer) afterwards.

Ah, yes, with `g' I get the misalignment, too.

Eli Zaretskii <eliz <at> gnu.org> writes:

> I guess it's because there are only 2 lines in the resulting buffer or
> something.

I get the same problem with three lines.

(dired (list "Something" "/" "~/" "/tmp"))
=>

  /home/larsi/src/emacs/trunk/lisp/progmodes:
  drwxr-xr-x 26 root root   4.0K Sep 17 13:43 /
  drwxr-xr-x 78 larsi larsi 4.0K Sep 20 14:32 /home/larsi/
  drwxrwxrwt 27 root  root   36K Sep 20 14:41 /tmp

and then `g'

  /home/larsi/src/emacs/trunk/lisp/progmodes:
  drwxr-xr-x 26 root root 4.0K Sep 17 13:43 /
  drwxr-xr-x 78 larsi larsi 4.0K Sep 20 14:32 /home/larsi/
  drwxrwxrwt 27 root  root   36K Sep 20 14:41 /tmp

It seems like the first line always loses the two extra spaces after
"root root".  Or...  experimenting with the order

  /home/larsi/src/emacs/trunk:
  drwxr-xr-x 26 root root 4.0K Sep 17 13:43 /
  drwxrwxrwt 27 root root  36K Sep 20 14:41 /tmp
  drwxr-xr-x 78 larsi larsi 4.0K Sep 20 14:32 /home/larsi/

If the "root" lines are both first, then both lose the alignment.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.