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: Michael Olson <mwolson <at> gnu.org>
Subject: bug#858: marked as done (Conflict between ERC mode tracking and 
 ibuffer window shrinking)
[Message part 1 (text/plain, inline)]
Your message dated Tue, 07 Oct 2008 22:07:00 -0700
with message-id <87wsgjznd7.fsf <at> grepfind.mwolson.org>
and subject line Re: Conflict between ERC mode tracking and ibuffer window shrinking
has caused the Emacs bug report #858,
regarding Conflict between ERC mode tracking and ibuffer window shrinking
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don <at> donarmstrong.com
immediately.)


-- 
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: "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 3 (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 4 (text/html, inline)]
[Message part 5 (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 |
`-------------------------------------------------------'


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

Previous Next


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