From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Dired listing is not left aligned Date: Tue, 24 Mar 2020 11:36:46 -0700 (PDT) Message-ID: <6c954bb2-4df2-4eed-b340-bf3e48856fad@default> References: <82y2rpy7u3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="117709"; mail-complaints-to="usenet@ciao.gmane.io" To: pquessev@gmail.com, help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 24 19:38:07 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jGoRB-000UW3-B3 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 24 Mar 2020 19:38:05 +0100 Original-Received: from localhost ([::1]:53524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGoRA-0003HI-Ai for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 24 Mar 2020 14:38:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41648) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGoQ3-0002Z3-97 for help-gnu-emacs@gnu.org; Tue, 24 Mar 2020 14:36:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGoQ1-0000KW-6S for help-gnu-emacs@gnu.org; Tue, 24 Mar 2020 14:36:54 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:60040) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jGoQ0-0000GP-Cz for help-gnu-emacs@gnu.org; Tue, 24 Mar 2020 14:36:53 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02OIOFVu105859; Tue, 24 Mar 2020 18:36:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=jW4qpxabA0LgRtGxZySrZWdiFiFywVQDCB1z/m89NIg=; b=f9LnvLoQ/LVN3VruVLNWhk6wshh8SG0GkHVc0QNnMmBQR5hDJtIgYd0di97hOaXFHF9Q EOS/Z8oWEM8430dG9qR2PL7X9qvzuiQBQj17omYUQ9BdEqIlv3h79ZciCDDfgiEWDYwI HPcDYdpZYNycFI2dQhZ/h8CVt/MkRdWyAcV8bInx0Fes6FXFH8+Ku+Rs2cWgeo587ZwE ivPrtNOmRInsDkewk0ZXuJYHMUSfxNiL5shncep3fd8d6v1lhgq2ntAC+my3PwNckHgN 9I/8J3zk3sD41I9Bf/aZUucuq1sR6Z5TVSYwSreDU4Dx2idTgbEg4uRtNVTpGF1sZ/II hg== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 2yx8ac30d8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Mar 2020 18:36:48 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02OIMdOs009089; Tue, 24 Mar 2020 18:36:47 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3030.oracle.com with ESMTP id 2yxw934gma-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Mar 2020 18:36:47 +0000 Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 02OIakVn029742; Tue, 24 Mar 2020 18:36:47 GMT In-Reply-To: <82y2rpy7u3.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4966.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9570 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 bulkscore=0 adultscore=0 mlxscore=0 malwarescore=0 mlxlogscore=999 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003240092 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9570 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1011 lowpriorityscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 mlxscore=0 adultscore=0 phishscore=0 impostorscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003240092 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.85 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122644 Archived-At: > I use emacs 26.3 on Windows 64 bits and I encounter a problem with > dired. Some entries are not correctly left aligned: they are shifted > by spaces towards right. In fact each time a directory is inserted in > the dired listing, existing lines below the new entry are shifted by 2 > spaces. >=20 > I tried emacs -Q and the problem is still there. I also tried emacs > 26.3 on Linux (actually on WSL) and there is no problem. I confirm this. What's worse, it is true back through Emacs 24.5. Emacs 24 seems to be where this regression was introduced - in Emacs 23.4 there is no such problem. The recipe I used was to insert two subdirs of a dir D, and then to insert a subdir of one of those subdirs. When I did the latter action, the second subdir of D that I inserted was shifted right. Debugging with `emacs -Q' just a bit, the problem seems to be in `dired-insert-directory', when it does this: (indent-rigidly opoint (point) 2) The problem is that (point) is past the end of the subdir that is being inserted. It's past the end of the next subdir, so that one gets indented also.