GNU bug report logs - #12956
24.2; Move hl-line-mode to display engine so performance reason.

Previous Next

Package: emacs;

Reported by: Oleksandr Gavenko <gavenkoa <at> gmail.com>

Date: Wed, 21 Nov 2012 22:19:01 UTC

Severity: wishlist

Merged with 12953

Found in versions 24.2, 24.2.50

To reply to this bug, email your comments to 12956 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12956; Package emacs. (Wed, 21 Nov 2012 22:19:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Oleksandr Gavenko <gavenkoa <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 21 Nov 2012 22:19:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Oleksandr Gavenko <gavenkoa <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2; Move hl-line-mode to display engine so performance reason.
Date: Thu, 22 Nov 2012 00:17:02 +0200
From http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12927

> > Also I found that "(global-hl-line-mode 1)" slow down scrolling in CC-mode
> > enabled buffers in two or more times. Do I need report a bug?

> No, this is expected.  hl-line-mode adds itself to post-command-hook,
> and moves its overlay after each command that changes the current
> line.  What this does is completely disable the redisplay
> optimizations used when only the cursor moves without any other
> changes to the text, because moving an overlay requires a thorough
> redisplay of the window, which is more expensive.

> The only bug report that I can think of is a feature request to move
> hl-line-mode into the display engine, because the display engine
> knowns very well where's the current line (when it decides where to
> display the cursor), and can do this highlighting better and much more
> efficiently.

-- 
Best regards!




Forcibly Merged 12953 12956. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 21 Nov 2012 22:22:02 GMT) Full text and rfc822 format available.

Merged 12953 12956. Request was from Juanma Barranquero <lekktu <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 22 Nov 2012 00:58:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12956; Package emacs. (Thu, 22 Nov 2012 03:48:02 GMT) Full text and rfc822 format available.

Message #12 received at 12956 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Oleksandr Gavenko <gavenkoa <at> gmail.com>
Cc: 12956 <at> debbugs.gnu.org
Subject: Re: bug#12956: 24.2;
	Move hl-line-mode to display engine so performance reason.
Date: Thu, 22 Nov 2012 05:45:42 +0200
> From: Oleksandr Gavenko <gavenkoa <at> gmail.com>
> Date: Thu, 22 Nov 2012 00:17:02 +0200
> 
> >From http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12927
> 
> > > Also I found that "(global-hl-line-mode 1)" slow down scrolling in CC-mode
> > > enabled buffers in two or more times. Do I need report a bug?
> 
> > No, this is expected.  hl-line-mode adds itself to post-command-hook,
> > and moves its overlay after each command that changes the current
> > line.  What this does is completely disable the redisplay
> > optimizations used when only the cursor moves without any other
> > changes to the text, because moving an overlay requires a thorough
> > redisplay of the window, which is more expensive.
> 
> > The only bug report that I can think of is a feature request to move
> > hl-line-mode into the display engine, because the display engine
> > knowns very well where's the current line (when it decides where to
> > display the cursor), and can do this highlighting better and much more
> > efficiently.

This is a duplicate of 12953.




Merged 12953 12956. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 22 Nov 2012 03:49:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12956; Package emacs. (Thu, 22 Nov 2012 21:03:01 GMT) Full text and rfc822 format available.

Message #17 received at 12956 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 12956 <at> debbugs.gnu.org, Oleksandr Gavenko <gavenkoa <at> gmail.com>
Subject: Re: bug#12956: 24.2; Move hl-line-mode to display engine so
	performance reason.
Date: Thu, 22 Nov 2012 22:00:31 +0100
On Thu, Nov 22, 2012 at 4:45 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:

> This is a duplicate of 12953.

It's already merged.

    Juanma




This bug report was last modified 12 years and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.