all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* line-move-partial too costly ?
@ 2006-09-13 14:11 Michaël Cadilhac
  2006-09-13 22:51 ` Kim F. Storm
  2006-09-14 12:29 ` Miles Bader
  0 siblings, 2 replies; 14+ messages in thread
From: Michaël Cadilhac @ 2006-09-13 14:11 UTC (permalink / raw)
  Cc: storm


[-- Attachment #1.1: Type: text/plain, Size: 1837 bytes --]

Since the creation of line-move-partial, going to the next few lines
has become a P*TA.

I don't think my computer, with an Athlon XP 2000+, is too old to not
be concerned by Emacs user-friendliness :-)

With emacs -Q, if I entirely  fill the scratch buffer (150 columns, 75
lines) and then  press C-n and _stay on it_,[1]  the cursor is blocked
at the second line. When C-n is released, Emacs responds only after
a second or so.

If I remove the call to line-move-partial, everything is fine (except,
certainly, the display of partial images).

The guilty part seems to be this one:

    (let* ((ppos (posn-at-point))
	   (py (cdr (or (posn-actual-col-row ppos)
			(posn-col-row ppos))))
	   (vs (window-vscroll nil t))

Is there any solution ?

Footnotes: 
[1]  I use xset r rate 300 250, which is quite speedy.

----
In GNU Emacs 22.0.50.44 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-09-13 on mahaena
X server distributor `Gentoo (The X.Org Foundation 6.8.2, revision r6-0.1.13)', version 11.0.60802000
configured using `configure '--prefix=/usr' 'CFLAGS=-ggdb  -O0''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  locale-coding-system: iso-8859-1
  default-enable-multibyte-characters: t
----

-- 
/!\ My mail address changed, please update your files accordingly.
 |      Michaël `Micha' Cadilhac   |  (\(\  This is the cute bunny virus,   |
 |         Epita/LRDE Promo 2007   |  (^.^)  please copy this into your     |
 |  http://michael.cadilhac.name   |  (")")  sig so it can spread.          |
 `--  -   JID: micha@amessage.be --'                                   -  --'

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-09-20 10:50 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-13 14:11 line-move-partial too costly ? Michaël Cadilhac
2006-09-13 22:51 ` Kim F. Storm
2006-09-14 12:23   ` Michaël Cadilhac
2006-09-14 14:15     ` Kim F. Storm
2006-09-15 21:06     ` Kim F. Storm
2006-09-18 15:52       ` Chong Yidong
2006-09-18 20:42         ` Kim F. Storm
2006-09-19  8:19       ` Michaël Cadilhac
2006-09-19 12:07         ` Kim F. Storm
2006-09-19 22:57         ` Richard Stallman
2006-09-20 10:50           ` Kim F. Storm
2006-09-14 12:29 ` Miles Bader
2006-09-14 12:58   ` Michaël Cadilhac
2006-09-14 13:31     ` Miles Bader

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.