GNU bug report logs - #858
Conflict between ERC mode tracking and ibuffer window shrinking

Previous Next

Package: emacs;

Reported by: "Antoine Levitt" <smeuuh <at> gmail.com>

Date: Mon, 1 Sep 2008 23:35:03 UTC

Severity: normal

Done: Michael Olson <mwolson <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: "Antoine Levitt" <smeuuh <at> gmail.com>
Subject: bug#858 closed by Michael Olson <mwolson <at> gnu.org> (Re: Conflict 
 between ERC mode tracking and ibuffer window shrinking)
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#858: Conflict between ERC mode tracking and ibuffer window shrinking

It has been closed by Michael Olson <mwolson <at> gnu.org>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Michael Olson <mwolson <at> gnu.org> by
replying to this email.


-- 
858: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=858
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Olson <mwolson <at> gnu.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: John Paul Wallington <jpw <at> gnu.org>, "Antoine Levitt" <smeuuh <at> gmail.com>,
        858-done <at> debbugs.gnu.org
Subject: Re: Conflict between ERC mode tracking and ibuffer window shrinking
Date: Tue, 07 Oct 2008 22:07:00 -0700
Chong Yidong <cyd <at> 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 |
`-------------------------------------------------------'

[Message part 3 (message/rfc822, inline)]
From: "Antoine Levitt" <smeuuh <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Conflict between ERC mode tracking and ibuffer window shrinking
Date: Tue, 2 Sep 2008 01:26:52 +0200
[Message part 4 (text/plain, inline)]
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
[Message part 5 (text/html, inline)]

This bug report was last modified 16 years and 228 days ago.

Previous Next


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