[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tabulated-list: extend truncation into next align-right col
From: |
Tino Calancha |
Subject: |
Re: tabulated-list: extend truncation into next align-right col |
Date: |
Wed, 02 Nov 2016 17:20:57 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Tino Calancha <address@hidden> writes:
> I suspect my patch naively asumes that we have
> `tabulated-list-use-header-line' non-nil, so that buffer line 1
> is the first column. But we might have a fake header there...
In that case, assuming we add the predicate suggested in Bug#24855,
i guess we just need to change:
+ (min next-col-width
+ (tabulated-list--near-cols-max-widths
+ (1- (line-number-at-pos))
+ (1+ n))))
+ width))))
by the following:
+ (min next-col-width
+ (tabulated-list--near-cols-max-widths
+ (- (line-number-at-pos)
+ (if (tabulated-list-no-header-p) 1 2))
+ (1+ n))))
+ width))))
- Re: tabulated-list: extend truncation into next align-right col, Stefan Monnier, 2016/11/01
- Re: tabulated-list: extend truncation into next align-right col, Tino Calancha, 2016/11/01
- Re: tabulated-list: extend truncation into next align-right col, Tino Calancha, 2016/11/01
- Re: tabulated-list: extend truncation into next align-right col, Stefan Monnier, 2016/11/02
- Re: tabulated-list: extend truncation into next align-right col, Tino Calancha, 2016/11/04
- Re: tabulated-list: extend truncation into next align-right col, Tino Calancha, 2016/11/04
- Re: tabulated-list: extend truncation into next align-right col, Stefan Monnier, 2016/11/06
- Re: tabulated-list: extend truncation into next align-right col, Tino Calancha, 2016/11/06
- Re: tabulated-list: extend truncation into next align-right col, Tino Calancha, 2016/11/14