--- Begin Message ---
Subject: |
Conflict between ERC mode tracking and ibuffer window shrinking |
Date: |
Tue, 2 Sep 2008 01:26:52 +0200 |
Hi,
There is a bug when using conjointly these two features. Here are the relevant portions of configuration :
;;make ibuffer resize itself to its buffer size
(setq ibuffer-use-other-window t)
(setq ibuffer-default-shrink-to-minimum-size t)
No specific configuration for erc, just enabling tracker is enough.
Then, run erc, and, in any erc buffer, call ibuffer. The screen briefly flashes as an ERC window opens then disappears, and the ibuffer window is reduced to a much smaller size than what it would be outside ERC. I think the issue is erc's hook to window-configuration-change somehow messing with ibuffer, but I'm not experienced enough to find where the bug is.
Antoine Levitt
--- End Message ---
--- Begin Message ---
Subject: |
Re: Conflict between ERC mode tracking and ibuffer window shrinking |
Date: |
Tue, 07 Oct 2008 22:07:00 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Chong Yidong <cyd@stupidchicken.com> 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 |
`-------------------------------------------------------'
--- End Message ---