From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#27762: 26.0.50; ls-lisp: misalignment when dired-directory is a cons Date: Tue, 01 Aug 2017 16:46:02 +0300 Message-ID: <834ltr1jvp.fsf@gnu.org> References: <87wp75yuuh.fsf@calancha-pc> <83vamobboe.fsf@gnu.org> <87lgnjzs8d.fsf@calancha-pc> <87d18uz8w1.fsf@calancha-pc> <83shhf3brw.fsf@gnu.org> <87a83jkc02.fsf@calancha-pc> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1501595229 13694 195.159.176.226 (1 Aug 2017 13:47:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2017 13:47:09 +0000 (UTC) Cc: 27762@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 01 15:47:05 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcXVp-0003M3-1a for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Aug 2017 15:47:05 +0200 Original-Received: from localhost ([::1]:42631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcXVv-0004ST-2G for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Aug 2017 09:47:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcXVo-0004SD-IT for bug-gnu-emacs@gnu.org; Tue, 01 Aug 2017 09:47:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcXVl-0002W0-UX for bug-gnu-emacs@gnu.org; Tue, 01 Aug 2017 09:47:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33592) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcXVl-0002Vf-RW for bug-gnu-emacs@gnu.org; Tue, 01 Aug 2017 09:47:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dcXVl-0005vb-Id for bug-gnu-emacs@gnu.org; Tue, 01 Aug 2017 09:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Aug 2017 13:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27762 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27762-submit@debbugs.gnu.org id=B27762.150159518422742 (code B ref 27762); Tue, 01 Aug 2017 13:47:01 +0000 Original-Received: (at 27762) by debbugs.gnu.org; 1 Aug 2017 13:46:24 +0000 Original-Received: from localhost ([127.0.0.1]:36269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcXV9-0005uk-W7 for submit@debbugs.gnu.org; Tue, 01 Aug 2017 09:46:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcXV9-0005uZ-1W for 27762@debbugs.gnu.org; Tue, 01 Aug 2017 09:46:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcXUx-0001sE-5i for 27762@debbugs.gnu.org; Tue, 01 Aug 2017 09:46:14 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcXUx-0001ru-2n; Tue, 01 Aug 2017 09:46:11 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4661 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dcXUv-0004EY-Ia; Tue, 01 Aug 2017 09:46:10 -0400 In-reply-to: <87a83jkc02.fsf@calancha-pc> (message from Tino Calancha on Tue, 01 Aug 2017 16:01:17 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135213 Archived-At: > From: Tino Calancha > Cc: 27762@debbugs.gnu.org > Date: Tue, 01 Aug 2017 16:01:17 +0900 > > Eli Zaretskii 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.