From: Drew Adams <drew.adams@oracle.com>
To: pquessev@gmail.com, help-gnu-emacs@gnu.org
Subject: RE: Dired listing is not left aligned
Date: Tue, 24 Mar 2020 11:36:46 -0700 (PDT) [thread overview]
Message-ID: <6c954bb2-4df2-4eed-b340-bf3e48856fad@default> (raw)
In-Reply-To: <82y2rpy7u3.fsf@gmail.com>
> 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.
>
> 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.
next prev parent reply other threads:[~2020-03-24 18:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-24 17:35 Dired listing is not left aligned Pascal Quesseveur
2020-03-24 18:36 ` Drew Adams [this message]
2020-03-25 14:14 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6c954bb2-4df2-4eed-b340-bf3e48856fad@default \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=pquessev@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.