GNU bug report logs -
#27762
26.0.50; ls-lisp: misalignment when dired-directory is a cons
Previous Next
Reported by: Tino Calancha <tino.calancha <at> gmail.com>
Date: Wed, 19 Jul 2017 03:23:02 UTC
Severity: minor
Found in version 26.0.50
Done: Tino Calancha <tino.calancha <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #28 received at 27762-done <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Tino Calancha <tino.calancha <at> gmail.com>
>> Cc: 27762 <at> debbugs.gnu.org
>> Date: Tue, 01 Aug 2017 16:01:17 +0900
>>
>> Eli Zaretskii <eliz <at> gnu.org> 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.
a) The comment is right before the while loop.
b) Done.
Pushed into master as commit f74164a845eff579635da0a1267514ef9d040ad2
This bug report was last modified 7 years and 292 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.