From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.bugs Subject: bug#17219: 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@yahoo.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1396892249 30470 80.91.229.3 (7 Apr 2014 17:37:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Apr 2014 17:37:29 +0000 (UTC) To: 17219@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 07 19:37:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WXDU1-0006Vg-5v for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Apr 2014 19:37:21 +0200 Original-Received: from localhost ([::1]:35914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXDU0-0003Or-Q4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Apr 2014 13:37:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXDTq-0003LK-Nf for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 13:37:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WXDTj-0002sn-6f for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 13:37:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXDTj-0002rg-3U for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 13:37:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WXDTh-0007rL-WB for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 13:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Apr 2014 17:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139689216930102 (code B ref -1); Mon, 07 Apr 2014 17:37:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Apr 2014 17:36:09 +0000 Original-Received: from localhost ([127.0.0.1]:39827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WXDSq-0007pR-Bj for submit@debbugs.gnu.org; Mon, 07 Apr 2014 13:36:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52592) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WXDSn-0007pI-UY for submit@debbugs.gnu.org; Mon, 07 Apr 2014 13:36:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WXDSg-0002jg-D2 for submit@debbugs.gnu.org; Mon, 07 Apr 2014 13:36:05 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXDSg-0002jc-96 for submit@debbugs.gnu.org; Mon, 07 Apr 2014 13:35:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXDSa-0002BB-0o for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 13:35:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WXDST-0002gj-Ks for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 13:35:51 -0400 Original-Received: from mailrelay010.isp.belgacom.be ([195.238.6.177]:38258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXDST-0002gS-BK for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 13:35:45 -0400 X-Belgacom-Dynamic: yes Original-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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:87857 Archived-At: 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.