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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Nicolas Richard <theonewiththeevillook@HIDDEN>; dated Mon, 7 Apr 2014 17:37:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Apr 2014 17:36:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 07 13:36:09 2014
Received: from localhost ([127.0.0.1]:39827 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WXDSq-0007pR-Bj
	for submit <at> debbugs.gnu.org; Mon, 07 Apr 2014 13:36:08 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52592)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <theonewiththeevillook@HIDDEN>) id 1WXDSn-0007pI-UY
 for submit <at> debbugs.gnu.org; Mon, 07 Apr 2014 13:36:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <theonewiththeevillook@HIDDEN>) id 1WXDSg-0002jg-D2
 for submit <at> debbugs.gnu.org; Mon, 07 Apr 2014 13:36:05 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:36184)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <theonewiththeevillook@HIDDEN>) id 1WXDSg-0002jc-96
 for submit <at> debbugs.gnu.org; Mon, 07 Apr 2014 13:35:58 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54263)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <theonewiththeevillook@HIDDEN>) id 1WXDSa-0002BB-0o
 for bug-gnu-emacs@HIDDEN; Mon, 07 Apr 2014 13:35:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <theonewiththeevillook@HIDDEN>) id 1WXDST-0002gj-Ks
 for bug-gnu-emacs@HIDDEN; Mon, 07 Apr 2014 13:35:51 -0400
Received: from mailrelay010.isp.belgacom.be ([195.238.6.177]:38258)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <theonewiththeevillook@HIDDEN>) id 1WXDST-0002gS-BK
 for bug-gnu-emacs@HIDDEN; Mon, 07 Apr 2014 13:35:45 -0400
X-Belgacom-Dynamic: yes
Received: from 208.163-178-91.adsl-dyn.isp.belgacom.be (HELO LDLC-portable)
 ([91.178.163.208])
 by relay.skynet.be with ESMTP; 07 Apr 2014 19:35:43 +0200
From: Nicolas Richard <theonewiththeevillook@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.3.50; wrong alignment when a list is given to dired
Date: Mon, 07 Apr 2014 19:35:43 +0200
Message-ID: <877g71yrdc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

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.




Acknowledgement sent to Nicolas Richard <theonewiththeevillook@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#17219; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.