From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: 17219@debbugs.gnu.org
Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired
Date: Mon, 07 Apr 2014 19:35:43 +0200 [thread overview]
Message-ID: <877g71yrdc.fsf@yahoo.fr> (raw)
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.
next reply other threads:[~2014-04-07 17:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-07 17:35 Nicolas Richard [this message]
2019-08-15 0:03 ` bug#17219: 24.3.50; wrong alignment when a list is given to dired Lars Ingebrigtsen
2019-09-19 16:18 ` Nicolas Richard via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-09-20 6:28 ` Eli Zaretskii
2019-09-20 12:48 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877g71yrdc.fsf@yahoo.fr \
--to=theonewiththeevillook@yahoo.fr \
--cc=17219@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).