[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ERC scrolltobottom in Emacs 24
From: |
Teemu Likonen |
Subject: |
Re: ERC scrolltobottom in Emacs 24 |
Date: |
Thu, 04 Apr 2013 14:54:20 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Francesco Mazzoli [2013-04-04 10:22:34 +0200] wrote:
> In the end I installed emacs24 through the emacs-snapshot package, and
> things seem to be fine: the debian packages work with the new emacs.
>
> I have however a very annoying problem with ERC: I have enabled the
> ‘scrollbottom’ module enabled but the text ‘jumps’ to the middle of
> the frame every time a new message arrived. Did anybody record a
> behaviour like this, and if yes, how do I fix it?
I think I saw something like that when I switched to Emacs 24. I do my
scrolling settings with the code below. It's likely what you'd want too.
(add-hook 'erc-mode-hook 'my-erc-mode-hook)
(defun my-erc-mode-hook ()
(set (make-local-variable 'scroll-conservatively) 101)
(set (make-local-variable 'scroll-step) 1))
pgppfSoc1VtgJ.pgp
Description: PGP signature