[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17219: 24.3.50; wrong alignment when a list is given to dired
From: |
Lars Ingebrigtsen |
Subject: |
bug#17219: 24.3.50; wrong alignment when a list is given to dired |
Date: |
Fri, 20 Sep 2019 14:48:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Nicolas Richard <theonewiththeevillook@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@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