unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Adrian Robert <adrian.b.robert@gmail.com>
To: David Reitter <david.reitter@gmail.com>
Cc: 2530@emacsbugs.donarmstrong.com, Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: 23/NS: redraws according to mouse-face are slow
Date: Fri, 24 Apr 2009 09:12:46 +0545	[thread overview]
Message-ID: <139B721E-A1B4-4256-B202-D4472C0331FB@gmail.com> (raw)
In-Reply-To: <4383E9F6-9B66-4DA4-AA3C-D602EB059B97@gmail.com>


On Apr 20, 2009, at 11:46 PM, David Reitter wrote:

> On Mar 4, 2009, at 4:29 PM, Adrian Robert wrote:
>
>>> I find that the redisplay of overlays that happens when the mouse is
>>> moved into an overlay with a mouse-face property are much slower in
>>> Emacs 23 (NS, under Cocoa/OS X).  It is pretty much a nasty  
>>> animation
>>> - every layer is redrawn from left to right, it seems, and every  
>>> step
>>> is visible.  It seems that background is drawn first, and then the
>>> text over it.
>>
>> Yes, this has been an issue for years from Emacs on Aqua on and it  
>> completely baffles me.  The NS code for handling mouse face is  
>> identical to other platforms as far as I can tell, so I don't know  
>> why the issue occurs only here.  And the animation is far slower  
>> than any code on the NS side could be taking.  It must be a bug  
>> somewhere on the core display side that is exposed because  
>> (guessing here) the event loop under NS is done slightly differently.
>
> Does anyone have an idea how to fix issue 2530?  I think this  
> slowness is quite painful.  In my case, it is the tabbar.el variant  
> that I'm using that causes this - I'm using several overlays (for a  
> tab-close button, for instance) that get redrawn one by one.  I  
> would imagine that this will annoy users in other use cases as well.

Or to ask it another way, is there any reason anyone can think of  
that redisplay would force calls through the x_draw_glyph_string  
pathway once for every character when overlays are present?





  reply	other threads:[~2009-04-24  3:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BAF3A3D5-641B-45BA-9DA1-DC767D2D9ECE@gmail.com>
2009-04-20 18:01 ` 23/NS: redraws according to mouse-face are slow David Reitter
2009-04-24  3:27   ` Adrian Robert [this message]
2009-05-04 22:55     ` David Reitter
2009-05-04 23:24       ` Leo
2009-05-05  1:53       ` Chong Yidong
2009-05-05  3:37         ` David Reitter
2009-05-05 10:36           ` Adrian Robert
2009-05-05 14:13             ` Chong Yidong
2009-05-05 17:32               ` David Reitter
2016-01-14  5:08                 ` bug#2530: " Andrew Hyatt
2016-01-14 20:34                   ` Alan J Third
2016-01-14 21:00                     ` David Reitter
2016-01-14 21:39                   ` Christian Kruse
2016-01-15  7:38                     ` Eli Zaretskii
2016-01-16  4:15                       ` Andrew Hyatt
2009-05-06  1:47               ` Stefan Monnier
2009-05-06  7:40                 ` YAMAMOTO Mitsuharu
2009-05-06  0:50             ` YAMAMOTO Mitsuharu
2009-05-06  1:55               ` Adrian Robert
2009-05-06  2:25                 ` YAMAMOTO Mitsuharu

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=139B721E-A1B4-4256-B202-D4472C0331FB@gmail.com \
    --to=adrian.b.robert@gmail.com \
    --cc=2530@emacsbugs.donarmstrong.com \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@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).