From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#858: marked as done (Conflict between ERC mode tracking and ibuffer window shrinking) Date: Tue, 7 Oct 2008 22:15:03 -0700 Message-ID: References: <87wsgjznd7.fsf@grepfind.mwolson.org> <6fa54e4e0809011626h5f200906w83f2f03179b22148@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1223442903-10156-0" X-Trace: ger.gmane.org 1223443824 28749 80.91.229.12 (8 Oct 2008 05:30:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2008 05:30:24 +0000 (UTC) To: Michael Olson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 08 07:31:20 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KnRdm-0002CD-Sc for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 07:31:19 +0200 Original-Received: from localhost ([127.0.0.1]:41121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnRcj-0008FJ-08 for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 01:30:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnRcc-0008EZ-DD for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2008 01:30:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnRcb-0008EN-Gb for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2008 01:30:05 -0400 Original-Received: from [199.232.76.173] (port=50746 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnRca-0008EF-Tk for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2008 01:30:04 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36625) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnRcV-0004wg-HG; Wed, 08 Oct 2008 01:30:00 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m985Tv4m013653; Tue, 7 Oct 2008 22:29:57 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m985F3tc010214; Tue, 7 Oct 2008 22:15:03 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 858 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21255 Archived-At: This is a multi-part message in MIME format... ------------=_1223442903-10156-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Tue, 07 Oct 2008 22:07:00 -0700 with message-id <87wsgjznd7.fsf@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@donarmstrong.com immediately.) --=20 858: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D858 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1223442903-10156-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.5 required=4.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 1 Sep 2008 23:26:59 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m81NQtbn030900 for ; Mon, 1 Sep 2008 16:26:56 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaInO-0006SF-Sw for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2008 19:26:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaInO-0006S1-Eo for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2008 19:26:54 -0400 Received: from [199.232.76.173] (port=43476 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaInO-0006Ry-A9 for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2008 19:26:54 -0400 Received: from ey-out-1920.google.com ([74.125.78.146]:42946) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KaInN-0006Da-Vj for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2008 19:26:54 -0400 Received: by ey-out-1920.google.com with SMTP id 4so801548eyg.24 for ; Mon, 01 Sep 2008 16:26:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=EGr/0fVL+fP2hTacsoIGx/0uRnfGb3b+HLdJ3qgiYlw=; b=cDEeVIOwoSaL4J2gPey4rC0NUX/Fw4XzwTSZyMK6+ygXlcKfV5On4HJ7nVK+SkG6JP J2T7JQpodt1qHkJReeeTfTMehq9ODuInr0kbvLvCsSu41futFUJEbTwj+bUoUIQ2hO04 4Sh/LlZIA2ALAm0ioNPMuItmttulNqprs6dzk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=avF8q3Uvotg1n6UDzNpfVi1uB53fchUDcoWzkhNrraBKQps52UlhQP5HDHf5+bRPBN nK2uVOymhCn6cDmbJn0WT49vrfv0b+YLv7J6ihl4DmWE4TbSRylefO7wuFB4T9RI+arX Oy+je0afdPzdzADTGloVhEKP0C0AUm6X4y3Cg= Received: by 10.210.42.20 with SMTP id p20mr7295257ebp.73.1220311612198; Mon, 01 Sep 2008 16:26:52 -0700 (PDT) Received: by 10.210.141.18 with HTTP; Mon, 1 Sep 2008 16:26:52 -0700 (PDT) Message-ID: <6fa54e4e0809011626h5f200906w83f2f03179b22148@mail.gmail.com> Date: Tue, 2 Sep 2008 01:26:52 +0200 From: "Antoine Levitt" To: bug-gnu-emacs@gnu.org Subject: Conflict between ERC mode tracking and ibuffer window shrinking MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_56566_23114664.1220311612198" X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) ------=_Part_56566_23114664.1220311612198 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: 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 ------=_Part_56566_23114664.1220311612198 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: 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
------=_Part_56566_23114664.1220311612198-- ------------=_1223442903-10156-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.4 required=4.0 tests=AWL,BAYES_00,FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 858-done) by emacsbugs.donarmstrong.com; 8 Oct 2008 05:07:17 +0000 Received: from deleuze.hcoop.net (Debian-exim@deleuze.hcoop.net [69.90.123.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9857EQY008912 for <858-done@emacsbugs.donarmstrong.com>; Tue, 7 Oct 2008 22:07:15 -0700 Received: from cpe-75-84-154-172.socal.res.rr.com ([75.84.154.172] helo=grepfind.mwolson.org ident=mwolson) by deleuze.hcoop.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KnRGO-0002t8-Gx; Wed, 08 Oct 2008 01:07:09 -0400 Received: from mwolson by grepfind.mwolson.org with local (Exim 4.69) (envelope-from ) id 1KnRGH-0008Q2-1d; Tue, 07 Oct 2008 22:07:01 -0700 X-Hashcash: 1:20:081008:858-done@emacsbugs.donarmstrong.com::SAHelfDcl+ftGc38:000000000000000000000000006HtQ From: Michael Olson To: Chong Yidong Cc: John Paul Wallington , "Antoine Levitt" , 858-done@emacsbugs.donarmstrong.com Subject: Re: Conflict between ERC mode tracking and ibuffer window shrinking References: <87wshuse77.fsf@cyd.mit.edu> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEU1QytIVTlZY0dqc1N6 hGGJl3qZpZCtuKXsjxzFAAACW0lEQVR42l2UXXrqIBCGk67Aoe29Ac4CTPDcGwZ73wLdQDOuQLP9 8wHG9hT1Mc6bb/5jp7Xed92TVrqeCYfKRVc+XdfDbqbJ8TixG1UDu2a3xkf2H+z+A6Qn7Xk71AA8 kdJmZg4xpcTshgr2JQSurAswhwDFYQN9r4yxx1BIQqBTBbvqahw9hxRSLOBdFVA89TTOvgSoMaLf ABTWOg5Z8lLRNyD7x4WSVHU1DZurThn2HI9Oa561JhTSDUWxq64YqRlmrcdhA73y3rmJY1okotDT NzDO2XNGZPnS7A4b6NQ8foQFN2eJmEBR7Du1Q/DRh7R4O50BrGmu0F8i49Iya+ScvtDNqkADB8zD pwU9wTu9c8msdNYOO0JvYYyREd9xBOh7zSNc2WMZUYzIDHOpU0Kxe5o9o0eccsr5mNLcwHhC8DoM SQkJ5wbUxAdlbDELEpDbclc8sT2gV2HJIrj/si7hDgzPpY4sqxTV+pWkgt7EGesDIFWUnGuK7pkn erZoieCVZPGcG3jCJimLwS7IVZY4R3mvoNfzoCfOF0mIG1nna+TadAxzgF5u0b3JTaxcmZtCF1dn WSOv63oNl4U3BQCLXOQKWZIHUBWcUci6iuTL7eMOelVAKfp+NkA0kOElN3BbV26AiGZsXEqfa0EQ NtATvTAKCeHh7AEEi4knM6S3HwB2eo1zeZQ5fDbgNkCpbEwh8HUTqYDqwUhIG2NQ/k2WH+CVB9LK aINy0EeAvgF6KRK0wIaPiX8CioRNpQF7X/8EOnoAPpUvrX8DED7t8B/Bv8ErfnpSfxv4B9rx7BDd lxXRAAAAAElFTkSuQmCC Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEU2MSswMT5cXXJlX1CC hJObl4TMw7br49UydvpeAAACIUlEQVR42oXTTXObMBAG4FWJ7xKpczaYSa84fJw9doKvJLKUq6fA 8gtAf7+7CPwxnU537IsevYtWxmD+UfB/qAEEwN9Qg+KS8hFqkEqokEmIO6hBSHWrG0xtQhWG/FVy vUAtpo1RFHNFU2QCXg9jX8l7slVrD5/UKVLxIY4PySFOOOOBAlEYJ7R4oNUkiXdyAe4zA22hxIrh K4y4TfLOD474FLGHmvbQIgWug4g1w552HvhAtwklMKQJJ6K7yZWYYJPQER/WlZpAJA9tbokwmbfT LdG1y40QSjDA0icUAgQVoWS4NvixA7kD2JHAPchQQIDVB+7p13kAgI/eja3BDTwkxJPpnRuzoNqL O5CibNE5N+SNvYC4Szw3kFPC2aG/yNUVpCyDrOBWBM0EXx5+6ny0FHDd2/eFpzOfHl7ey7FiQDND 6uE0VGPufHmg+Rm+3bkzMzQTvPH1KHFyXcWHcv2SOJNIBad5t8MlYfQWpIyvYPs5Qa9JSvddLQF6 kJ7hnFLk1wwjPakO5nc320JQLkCf/Sqb/wbFRr66aw1p0HjQZg9PfrGz/fgbVjPkRstsGmKgi0Sd 5lgwZJk9gj/WaNC1Ji3wyFBoazIo7HJerF89lNq2KRQGJ2gLrEsseXLKdEf50hlLNGiLumoqBtsV qKFEnI6uES9lawkK2+XYyQJZMmtKbKoWGRA1tukzchXYldhhQ0A98UwPDCbQqKkn5vgHawMQkYJi arwAAAAASUVORK5CYII= X-Hashcash: 1:20:081008:smeuuh@gmail.com::76YtJwXKog0CwZ6U:01qOY X-Hashcash: 1:20:081008:cyd@stupidchicken.com::Sv7W24XEj90noL3B:00000000000000000000000000000000000000003SOS X-Hashcash: 1:20:081008:jpw@gnu.org::IjSpeFzNkbra5KvG:0000004lFe X-Hashcash: 1:20:081008:858@emacsbugs.donarmstrong.com::bbJHwGHdWoSPK5op:00000000000000000000000000000003tgC Date: Tue, 07 Oct 2008 22:07:00 -0700 In-Reply-To: <87wshuse77.fsf@cyd.mit.edu> (Chong Yidong's message of "Tue, 02 Sep 2008 12:30:20 -0400") Message-ID: <87wsgjznd7.fsf@grepfind.mwolson.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Chong Yidong 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 | `-------------------------------------------------------' ------------=_1223442903-10156-0--