From unknown Fri Sep 05 11:50:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired 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: To: 17219@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.139689216930102 (code B ref -1); Mon, 07 Apr 2014 17:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Apr 2014 17:36:09 +0000 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 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 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 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 ) id 1WXDSg-0002jc-96 for submit@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 ) id 1WXDSa-0002BB-0o for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 13:35:58 -0400 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 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 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 Date: Mon, 07 Apr 2014 19:35:43 +0200 Message-ID: <877g71yrdc.fsf@yahoo.fr> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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. From unknown Fri Sep 05 11:50:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Aug 2019 00:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Nicolas Richard Cc: 17219@debbugs.gnu.org Received: via spool by 17219-submit@debbugs.gnu.org id=B17219.15658274397189 (code B ref 17219); Thu, 15 Aug 2019 00:04:01 +0000 Received: (at 17219) by debbugs.gnu.org; 15 Aug 2019 00:03:59 +0000 Received: from localhost ([127.0.0.1]:49903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hy3FH-0001rs-59 for submit@debbugs.gnu.org; Wed, 14 Aug 2019 20:03:59 -0400 Received: from quimby.gnus.org ([80.91.231.51]:58198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hy3FF-0001rl-R7 for 17219@debbugs.gnu.org; Wed, 14 Aug 2019 20:03:58 -0400 Received: from 24-104-73-23-ip-static.hfc.comcastbusiness.net ([24.104.73.23] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hy3FB-0005Zg-U5; Thu, 15 Aug 2019 02:03:56 +0200 From: Lars Ingebrigtsen References: <877g71yrdc.fsf@yahoo.fr> Date: Wed, 14 Aug 2019 17:03:51 -0700 In-Reply-To: <877g71yrdc.fsf@yahoo.fr> (Nicolas Richard's message of "Mon, 07 Apr 2014 19:35:43 +0200") Message-ID: <87sgq3s3a0.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Nicolas Richard writes: > 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 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Nicolas Richard writes: > 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. (I'm going through old bug reports that have unfortunately gotten no responses yet.) I tried this in Emacs 27, and I was unable to reproduce the problem. Are you still seeing this? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 14 20:04:09 2019 Received: (at control) by debbugs.gnu.org; 15 Aug 2019 00:04:09 +0000 Received: from localhost ([127.0.0.1]:49907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hy3FR-0001sh-Fd for submit@debbugs.gnu.org; Wed, 14 Aug 2019 20:04:09 -0400 Received: from quimby.gnus.org ([80.91.231.51]:58216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hy3FQ-0001sZ-5d for control@debbugs.gnu.org; Wed, 14 Aug 2019 20:04:08 -0400 Received: from 24-104-73-23-ip-static.hfc.comcastbusiness.net ([24.104.73.23] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hy3FN-0005Zr-8Z for control@debbugs.gnu.org; Thu, 15 Aug 2019 02:04:07 +0200 Date: Wed, 14 Aug 2019 17:04:03 -0700 Message-Id: <87r25ns39o.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #17219 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 17219 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 17219 + moreinfo quit From unknown Fri Sep 05 11:50:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Sep 2019 16:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: 17219@debbugs.gnu.org Received: via spool by 17219-submit@debbugs.gnu.org id=B17219.15689099439169 (code B ref 17219); Thu, 19 Sep 2019 16:20:01 +0000 Received: (at 17219) by debbugs.gnu.org; 19 Sep 2019 16:19:03 +0000 Received: from localhost ([127.0.0.1]:56310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iAz94-0002No-OB for submit@debbugs.gnu.org; Thu, 19 Sep 2019 12:19:02 -0400 Received: from sonic314-19.consmr.mail.ir2.yahoo.com ([77.238.177.145]:39887) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iAz92-0002NB-NX for 17219@debbugs.gnu.org; Thu, 19 Sep 2019 12:19:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s2048; t=1568909934; bh=NwSmROR4i5VZ0A7jbZDC642lq/LNVRuJ2gSJ9FdH+Xk=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=eyJsZOdQELU0c8f8U7XiIhhAPWznzPTlwIJIiD+sF+z1/yTukzW+E14/ELGuL/7RjaoF+0QLGVDEw/vs20W/JAKywvOcZXewRC02ci2WaBXsY8Q8h6/zlNwnjVzaEO5z9JDrkDEriz/9ICzetAeJEA5F8mM2ioYAKqTVnaf8835EgqD+vK9zkNysqBIktjFKmnrjQdaxcmzq2/DKcSMB90/nEk/psCn1fUe7yGusD1X1zR9fKivCdk8Ch0F+/+XvnBDuHfA2PjfQGkyHW7EREa+D9qg3ZQFSfa059FWqEanDM/lu0Y8QH1YmkJLTKaBXcMertkHK3yq3qphT+ws3ug== X-YMail-OSG: tlq7Cp0VM1lcb5CFj8fxboELsbkGwE75gk2wa08YlcLz69zyUddqRt_OYlkAPhA c828BY2XxhBuYPe0ijT9xsISrjW08Ii_GqbLgkEKyzWXbjvxEHFIJcbNlc4KRz_6HBh0DgZL.1WD QIp7AgLHi2FffBZnfEI0pVTqjHCq7DygIJOUvO27JTJSywu8QWqnu3lYdie3uLTeSaR1IgrXVkvz Gwmq4bdNoyh5d.deNagsbhle.ixuUJB0RpxJxWiC3L_M.HVsxZPdNbfm.2DV19mGLmbMOeHXKpkU n2ZKnlQ1IKp6Wtjenvp8B8Lzi9PSeU2qGvsI.m6_C92coMc7akYmItgBT7A9PHhJOnmquT_fF3yW yZqLteLYbSRTUftsNnVplIR63QSULtnsvGlblWFmlN0bppwZ2Vop98vI39a0fQg9hGH1_5qW1axf DPvkhQICE21fRBwlCyn5b6l8qKo4H.8JIRAAYqfozWYBRkUJ7UtqzPchJevkX.y3OXOtDM.EVHWM vg0uDXsWyo2vkd_qOTt6DB8hShPLtAYCCH6.BxpsP8DyCzUTDPivf.2mVydy1PYXz2QlWZgBMtLN BivMvZ.xf8A3mWChgZplk8fOm7sv9QUGCwDdxugSdfD0WgPCdDIBeLtBoeB_QSprdixkJRiqQobO laUBla3kBpRh29NILnhedjvWz1JcADGW7QOPo5ccfJkkijpU6ZPJGLoz0EGZNdlZGC6unzzMwwgc lyNhEkLREEYFq1zLjOEQiMLMFHcoAbJqTSMSnSmNy_CynDJFigPCQOJG1_JQnlY0XrSAIrjEfcjo UrFTXMdJn9Ggude.QL85Rv_9rOsl.gj5_xO5rcNKv7BBarf4mClGqOTDOMzlIEuzbq2ICR2xmAAF UMf0alQALX6KZDTkAanoG8G1QohYrSqMCltzCu0OVGCgraDKJ44qODiZ50JpDtu1rjTDCeGVLOPY 7hbzxxgqV21aBzn3odlpjLOY5s0Va9lU2qmk1HlYDKuwSHy.8SHA1hUx1UTzRthimJwZcm1Icows ZB78H08EpqTWEFTgfe.MYfk3AQKaiFLnMZcIu2ze.HKUL8gCElsS1gkWulWs.CtShLUhKGLDXPhQ 2NWZoYKx9dTjT3HHjhy9mKNIvI1AVfRzqw0AqNtmkvVVjPIoqRXyqTgmtI5MeM6MP7FXM2AerA3L NP9W6AudK4JOXVgL4KQdk.dUQKms.rcIb_VkCyfmtiIBld3YXZHXNe.XMC0RCLKeNwSksyi2Cqml DoBvA0rrCNeCQi4ZHQzzA_nmOfgS1QBbBBN9b9z1NWPriiK.n4E7o6xtdUGVVQZ1kmjK56Ua4NT1 Nr9nRpRR1hMHJsOHNZQADOV4XiqyswhI6UL4ZiZJF00.ZpCmgajwHM3bsN0BBIt_UBU_K Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ir2.yahoo.com with HTTP; Thu, 19 Sep 2019 16:18:54 +0000 Received: by smtp409.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 351713af4fa6aa85910c83a90dcb3302; Thu, 19 Sep 2019 16:18:52 +0000 (UTC) References: <877g71yrdc.fsf@yahoo.fr> <87sgq3s3a0.fsf@mouse.gnus.org> From: Nicolas Richard Message-ID: <3e88922b-f52d-5240-fa59-5a56bbcd76fd@yahoo.fr> Date: Thu, 19 Sep 2019 18:18:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Icedove/52.9.1 MIME-Version: 1.0 In-Reply-To: <87sgq3s3a0.fsf@mouse.gnus.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.14303 hermes Apache-HttpAsyncClient/4.1.4 (Java/1.8.0_181) Content-Length: 756 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 15/08/19 02:03, Lars Ingebrigtsen wrote: > Nicolas Richard writes: >> 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. > > (I'm going through old bug reports that have unfortunately gotten no > responses yet.) > > I tried this in Emacs 27, and I was unable to reproduce the problem. > Are you still seeing this? Hi Lars, Thanks for your patience. I still misalignement if I hit 'g' (revert-buffer) afterwards. I can be more precise if you wish. Nicolas. From unknown Fri Sep 05 11:50:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Sep 2019 06:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Nicolas Richard Cc: larsi@gnus.org, 17219@debbugs.gnu.org Received: via spool by 17219-submit@debbugs.gnu.org id=B17219.156896090025719 (code B ref 17219); Fri, 20 Sep 2019 06:29:01 +0000 Received: (at 17219) by debbugs.gnu.org; 20 Sep 2019 06:28:20 +0000 Received: from localhost ([127.0.0.1]:56649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBCOy-0006gk-Ak for submit@debbugs.gnu.org; Fri, 20 Sep 2019 02:28:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBCOt-0006gW-Se for 17219@debbugs.gnu.org; Fri, 20 Sep 2019 02:28:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iBCOm-0007BN-OV; Fri, 20 Sep 2019 02:28:09 -0400 Received: from [176.228.60.248] (port=4406 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iBCOk-0004d7-Oo; Fri, 20 Sep 2019 02:28:08 -0400 Date: Fri, 20 Sep 2019 09:28:10 +0300 Message-Id: <83d0fvtrb9.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <3e88922b-f52d-5240-fa59-5a56bbcd76fd@yahoo.fr> (bug-gnu-emacs@gnu.org) References: <877g71yrdc.fsf@yahoo.fr> <87sgq3s3a0.fsf@mouse.gnus.org> <3e88922b-f52d-5240-fa59-5a56bbcd76fd@yahoo.fr> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 19 Sep 2019 18:18:51 +0200 > Cc: 17219@debbugs.gnu.org > From: Nicolas Richard via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > On 15/08/19 02:03, Lars Ingebrigtsen wrote: > > Nicolas Richard writes: > >> 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. > > > > (I'm going through old bug reports that have unfortunately gotten no > > responses yet.) > > > > I tried this in Emacs 27, and I was unable to reproduce the problem. > > Are you still seeing this? > > Hi Lars, > > Thanks for your patience. I still misalignement if I hit 'g' > (revert-buffer) afterwards. I guess it's because there are only 2 lines in the resulting buffer or something. From unknown Fri Sep 05 11:50:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Sep 2019 12:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Nicolas Richard Cc: 17219@debbugs.gnu.org Received: via spool by 17219-submit@debbugs.gnu.org id=B17219.156898374514956 (code B ref 17219); Fri, 20 Sep 2019 12:50:02 +0000 Received: (at 17219) by debbugs.gnu.org; 20 Sep 2019 12:49:05 +0000 Received: from localhost ([127.0.0.1]:56934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBILR-0003tA-Bu for submit@debbugs.gnu.org; Fri, 20 Sep 2019 08:49:05 -0400 Received: from quimby.gnus.org ([80.91.231.51]:54372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBILP-0003t0-LV for 17219@debbugs.gnu.org; Fri, 20 Sep 2019 08:49:04 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iBILL-0000gO-KQ; Fri, 20 Sep 2019 14:49:02 +0200 From: Lars Ingebrigtsen References: <877g71yrdc.fsf@yahoo.fr> <87sgq3s3a0.fsf@mouse.gnus.org> <3e88922b-f52d-5240-fa59-5a56bbcd76fd@yahoo.fr> Date: Fri, 20 Sep 2019 14:48:59 +0200 In-Reply-To: <3e88922b-f52d-5240-fa59-5a56bbcd76fd@yahoo.fr> (Nicolas Richard's message of "Thu, 19 Sep 2019 18:18:51 +0200") Message-ID: <87ftkrb0as.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Nicolas Richard writes: >>> M-: (dired (list "Something" "/" "~/")) [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Nicolas Richard 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 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 20 08:49:19 2019 Received: (at control) by debbugs.gnu.org; 20 Sep 2019 12:49:20 +0000 Received: from localhost ([127.0.0.1]:56937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBILf-0003tk-LO for submit@debbugs.gnu.org; Fri, 20 Sep 2019 08:49:19 -0400 Received: from quimby.gnus.org ([80.91.231.51]:54388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBILe-0003tc-0v for control@debbugs.gnu.org; Fri, 20 Sep 2019 08:49:18 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iBILb-0000ga-7O for control@debbugs.gnu.org; Fri, 20 Sep 2019 14:49:17 +0200 Date: Fri, 20 Sep 2019 14:49:14 +0200 Message-Id: <87ef0bb0ad.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #17219 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 17219 + confirmed quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 17219 + confirmed quit From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 20 08:49:27 2019 Received: (at control) by debbugs.gnu.org; 20 Sep 2019 12:49:27 +0000 Received: from localhost ([127.0.0.1]:56940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBILm-0003u7-Vu for submit@debbugs.gnu.org; Fri, 20 Sep 2019 08:49:27 -0400 Received: from quimby.gnus.org ([80.91.231.51]:54400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBILl-0003ty-7D for control@debbugs.gnu.org; Fri, 20 Sep 2019 08:49:25 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iBILi-0000gg-FS for control@debbugs.gnu.org; Fri, 20 Sep 2019 14:49:24 +0200 Date: Fri, 20 Sep 2019 14:49:22 +0200 Message-Id: <87d0fvb0a5.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #17219 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 17219 - moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 17219 - moreinfo quit From unknown Fri Sep 05 11:50:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired References: <877g71yrdc.fsf@yahoo.fr> In-Reply-To: <877g71yrdc.fsf@yahoo.fr> Resent-From: Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Dec 2024 21:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: Nicolas Richard , 17219@debbugs.gnu.org Received: via spool by 17219-submit@debbugs.gnu.org id=B17219.17349017475771 (code B ref 17219); Sun, 22 Dec 2024 21:10:02 +0000 Received: (at 17219) by debbugs.gnu.org; 22 Dec 2024 21:09:07 +0000 Received: from localhost ([127.0.0.1]:52148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPTCE-0001V0-Hq for submit@debbugs.gnu.org; Sun, 22 Dec 2024 16:09:06 -0500 Received: from mail-10624.protonmail.ch ([79.135.106.24]:51741) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPTCA-0001US-Kt for 17219@debbugs.gnu.org; Sun, 22 Dec 2024 16:09:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kubajecminek.cz; s=protonmail2; t=1734901735; x=1735160935; bh=ljUQFot9q/8TnQVvatCBSRSDkdimh04sqoCWUVAKO2I=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=JtDQ71wtNmT+a+g6dBr46lf6PTOM0jfBLBXiIK+3oqOw1Q0r9rtG3ljpw6tmYVWMw saJpFIcKgsLbO8veGsKCm9yaFXrj8EkkKX3sp9zU6WGaSXgp+nZRFuInmPzbPxleXA 7iBNyfiekRtQW8iZKrfpQGaSWq99jRDxNI4l9gKOO1y+NSZPP8/VzjNc9HQAWlG1nS XlLHYflp4Dw0CgeVbPA3WuXIFEcMBFRc/8dQaacBpx3uhxW3sdjDZYUeSBp9nvt/tp VMT7sVA1bKa+PDF/VlUde6HXCevvmcsgivd8Ib+thMlBTr2UOoLj1c1uEOKSHZEcMk w1tm5gtQBif7g== Date: Sun, 22 Dec 2024 21:08:50 +0000 From: Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= Message-ID: <87a5cn77dx.fsf@kubajecminek.cz> Feedback-ID: 98803324:user:proton X-Pm-Message-ID: 53b0f474647f7fbe6c50e417c4b9e731e638699c MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) It seems that adding simple `dired--align-all-files' to the end of `dired-revert' resolves this. >From 41780fde84fe1c55a0a7417a833dc0b8303a3db8 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Jakub=3D20Je=3DC4=3D8Dm=3DC3=3DADnek?=3D Date: Sun, 22 Dec 2024 21:53:53 +0100 Subject: [PATCH] Align files after dired revert (Bug#17219) * lisp/dired.el (dired-revert): Add dired--align-all-files function call. --- lisp/dired.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/dired.el b/lisp/dired.el index 028b862d159..acd31fb6424 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -2157,7 +2157,8 @@ dired-revert =09(if (dired-goto-subdir dir) =09 (dired-hide-subdir 1)))) (unless modflag (restore-buffer-modified-p nil)) - (hack-dir-local-variables-non-file-buffer)) + (hack-dir-local-variables-non-file-buffer) + (dired--align-all-files)) ;; outside of the let scope ;;; Might as well not override the user if the user changed this. ;;; (setq buffer-read-only t) --=20 2.45.2 From unknown Fri Sep 05 11:50:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired Resent-From: Charalampos Mitrodimas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Dec 2024 00:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= , Eli Zaretskii Cc: Nicolas Richard , 17219@debbugs.gnu.org Received: via spool by 17219-submit@debbugs.gnu.org id=B17219.17349135388475 (code B ref 17219); Mon, 23 Dec 2024 00:26:02 +0000 Received: (at 17219) by debbugs.gnu.org; 23 Dec 2024 00:25:38 +0000 Received: from localhost ([127.0.0.1]:52502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPWGP-0002Cd-Ui for submit@debbugs.gnu.org; Sun, 22 Dec 2024 19:25:38 -0500 Received: from mout02.posteo.de ([185.67.36.66]:51751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPWGM-0002CL-VK for 17219@debbugs.gnu.org; Sun, 22 Dec 2024 19:25:36 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E7BC6240101 for <17219@debbugs.gnu.org>; Mon, 23 Dec 2024 01:25:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1734913528; bh=/CsO1VQOvsAw5dsy0cQXTdjetDF7ce59Gkj0jco9ALQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type: Content-Transfer-Encoding:From; b=edQsEqhep37n67XAQ/VmeFj+8RdWJfJJu6uvi2x013wI2xp0dd+Sq3Mg4X4mctHG3 R70ZnOEtwTgZvDKONI65U02Y94p94AFLgUe3NaVtU4PIHZl1SCZIMzf+ceAdmMVmLV Gm3LIoNQODL7BoWct7KA3Fk0FuACRvhexWjcL6+vqoDYaCYRj2IwQLBj2ugxGC48+B szwTG8LMjVt3ZVW8ciPgnk/453xJc8kvLIGdRbwvxVpZuyjWEwEVlbit4xxo6XKOmV f14H55qEPpYhDlyyeyKUNnz5+1JzRw0wgu0bTV8KOUZqfJqvg10cjegHeRH7cB9058 zqIAMEPsW+kLQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YGf1g52YPz9rxD; Mon, 23 Dec 2024 01:25:27 +0100 (CET) Message-ID: <240007c8-70a4-432f-a28d-bcf9662ad757@posteo.net> Date: Mon, 23 Dec 2024 00:25:26 +0000 MIME-Version: 1.0 References: <877g71yrdc.fsf@yahoo.fr> <87a5cn77dx.fsf@kubajecminek.cz> Content-Language: en-US From: Charalampos Mitrodimas In-Reply-To: <87a5cn77dx.fsf@kubajecminek.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hi Jakub, On 22/12/24 11:08 PM, Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > It seems that adding simple `dired--align-all-files' to the end of > `dired-revert' resolves this. > > From 41780fde84fe1c55a0a7417a833dc0b8303a3db8 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Jakub=20Je=C4=8Dm=C3=ADnek?= > Date: Sun, 22 Dec 2024 21:53:53 +0100 > Subject: [PATCH] Align files after dired revert (Bug#17219) > > * lisp/dired.el (dired-revert): Add dired--align-all-files > function call. > --- > lisp/dired.el | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/lisp/dired.el b/lisp/dired.el > index 028b862d159..acd31fb6424 100644 > --- a/lisp/dired.el > +++ b/lisp/dired.el > @@ -2157,7 +2157,8 @@ dired-revert > (if (dired-goto-subdir dir) > (dired-hide-subdir 1)))) > (unless modflag (restore-buffer-modified-p nil)) > - (hack-dir-local-variables-non-file-buffer)) > + (hack-dir-local-variables-non-file-buffer) > + (dired--align-all-files)) What about performance? Depending on the size of the directory, recalculating alignment could have a minor performance impact. > ;; outside of the let scope > ;;; Might as well not override the user if the user changed this. > ;;; (setq buffer-read-only t) -- C. Mitrodimas From unknown Fri Sep 05 11:50:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired Resent-From: Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Dec 2024 17:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Charalampos Mitrodimas Cc: Nicolas Richard , Eli Zaretskii , 17219@debbugs.gnu.org Received: via spool by 17219-submit@debbugs.gnu.org id=B17219.17349763915960 (code B ref 17219); Mon, 23 Dec 2024 17:54:02 +0000 Received: (at 17219) by debbugs.gnu.org; 23 Dec 2024 17:53:11 +0000 Received: from localhost ([127.0.0.1]:56023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPmcB-0001Y3-39 for submit@debbugs.gnu.org; Mon, 23 Dec 2024 12:53:11 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:39971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPmc6-0001XI-Td for 17219@debbugs.gnu.org; Mon, 23 Dec 2024 12:53:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kubajecminek.cz; s=protonmail2; t=1734976380; x=1735235580; bh=8Pxx1rVB+4AU2SPqCmXILkvr71NJ9tuaJueqsWBkgTE=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=mkpudl4iuNDcdycZa/Mx5W91RetQO9AOuu5al+cbZdWyl/03ZJVyALW3CqRGQfI14 oNIQ+atr949JqQESRNbzml4ymxL+KezjaGrazEDOX6YMZPRhGHUuBKebZHzkLDpCx2 2PDuSbnRUwnzBDDBD4SB1gTj9WDh7v3kX+Es17oxMr9DzaTrWxVNAe3BikoHRYSI8Z ndB13G/ThuRQxLFKewMZLtV76+1z+y60rJCby35qmVzko/rjsUOneaxiN1XPwF9dB/ Z0xtUkONFM1I3cCGVQ1pfrqgVTy9pYzUYiZkaxAA2hlfqhpO2JyHWGcnhkO2+ia9wa uJyz1BvwWw9Ww== Date: Mon, 23 Dec 2024 17:52:54 +0000 From: Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= Message-ID: <87ikramglo.fsf@kubajecminek.cz> In-Reply-To: <240007c8-70a4-432f-a28d-bcf9662ad757@posteo.net> References: <877g71yrdc.fsf@yahoo.fr> <87a5cn77dx.fsf@kubajecminek.cz> <240007c8-70a4-432f-a28d-bcf9662ad757@posteo.net> Feedback-ID: 98803324:user:proton X-Pm-Message-ID: 44a6417af3a253809a7604b10c993ebfba7e34cb MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Hello, "Charalampos Mitrodimas" writes: > What about performance? Depending on the size of the directory, > recalculating alignment could have a minor performance impact. There is. The largest directory I have on my machine has around 18k files (~5GB) and the penalty is around 20ms. I've run the tests for both functions in standalone Emacs session started using 'emacs -Q'. Below are the profiling results: Function Name Call Count Elapsed Time Average Time -------------------------------------------------------- dired-revert-new 10 5.2096629750 0.5209662975 dired-revert-old 10 5.051716523 0.5051716522 dired-revert-new 25 11.843308944 0.4737323577 dired-revert-old 25 11.391448779 0.4556579511 Please let me know if that's too high so we can find another way. From unknown Fri Sep 05 11:50:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired Resent-From: Charalampos Mitrodimas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Dec 2024 18:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= Cc: Nicolas Richard , Eli Zaretskii , 17219@debbugs.gnu.org Received: via spool by 17219-submit@debbugs.gnu.org id=B17219.173497803611444 (code B ref 17219); Mon, 23 Dec 2024 18:21:01 +0000 Received: (at 17219) by debbugs.gnu.org; 23 Dec 2024 18:20:36 +0000 Received: from localhost ([127.0.0.1]:56144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPn2i-0002yV-1g for submit@debbugs.gnu.org; Mon, 23 Dec 2024 13:20:36 -0500 Received: from mout02.posteo.de ([185.67.36.66]:57165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPn2e-0002yC-L5 for 17219@debbugs.gnu.org; Mon, 23 Dec 2024 13:20:34 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 27C66240101 for <17219@debbugs.gnu.org>; Mon, 23 Dec 2024 19:20:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1734978026; bh=c3umozFy5GcH0RNDoyLv3dnBpmvmCJuN3df8Whu4Bd8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type: Content-Transfer-Encoding:From; b=OnXr9lsqYBK6l5bvrbxlhKByGnyzior6yCrwR65+uAg90GLIWHY8WGu+mBmP5YexR 7cZ0E5VZnOJjyTKvNlo2iVCeLYLgNaCbjp4Qj0iBQdXyL4+IIWr2d/3ntITAp0Ez8Y tMpHiqaA8VhpIjrPylj9R//6nz8S/nVlKGdZ7y73HNW/TBmAiXrPejR8sFYKmy9e+M VJ1IwVUkTznR8ztd+D2jR9s+xUahFCltzZVGJZtmuVYxM0AyStNbyFB3KNaTUtMoGM Jy2nc1N8zIEw8NV196O/VRBL8ag69tH9PhKAcW/P+Smb82o7FJAvPqyiTWya8Nx2Tu slyWZNSE6wdlg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YH5t1148Bz9rxM; Mon, 23 Dec 2024 19:20:25 +0100 (CET) Message-ID: Date: Mon, 23 Dec 2024 18:20:23 +0000 MIME-Version: 1.0 References: <877g71yrdc.fsf@yahoo.fr> <87a5cn77dx.fsf@kubajecminek.cz> <240007c8-70a4-432f-a28d-bcf9662ad757@posteo.net> <87ikramglo.fsf@kubajecminek.cz> Content-Language: en-US From: Charalampos Mitrodimas In-Reply-To: <87ikramglo.fsf@kubajecminek.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Thanks Jakub! On 12/23/24 19:52, Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > Hello, > > "Charalampos Mitrodimas" writes: > >> What about performance? Depending on the size of the directory, >> recalculating alignment could have a minor performance impact. > There is. The largest directory I have on my machine has around 18k > files (~5GB) and the penalty is around 20ms. I've run the tests for both > functions in standalone Emacs session started using 'emacs -Q'. Below > are the profiling results: > > Function Name Call Count Elapsed Time Average Time > -------------------------------------------------------- > dired-revert-new 10 5.2096629750 0.5209662975 > dired-revert-old 10 5.051716523 0.5051716522 > > dired-revert-new 25 11.843308944 0.4737323577 > dired-revert-old 25 11.391448779 0.4556579511 > > > Please let me know if that's too high so we can find another way. If my math doesn't deceive me, the performance penalty ranges between 3.13% (10 calls) and 3.97% (25 calls) based on the profiling results, which I find acceptable. -- C. Mitrodimas From unknown Fri Sep 05 11:50:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired Resent-From: Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jan 2025 21:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: Nicolas Richard , 17219@debbugs.gnu.org Received: via spool by 17219-submit@debbugs.gnu.org id=B17219.17370633461709 (code B ref 17219); Thu, 16 Jan 2025 21:36:01 +0000 Received: (at 17219) by debbugs.gnu.org; 16 Jan 2025 21:35:46 +0000 Received: from localhost ([127.0.0.1]:34941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYXWk-0000RT-3y for submit@debbugs.gnu.org; Thu, 16 Jan 2025 16:35:46 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]:31627) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tYXWh-0000Qh-7o for 17219@debbugs.gnu.org; Thu, 16 Jan 2025 16:35:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kubajecminek.cz; s=protonmail2; t=1737063318; x=1737322518; bh=A5SqE6MFeu3ghKki7KeJJd4s8DNeocV0n86EBTgfnv8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=DZUsooSYC7aFhribO8k0M6GBbkqNKg7DT45h8EqHixMqmCSFw8I/1b2fNsLhSjPnV M09qMR7wgUul7J8qDpGorcpyYagAJgyyWh3P3r/4u6T6ZWVN5HLzQrVPag2UvmEwS/ oGZbXKhlW7A4e7hAJ+Fs20afUq+acPvN0r4Z+RJIgKNMfvCXgGEMdvYlQEcHNnFHRR 76RnYWcLWg0cWRF7mzfdzxFV9CGm7nQMkmjhP5F2drRyVMfoUSpxy7UlTF1he6vcdi DZJg9PbcCiAIHxsnmN0nhY2KnfbpQTKQe7FbYwp+J1vvsyDGrOpBWb4uK1ya9uwHSj CVtgb8hlACzsA== Date: Thu, 16 Jan 2025 21:35:14 +0000 From: Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= Message-ID: <87zfjqsar5.fsf@kubajecminek.cz> In-Reply-To: References: <877g71yrdc.fsf@yahoo.fr> <87a5cn77dx.fsf@kubajecminek.cz> <240007c8-70a4-432f-a28d-bcf9662ad757@posteo.net> <87ikramglo.fsf@kubajecminek.cz> Feedback-ID: 98803324:user:proton X-Pm-Message-ID: 5f6606e136db801e00f7ee04b7a83f2f179fb75d MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) What do you think, should this be merged or should we rework the patch? "Charalampos Mitrodimas" writes: > Thanks Jakub! > > On 12/23/24 19:52, Jakub Je=C4=8Dm=C3=ADnek via Bug reports for GNU Emacs= , the > Swiss army knife of text editors wrote: >> Hello, >> >> "Charalampos Mitrodimas" writes: >> >>> What about performance? Depending on the size of the directory, >>> recalculating alignment could have a minor performance impact. >> There is. The largest directory I have on my machine has around 18k >> files (~5GB) and the penalty is around 20ms. I've run the tests for both >> functions in standalone Emacs session started using 'emacs -Q'. Below >> are the profiling results: >> >> Function Name Call Count Elapsed Time Average Time >> -------------------------------------------------------- >> dired-revert-new 10 5.2096629750 0.5209662975 >> dired-revert-old 10 5.051716523 0.5051716522 >> >> dired-revert-new 25 11.843308944 0.4737323577 >> dired-revert-old 25 11.391448779 0.4556579511 >> >> >> Please let me know if that's too high so we can find another way. > If my math doesn't deceive me, the performance penalty ranges > between 3.13% (10 calls) and 3.97% (25 calls) based on the profiling > results, which I find acceptable. > > > -- > C. Mitrodimas > From unknown Fri Sep 05 11:50:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Jan 2025 07:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= Cc: theonewiththeevillook@yahoo.fr, 17219@debbugs.gnu.org Received: via spool by 17219-submit@debbugs.gnu.org id=B17219.173709747131792 (code B ref 17219); Fri, 17 Jan 2025 07:05:02 +0000 Received: (at 17219) by debbugs.gnu.org; 17 Jan 2025 07:04:31 +0000 Received: from localhost ([127.0.0.1]:35797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYgP9-0008Gi-F0 for submit@debbugs.gnu.org; Fri, 17 Jan 2025 02:04:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50556) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tYgP6-0008GT-CZ for 17219@debbugs.gnu.org; Fri, 17 Jan 2025 02:04:29 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tYgP0-00075n-BX; Fri, 17 Jan 2025 02:04:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=XYVvnZ8WSXaQsfFzT7ivCpngWZtx/CU3Q4FULaZawYE=; b=Z60qoeBknnHElfWaVDbg 2HdzPjfFz8138LBWOJnL3IHnnvNrZAXGS3Xl9pUfpysZIAVa8FSeJG9tZU5CYdSsdvWrva/Km3GDy kfG7ZTspGlGGdnqmSAqAEbX7nmjNwE8QgHDii4JyO9iv/6l5EOTIHb/289LAw3LRhWEyneTlBjINb OhJfUTzbSzriB5wSeoNp06jXc9V34smbqtu7V8bpvw8viauz158SWPmjJFuVDizWf7s9Z1C9oCz7V gyUQlVKU1Pydd0KED8cS5GvLvuNWuBLgO/THd7rQuZyYSyzujGMFN+GZETAKyBqiqxy/fnRAQP4CT DwOahcJUG8Fwog==; Date: Fri, 17 Jan 2025 09:04:13 +0200 Message-Id: <86plklgbv6.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87zfjqsar5.fsf@kubajecminek.cz> (message from Jakub =?UTF-8?Q?Je=C4=8Dm=C3=ADnek?= on Thu, 16 Jan 2025 21:35:14 +0000) References: <877g71yrdc.fsf@yahoo.fr> <87a5cn77dx.fsf@kubajecminek.cz> <240007c8-70a4-432f-a28d-bcf9662ad757@posteo.net> <87ikramglo.fsf@kubajecminek.cz> <87zfjqsar5.fsf@kubajecminek.cz> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) > Date: Thu, 16 Jan 2025 21:35:14 +0000 > From: Jakub Ječmínek > Cc: Nicolas Richard , 17219@debbugs.gnu.org > > What do you think, should this be merged or should we rework the patch? Sorry, I didn't yet have enough time to look into the proposed patches. But I didn't forget, either. At least on my system I saw one other related problem with this recipe, which isn't an alignment problem at all. So I think there's more here than meets the eye, and will look into this when I have time. Stay tuned. From unknown Fri Sep 05 11:50:35 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nicolas Richard Subject: bug#17219: closed (Re: bug#17219: 24.3.50; wrong alignment when a list is given to dired) Message-ID: References: <86a5bn85lk.fsf@gnu.org> <877g71yrdc.fsf@yahoo.fr> X-Gnu-PR-Message: they-closed 17219 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: confirmed Reply-To: 17219@debbugs.gnu.org Date: Sun, 19 Jan 2025 10:24:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1737282243-10810-1" This is a multi-part message in MIME format... ------------=_1737282243-10810-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #17219: 24.3.50; wrong alignment when a list is given to dired which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 17219@debbugs.gnu.org. --=20 17219: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17219 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1737282243-10810-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 17219-done) by debbugs.gnu.org; 19 Jan 2025 10:23:48 +0000 Received: from localhost ([127.0.0.1]:44974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tZST5-0002mb-Q1 for submit@debbugs.gnu.org; Sun, 19 Jan 2025 05:23:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38654) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tZST2-0002lX-Nq for 17219-done@debbugs.gnu.org; Sun, 19 Jan 2025 05:23:45 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tZSSv-0003Ak-M4; Sun, 19 Jan 2025 05:23:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=GPpAM0Mhc90TSKvQcqMiC4w3OYCGLpmDubx68r93lxQ=; b=LZa1QWZjB1JirM4B6Z6N /l3tbXKpbFcUYoB7LJqRA+nkhz41suVY54ke9vC2Rlf1onysPHoosaiV9kHQD/WTvPJuRw5akoVI2 iWs03IlQ0G9DEjaYM2mc6tUd/RffFEWHUa9bUENT+Kc+KYnR4AVDcLZjPY9OKjfZkh5/mLhW1rioV VmJu5W7b91jSfzLa4+x3KMKDM5q5mkt/KjevBBAqF2m5KQGjtbv1JhkFHt2vePDBkXQKh3JBn+coN PtNqy/96Z9PU07hlQWPtD1qAATK0Ukq6XGzW1KuSEE46SsKvOTDHwCJTEhBLNyshklehbv86/FyCy vY3WswJTZVOk3Q==; Date: Sun, 19 Jan 2025 12:23:35 +0200 Message-Id: <86a5bn85lk.fsf@gnu.org> From: Eli Zaretskii To: kuba@kubajecminek.cz In-Reply-To: <86plklgbv6.fsf@gnu.org> (message from Eli Zaretskii on Fri, 17 Jan 2025 09:04:13 +0200) Subject: Re: bug#17219: 24.3.50; wrong alignment when a list is given to dired References: <877g71yrdc.fsf@yahoo.fr> <87a5cn77dx.fsf@kubajecminek.cz> <240007c8-70a4-432f-a28d-bcf9662ad757@posteo.net> <87ikramglo.fsf@kubajecminek.cz> <87zfjqsar5.fsf@kubajecminek.cz> <86plklgbv6.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 17219-done Cc: theonewiththeevillook@yahoo.fr, 17219-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) > Cc: theonewiththeevillook@yahoo.fr, 17219@debbugs.gnu.org > Date: Fri, 17 Jan 2025 09:04:13 +0200 > From: Eli Zaretskii > > > Date: Thu, 16 Jan 2025 21:35:14 +0000 > > From: Jakub Ječmínek > > Cc: Nicolas Richard , 17219@debbugs.gnu.org > > > > What do you think, should this be merged or should we rework the patch? > > Sorry, I didn't yet have enough time to look into the proposed > patches. But I didn't forget, either. > > At least on my system I saw one other related problem with this > recipe, which isn't an alignment problem at all. So I think there's > more here than meets the eye, and will look into this when I have > time. > > Stay tuned. Thanks, I've now installed the patch on the master branch, and I'm therefore closing this bug. ------------=_1737282243-10810-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Apr 2014 17:36:09 +0000 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 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 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 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 ) id 1WXDSg-0002jc-96 for submit@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 ) id 1WXDSa-0002BB-0o for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 13:35:58 -0400 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 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 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 To: bug-gnu-emacs@gnu.org 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@yahoo.fr> 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@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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. ------------=_1737282243-10810-1--