Subject: Re: Conflict between ERC mode tracking and ibuffer window shrinking

From: Michael Olson <[email-masked]>
Date: Tue, 07 Oct 2008 22:07:00 -0700

Chong Yidong <[email-masked]> writes:

> Hi guys,
>
> Could you take a look at this bug report?  I'm not sure whether ERC or
> ibuffer needs fixing.

The problem was that just before fit-window-to-buffer was called in
`ibuffer-shrink-to-fit', the display was showing a split frame with
both windows displaying the same ERC buffer, even though the current
buffer was actually *Ibuffer*.  I added a (redisplay t) call to force
the display to be up-to-date before fit-window-to-buffer is called,
which fixes the problem.

-- 
|       Michael Olson  |  FSF Associate Member #652     |
| http://mwolson.org/  |  Hobbies: Lisp, HCoop          |
| Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |
`-------------------------------------------------------'