GNU bug report logs - #76279
31.0.50; ERC 5.6.1-git: scrolltobottom-mode broken on certain global text scaling

Previous Next

Package: emacs;

Reported by: Trevor Arjeski <tmarjeski <at> gmail.com>

Date: Fri, 14 Feb 2025 07:25:02 UTC

Severity: normal

Found in version 31.0.50

Done: "J.P." <jp <at> neverwas.me>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 76279 <at> debbugs.gnu.org (full text, mbox):

From: Trevor Arjeski <tmarjeski <at> gmail.com>
To: "J.P." <jp <at> neverwas.me>
Cc: Eli Zaretskii <eliz <at> gnu.org>, emacs-erc <at> gnu.org, 76279 <at> debbugs.gnu.org
Subject: Re: bug#76279: 31.0.50; ERC 5.6.1-git: scrolltobottom-mode broken
 on certain global text scaling
Date: Sat, 15 Feb 2025 08:11:26 +0300
"J.P." <jp <at> neverwas.me> writes:

> Trevor Arjeski <tmarjeski <at> gmail.com> writes:
>
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>
>>>> From: Trevor Arjeski <tmarjeski <at> gmail.com>
>>>> Date: Fri, 14 Feb 2025 10:24:12 +0300
>>>> 
>>>> Minimal configuration:
>>>> (use-package erc
>>>>   :config
>>>>   (setopt erc-modules '(scrolltobottom))
>>>>   (erc-scrolltobottom-mode))
>>>> 
>>>> 1. Use above config to ensure scrolltobottom module is loaded
>>>> 2. Start erc with a connection to libera (M-x erc-tls)
>>>> 3. C-x 1 on the erc buffer window to make it the sole window
>>>> 4. Once the Libera buffer is loaded, this should be a sufficient number
>>>> of lines to trigger scroll to bottom.
>>>> 5. On some resolutions or window size this may be enough to see that the
>>>> input line (ERC>) is not at the bottom of the window, but in the
>>>> middle. If not, proceed to step 6.
>>>> 6. Invoke (global-text-scale-adjust) using C-x C-M-= and continue to
>>>> press the "=" key until you can notice that the input line jumps to the
>>>> center of the window.
>>>
>>> Aren't you supposed to set erc-input-line-position to -1 if you want
>>> the prompt to always be at the last line?
>>
>> Does not seem to make a difference for me and also in the
>> `erc-scroll-to-bottom' procedure of erc-goodies.el it seems to already
>> do that by default with `(or erc-input-line-position -1)', right?
>
> Does configuring `erc-scrolltobottom-all' to t help any? (Note that you
> must do so before connecting or else cycle the module's minor mode.)

That DOES work! Uncovering the mysteries of erc...

We can close this now. Thanks, J.P!

Trevor




This bug report was last modified 89 days ago.

Previous Next


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