Re: bug#76279: 31.0.50; ERC 5.6.1-git: scrolltobottom-mode broken on certain global text scaling
Trevor Arjeski <[email protected]> Sat, 15 Feb 2025 08:11:26 +0300
| Newsgroups | gmane.emacs.erc.general |
|---|---|
| Message-ID | <[email protected]> |
"J.P." <[email protected]> writes: > Trevor Arjeski <[email protected]> writes: > >> Eli Zaretskii <[email protected]> writes: >> >>>> From: Trevor Arjeski <[email protected]> >>>> 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