From: "Antoine Levitt" <smeuuh@gmail.com>
To: "martin rudalics" <rudalics@gmx.at>, 858@emacsbugs.donarmstrong.com
Cc: Keegan Carruthers-Smith <keegan.csmith@gmail.com>,
Chong Yidong <cyd@stupidchicken.com>,
Michael Olson <mwolson@gnu.org>,
John Paul Wallington <jpw@gnu.org>
Subject: bug#858: Conflict between ERC mode tracking and ibuffer window shrinking
Date: Thu, 4 Sep 2008 16:14:08 +0200 [thread overview]
Message-ID: <6fa54e4e0809040714x79114c9ajf63023dc0ae615c@mail.gmail.com> (raw)
In-Reply-To: <48BE5A91.2060302@gmx.at>
[-- Attachment #1: Type: text/plain, Size: 2293 bytes --]
Hi,
I did some testing, and the bug was not in tracker as I suspected, it's in
scrolltobottom, in erc-goodies.el. This should be much easier for you to
debug: it's only a few lines long. I strongly suspect the part following
this comment is responsible :
;; Temporarily bind resize-mini-windows to nil so that users who have
it
;; set to a non-nil value will not suffer from premature minibuffer
;; shrinkage due to the below recenter call. I have no idea why this
;; works, but it solves the problem, and has no negative side effects.
;; (Fran Litterio, 2003/01/07)
Looks like it does have side effects after all :-)
2008/9/3 martin rudalics <rudalics@gmx.at>
> CC-ing Keegan because Bug #466 describes another problem with ERC and
> windows.
>
> >> 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.
>
> Can't offer much insight but processing window-configuration-change
> hooks has changed with Emacs 23. So this
>
> (defun erc-track-modified-channels ()
> "Hook function for `erc-insert-post-hook' to check if the current
> buffer should be added to the modeline as a hidden, modified
> channel. Assumes it will only be called when current-buffer
> is in `erc-mode'."
> (let ((this-channel (or (erc-default-target)
> (buffer-name (current-buffer)))))
> ...
>
> might have been broken for some reason. To verify, someone would have
> to try with Emacs 22 and 23 inserting just before the `let' something
> like
>
> (unless (eq major-mode 'erc-mode)
> (message "Not in erc-mode ..."))
>
> and look whether it triggers.
>
> martin
>
>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 3182 bytes --]
next prev parent reply other threads:[~2008-09-04 14:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-02 16:30 bug#858: Conflict between ERC mode tracking and ibuffer window shrinking Chong Yidong
2008-09-02 16:46 ` Antoine Levitt
2008-09-03 9:36 ` martin rudalics
2008-09-04 14:14 ` Antoine Levitt [this message]
2008-09-04 22:48 ` John Paul Wallington
2008-09-04 23:09 ` Antoine Levitt
-- strict thread matches above, loose matches on Subject: below --
2008-09-01 23:26 Antoine Levitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6fa54e4e0809040714x79114c9ajf63023dc0ae615c@mail.gmail.com \
--to=smeuuh@gmail.com \
--cc=858@emacsbugs.donarmstrong.com \
--cc=cyd@stupidchicken.com \
--cc=jpw@gnu.org \
--cc=keegan.csmith@gmail.com \
--cc=mwolson@gnu.org \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.