unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: window-scroll-functions and performance
Date: Tue, 16 Aug 2011 12:12:04 +0300	[thread overview]
Message-ID: <83mxf9u3dn.fsf@gnu.org> (raw)
In-Reply-To: <87wred236t.fsf@gmail.com>

> From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
> Cc: emacs-devel@gnu.org
> Date: Tue, 16 Aug 2011 10:03:38 +0200
> 
> This happen in emacs -Q too.
> All scrolling commands, but also next/previous-line are affected.

Please do list those scrolling commands.  I've found from bitter
experience that making assumptions here leads to wrong conclusions.

> Unfortunately i have no example file to send. My org files are quite big
> and contain personal notes and infos.

Does this happen only in large files?  Can you try in progressively
smaller fragments of those files, and see if the problem gets worse
with the size?  If size is the key factor, I'd need to know at least
the size where it becomes unbearably slow, and the approximate number
of entries at each level.  Then I could try generating a dummy Org
file with a similar structure, and see if I can reproduce the problem.

One more thing to try: leave `bidi-display-reordering' on, but set
`bidi-paragraph-direction' to `left-to-right', then tell me if the
slow-down goes away, at least partially.

> Perhaps, do you have things like
> 
> #+BEGIN_SRC lisp
> ;; some lisp code here
> #+END_SRC
> 
> in your org files?

No.  Does the mere presence of this even in small Org files trigger
the slow-down?  Does removing this cause the slow-down to go away?  If
yes, please show the Lisp you've got there, or at least describe
enough of it so I could recreate it here.

Thanks.



  reply	other threads:[~2011-08-16  9:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-15 19:48 window-scroll-functions and performance Antoine Levitt
2011-08-15 20:28 ` Eli Zaretskii
2011-08-15 21:02   ` Antoine Levitt
2011-08-16  5:56     ` Thierry Volpiatto
2011-08-16  6:38       ` Eli Zaretskii
2011-08-16  8:03         ` Thierry Volpiatto
2011-08-16  9:12           ` Eli Zaretskii [this message]
2011-08-16  6:49     ` Eli Zaretskii

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=83mxf9u3dn.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=thierry.volpiatto@gmail.com \
    /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).