[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ERC scrolltobottom in Emacs 24
From: |
Francesco Mazzoli |
Subject: |
Re: ERC scrolltobottom in Emacs 24 |
Date: |
Thu, 04 Apr 2013 14:09:36 +0200 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/24.3.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
At Thu, 04 Apr 2013 14:54:20 +0300,
Teemu Likonen wrote:
>
> 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))
Much better, thanks!
Francesco