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

February, 09 at 19:16 Eli wrote:

>> 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?

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.

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.
-- 
Things unattempted yet in prose or rhyme.
    -- John Milton





  reply	other threads:[~2014-02-10 21:12 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 [this message]
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=87iosm1xl8.fsf@tao.kanis.fr \
    --to=ivan@kanis.fr \
    --cc=16697@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).