unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ivan Kanis <ivan@kanis.fr>
Cc: 16697@debbugs.gnu.org
Subject: bug#16697: 24.3.50; ERC scrolltobottom module does not work anymore
Date: Sun, 09 Feb 2014 19:16:20 +0200	[thread overview]
Message-ID: <83iosouryz.fsf@gnu.org> (raw)
In-Reply-To: <87ha88r57d.fsf@tao.kanis.fr>

> From: Ivan Kanis <ivan@kanis.fr>
> Cc: 16697@debbugs.gnu.org
> Date: Sun, 09 Feb 2014 10:44:06 +0100
> 
> February, 08 at 23:03 Eli wrote:
> 
> >> From: Ivan Kanis <ivan@kanis.fr>
> >> Date: Sat, 08 Feb 2014 21:53:47 +0100
> >> 
> >> 1) emacs -Q
> >> 2) eval (setq erc-modules '(scrolltobottom)) in *scratch*
> >> 3) M-x erc RET RET RET
> >> 
> >> Wait for the window to fill up.
> >> 
> >> I expect the prompt to stay at the bottom as it used to in 24.3.
> >
> > Does it help to set scroll-conservatively to a value larger than 100?
> 
> Hi Eli,
> 
> Of course it 'works' but it's global for all buffers. After years of
> conservative scroll set to 0 I am somewhat used to it. I have set it to
> 101 on my configuration to see if it's nice.
> 
> This module did The Right Thing just for ERC buffers. It if can't be
> fixed it should at least be removed.

Sorry, I didn't mean to suggest that you should turn on
scroll-conservatively, I just wanted to see what causes recentering.

However, now that I tried your recipe, I see that Emacs 24.3 also
recenters, like the current trunk.  If I then type RET at the "ERC>"
prompt, the display is scrolled so that the last non-empty line is
indeed at the bottom of the window.

I think this is expected, given that scrolltobottom works off the
post-command-hook, no?

Are you sure that Emacs 24.3 behaves differently here?  Did you
perhaps use in Emacs 24.3 erc that is different from the one which was
supplied with the release tarball?





  reply	other threads:[~2014-02-09 17:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-08 20:53 bug#16697: 24.3.50; ERC scrolltobottom module does not work anymore Ivan Kanis
2014-02-08 21:03 ` Eli Zaretskii
2014-02-09  9:44   ` Ivan Kanis
2014-02-09 17:16     ` Eli Zaretskii [this message]
2014-02-10 21:12       ` Ivan Kanis
2014-02-11  3:51         ` Eli Zaretskii
2014-02-11  9:18           ` Ivan Kanis
2014-02-11 16:37             ` Eli Zaretskii
2014-02-11 17:14               ` Ivan Kanis
2014-02-11 21:44                 ` Josh
2014-02-11 21:56                   ` Glenn Morris
2014-02-12 19:13                     ` Ivan Kanis
2015-12-27 21:24                       ` Lars Ingebrigtsen
2015-12-28 19:09                         ` bug#11697: " Ivan Kanis
2016-02-04  6:12                           ` Lars Ingebrigtsen
2016-02-04 20:51                             ` Ivan Kanis
2019-10-23  9:57                               ` bug#11697: " Lars Ingebrigtsen
2015-12-28 19:11                         ` Ivan Kanis

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83iosouryz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=16697@debbugs.gnu.org \
    --cc=ivan@kanis.fr \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).