home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.lucid-emacs.help
- Sender: help-lucid-emacs-request@lucid.com
- Date: Tue, 21 Jul 92 09:04:09 PDT
- From: devin%scylla@lucid.com (Matthieu Devin)
- Message-ID: <9207211604.AA15883@scylla.lucid>
- Subject: Re: positioning the cursor
- References: <9207211138.AA26674@sundeck.East.Sun.COM>
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Lines: 17
-
- Yep we have known bugs in positioning the cursor.
-
- The bugs comes from the fact that the display code caches the buffer position
- of the first character of every line on the screen, and that in some cases this
- cache is not updated when the screen is redisplayed. Mostly when the redisplay
- shortcuts are used, like when you type ^O at then end of a line.
-
- It's not so easy to fix because the code has become so messy after the first
- implementation of the extents (the one using the intervals paradigm). We want
- to fix this by redoing the redisplay code, at least redesiging the data
- structures representing the contents of the screen.
-
- A quick fix could be to never use this cache and always call glyphs_from_bufpos
- starting from the window_start position when mapping screen coordinates to
- pixel coordinates. This would make event-x and event-y a little slower.
-
- Matthieu
-