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 #16 received at 51029 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: "Y. E." <yet <at> ego.team>, 51029 <at> debbugs.gnu.org
Subject: Re: 28.0.60; Follow-up to Bug#51029: ibuffer-shrink-to-fit does not
 call fit-window-to-buffer
Date: Wed, 6 Oct 2021 19:00:32 -0400
reopen 51029
thanks

Y. E. <yet <at> ego.team> writes:

> This is a follow-up to Bug#51029.
> It seems there's more to fix.
>
> Steps to reproduce:
>
> 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?




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.