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: Tue, 11 Feb 2014 05:51:17 +0200	[thread overview]
Message-ID: <83bnyetih6.fsf@gnu.org> (raw)
In-Reply-To: <87iosm1xl8.fsf@tao.kanis.fr>

> From: Ivan Kanis <ivan@kanis.fr>
> Cc: 16697@debbugs.gnu.org
> Date: Mon, 10 Feb 2014 22:12:19 +0100
> 
> > 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?
> 
> I tested on 24.3 and 24.2 and it does recenter. I am sure this feature
> worked at some point but can't recall when. I can try further previous
> versions if you wish.

I think it "worked" when scrolltobottom used window-scroll-functions,
see bug #11697.

> When I type RET at the prompt I get an error message saying I can't send
> an empty line. It errors "Blank line - ignoring" in the echo area.
> However the display does not scroll up for me.

No, I meant if the last line is not at the bottom of the window,
typing just RET will scroll it to the bottom, because the
post-command-hook will kick in.

So I guess this feature expects an improvement that would put the last
line at the bottom even if no command was invoked by the user.





  reply	other threads:[~2014-02-11  3:51 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
2014-02-10 21:12       ` Ivan Kanis
2014-02-11  3:51         ` Eli Zaretskii [this message]
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=83bnyetih6.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).