all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adrian Robert <adrian.b.robert@gmail.com>
To: David Reitter <david.reitter@gmail.com>
Cc: "emacs.app dev list" <emacs-app-dev-@lists.sourceforge.net>,
	Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: [Emacs.app dev]: ghost cursor problem is still there
Date: Wed, 20 Aug 2008 08:27:04 -0400	[thread overview]
Message-ID: <5742BBB5-9A2C-4E44-846D-AF4A46588DB2@gmail.com> (raw)
In-Reply-To: <90AB958C-083A-4DA6-86B6-C63DB82776CE@gmail.com>


On Aug 20, 2008, at 1:22 AM, David Reitter wrote:

> Adrian et al,
>
> On 22 Jul 2008, at 09:41, David Reitter wrote:
>>
>> The main changes are that we check cursor_type instead of  
>> cursorType and draw the text glyph rather than the cursor when  
>> erasing anything (`hl' variable).  There's a range of steps that we  
>> do to ensure that the cursor area is actually visible; I'm not sure  
>> if they are really needed, but the corresponding X code does it, too.
>> There is a good bit of guess-work involved, but I'm sure that  
>> testing will take care of any problems.
>
> OK, in my latest build, things work a lot better and the original  
> blink-cursor-mode appears to work fine now.  (I don't quite  
> understand which change made the event mechanisms work better.)

This is great news.


> To repeat, these changes address the following issues:
>
> - frame background rather than the right glyph in the white-out  
> phases during blinking
> - `cursor-type' variable as in core Emacs, rather than NS specific  
> solution
> - with it, support for things like (box . 2)
> - box/hollow cursors too narrow

OK, these were from before.


> - standard blink-cursor-mode with all its bells and whistles  
> (whether one needs them or not)

This is new, and good.


> I would also take the blink rate stuff out of the preferences (a  
> patch to the nib) - it doesn't work with the generic blinking code  
> and I believe it's there for historic reasons (because the NS port  
> implemented blinking separately) rather than because it would be  
> very important to have for users (one could think of much more  
> important settings that could be there).

This is a matter of opinion and at least I personally find blink and  
other cursor attributes I like to change easily and frequently.  It  
should be an extremely simple matter to update the prefs controller  
code to set the core emacs blink rate, and I will do so once you've  
checked your changes in.  The prefs window may be removed completely  
before 23.1 as it faces hostility from many quarters so I'd rather  
keep it fully functional until then.


> The occasional ghost cursors seem to remain.

I've been occasionally looking at this when I've had the chance.  It  
has not been easy to track down.  I get it (Leopard) in latest source  
and for a while back to around the merge, but not in rc2a.  I think  
the best chance will be to try to find the first date/version when the  
problem appeared and then diff the source code (xdisp.c, dispnew.c,  
and xterm.c will probably tell the story).  If anyone has information  
on this, please post it.


> Any objections?

I'm fine with this being committed.


thanks,
Adrian





  reply	other threads:[~2008-08-20 12:27 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5f089c510807191428n349bdf55gebdff2e0ca668db7@mail.gmail.com>
     [not found] ` <7C93A2A7-54FD-43A9-BA1B-0B8502FFA5C6@gmail.com>
     [not found]   ` <1AFEFF71-2AEA-4282-915E-B03050E98592@gmail.com>
     [not found]     ` <DE62387E-6E40-4C0B-BA66-723880CEDF06@gmail.com>
     [not found]       ` <8ED46157-6210-4767-A5AE-0DDE4C9DB1B3@gmail.com>
2008-07-22 13:41         ` [Emacs.app dev]: ghost cursor problem is still there David Reitter
2008-07-27 19:42           ` Adrian Robert
2008-08-20  5:22           ` David Reitter
2008-08-20 12:27             ` Adrian Robert [this message]
2008-08-20 20:44               ` David Reitter
2008-08-21  7:33                 ` Nick Roberts
2008-08-21  9:08                   ` David Reitter
2008-08-21 12:07                     ` Adrian Robert
2008-08-21 13:16                       ` Adrian Robert
2008-08-21 15:51                         ` David Reitter
2008-08-21 16:17                           ` Adrian Robert
2008-08-22  9:08                           ` Nick Roberts
2008-08-21 15:12                       ` David Reitter
2008-08-23 17:30             ` Dan Nicolaescu
2008-08-23 20:47               ` David Reitter
2008-08-23 21:13                 ` Dan Nicolaescu
2008-08-23 22:33                   ` David Reitter
2008-08-23 23:23                     ` Dan Nicolaescu
2008-08-24  0:09                     ` Nick Roberts
2008-08-24  8:02                       ` Andreas Schwab
2008-08-24  1:53                 ` Dan Nicolaescu
2008-08-24 19:51                   ` David Reitter
2008-08-24 20:59                     ` Dan Nicolaescu

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5742BBB5-9A2C-4E44-846D-AF4A46588DB2@gmail.com \
    --to=adrian.b.robert@gmail.com \
    --cc=david.reitter@gmail.com \
    --cc=emacs-app-dev-@lists.sourceforge.net \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.