unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: 17219@debbugs.gnu.org
Subject: bug#17219: 24.3.50; wrong alignment when a list is given to dired
Date: Fri, 20 Sep 2019 14:48:59 +0200	[thread overview]
Message-ID: <87ftkrb0as.fsf@gnus.org> (raw)
In-Reply-To: <3e88922b-f52d-5240-fa59-5a56bbcd76fd@yahoo.fr> (Nicolas Richard's message of "Thu, 19 Sep 2019 18:18:51 +0200")

Nicolas Richard <theonewiththeevillook@yahoo.fr> 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 <eliz@gnu.org> 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





      parent reply	other threads:[~2019-09-20 12:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-07 17:35 bug#17219: 24.3.50; wrong alignment when a list is given to dired Nicolas Richard
2019-08-15  0:03 ` Lars Ingebrigtsen
2019-09-19 16:18   ` Nicolas Richard via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-09-20  6:28     ` Eli Zaretskii
2019-09-20 12:48     ` Lars Ingebrigtsen [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ftkrb0as.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=17219@debbugs.gnu.org \
    --cc=theonewiththeevillook@yahoo.fr \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).