GNU bug report logs - #51029
28.0.60; ibuffer-shrink-to-fit: Symbol’s value as variable is void: ibuffer-auto-mode

Previous Next

Package: emacs;

Reported by: "Y. E." <yet <at> ego.team>

Date: Tue, 5 Oct 2021 09:56:02 UTC

Severity: normal

Tags: patch

Found in version 28.0.60

Fixed in version 28.1

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #21 received at 51029 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Stefan Kangas <stefan <at> marxist.se>, "Y. E." <yet <at> ego.team>,
 51029 <at> debbugs.gnu.org
Subject: Re: bug#51029: 28.0.60; Follow-up to Bug#51029: ibuffer-shrink-to-fit
 does not call fit-window-to-buffer
Date: Thu, 7 Oct 2021 11:07:31 +0200
[Message part 1 (text/plain, inline)]
>> 1. emacs -Q
>> 2. (setq ibuffer-default-shrink-to-minimum-size t)
>> 3. M-x ibuffer-other-window
>> 4. *Ibuffer* isn't shrinked
>>
>> [Because ibuffer-auto-mode is not bound and hence fit-window-to-buffer
>> is not called.]
>
> Thanks for following up on this.  So the fix I installed avoided the
> backtrace, but it didn't lead to the behavior you want, i.e. the one
> promised by `ibuffer-default-shrink-to-minimum-size'.
>
>>From reading the code it seems here that the intention is that
> `ibuffer-default-shrink-to-minimum-size' should only work when
> `ibuffer-auto-mode' is also enabled?  But that is not documented, is it?
>
> Does anyone know how any of this is actually supposed to work?

I suppose the attached would fix it.

martin
[ibuffer.el.diff (text/x-patch, attachment)]

This bug report was last modified 3 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.