From: Deniz Dogan <deniz@dogan.se>
To: Antoine Levitt <antoine.levitt@gmail.com>
Cc: 11697@debbugs.gnu.org
Subject: bug#11697: 24.1.50; ERC scroll-to-bottom functionality 'broken' in emacs 24.1.x
Date: Thu, 14 Jun 2012 23:10:26 +0200 [thread overview]
Message-ID: <4FDA5342.8090006@dogan.se> (raw)
In-Reply-To: <87sjdxobbh.fsf@gmail.com>
On 2012-06-14 23:03,, Antoine Levitt wrote:
> 14/06/12 22:51, Deniz Dogan
>> The excessive CPU consumption comes from the fact that it nowadays
>> uses post-command-hook, which is executed just about all the time. :)
>
> I don't think so, I had excessive CPU consumption before the code used
> post-command-hook (main way to trigger is to hold a random key down
> while watching the result of top. It's already appalling in ERC without
> erc-scrolltobottom, but it's even worth with it).
>
> The way I see it, this scrolltobottom thing is a problem that is global
> to emacs and has nothing to do with ERC in particular. For instance, I
> also want my shell buffers not to scroll past the end of
> buffers. Actually I think (but am not sure ; it would require testing)
> I'd want all buffers to behave that way, and never, ever display
> anything past the end of the buffer. An ideal solution would be a local
> variable, that'd inhibit "bad" recentering (and therefore would not
> incur any performance loss, as I believe the main loss is when a hook
> recenters after it has already been recentered). But that's more
> ambitious.
>
I agree. Another improvement, especially for IRC clients, would be to
allow for buffers to start growing from the bottom of the window, much
like Irssi and mIRC.
next prev parent reply other threads:[~2012-06-14 21:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-13 16:22 bug#11697: 24.1.50; ERC scroll-to-bottom functionality 'broken' in emacs 24.1.x Brian Fransioli
2012-06-13 20:03 ` Deniz Dogan
2012-06-14 7:35 ` Kevin Rodgers
2012-06-14 9:49 ` Antoine Levitt
2012-06-14 20:51 ` Deniz Dogan
2012-06-14 21:03 ` Antoine Levitt
2012-06-14 21:10 ` Deniz Dogan [this message]
2012-06-15 2:00 ` Stefan Monnier
2012-06-15 6:49 ` Antoine Levitt
[not found] ` <mailman.2844.1339743011.855.bug-gnu-emacs@gnu.org>
2013-02-08 5:06 ` maden.ldm
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=4FDA5342.8090006@dogan.se \
--to=deniz@dogan.se \
--cc=11697@debbugs.gnu.org \
--cc=antoine.levitt@gmail.com \
/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).