[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeli
From: |
Juri Linkov |
Subject: |
bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline |
Date: |
Mon, 05 Oct 2020 23:15:32 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> - `(truncate-string-to-width str strlen (- strlen ,maxvar) nil ?\s)
>> + `(truncate-string-to-width str strlen (- strlen ,maxvar) ?\s)
>> `(truncate-string-to-width ,strvar ,maxvar nil ?\s)))
>
> Testing should be pretty easy -- just say `M-x ibuffer' and look at how
> it truncates buffer names. :-)
>
> However, the patch doesn't fix the ellipsis stuff here, because ibuffer
> has a `ibuffer-eliding-string' variable (that could be obsoleted now).
Yep, this is what I tried, but it had no immediate effect :-)
> (But the patch otherwise looks "obviously correct" to me; passing in ?\s
> as the ellipsis argument doesn't make much sense.)
It seems this code is over-complicated with several levels of backquoting.
So maybe better just to push this obvious fix.
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, (continued)
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Juri Linkov, 2020/10/02
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Lars Ingebrigtsen, 2020/10/02
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Eli Zaretskii, 2020/10/02
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Lars Ingebrigtsen, 2020/10/03
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Juri Linkov, 2020/10/04
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Lars Ingebrigtsen, 2020/10/05
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline,
Juri Linkov <=
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Lars Ingebrigtsen, 2020/10/05
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Glenn Morris, 2020/10/05
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Juri Linkov, 2020/10/05
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Andreas Schwab, 2020/10/05
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Stefan Monnier, 2020/10/06
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Andreas Schwab, 2020/10/06
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Glenn Morris, 2020/10/05
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Andreas Schwab, 2020/10/06
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Eli Zaretskii, 2020/10/06
- bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Eli Zaretskii, 2020/10/06