Subject: Re: bug#27762: 26.0.50; ls-lisp: misalignment when dired-directory is a cons

From: Eli Zaretskii <[email-masked]>
Date: Tue, 01 Aug 2017 16:46:02 +0300

> From: Tino Calancha <[email-masked]>
> Cc: [email-masked]
> Date: Tue, 01 Aug 2017 16:01:17 +0900
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > Looks OK, but why this complicated code:
> >
> >> +        (when-let* ((col-diff (- (point) (point-at-bol)))
> >> +                    (higher (> col-diff target)))
> >> +          (setq target col-diff)))
> >> +      (and (/= first target) target))))
> >
> > Doesn't current-column do its job in this case?
> That is to work regardless on the `dired-hide-details-mode' value.
> If we use `current-column' we are in trouble.

Then (a) please mention this issue in a comment before this fragment,
and (b) please don't call the variable "column", because it's
confusing.

Thanks.