From: Eli Zaretskii <eliz@gnu.org>
To: Bruno Tavernier <tavernier.bruno@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Slow/poor responsiveness in org files
Date: Wed, 14 Sep 2011 22:55:03 +0300 [thread overview]
Message-ID: <83aaa6x5k8.fsf@gnu.org> (raw)
In-Reply-To: <87d3f357hw.fsf@gmail.com>
> From: Bruno Tavernier <tavernier.bruno@gmail.com>
> Cc: emacs-devel@gnu.org
> Date: Wed, 14 Sep 2011 20:00:43 +0200
>
> What I notice however, is that if I unfold all the headlines displayed
> on the screen, the navigation is perfectly normal.
>
> The cursor movement only stutter when the headlines are folded (whatever
> the headline level).
That is hardly surprising, if you consider what Emacs needs to do when
large portions of the buffer are not shown: it needs to find the next
visible line by scanning all the invisible ones in between. So the
more text is folded, the slower will be the display.
> Finally, I tried `outline-next-visible-heading' and it turns out to works like a charm.
Because it doesn't try to preserve the column and support continued
lines the way next-line and previous-line do. It simply goes to the
next heading by regexp, then checks if that heading is visible, and if
not continues to the next one.
next prev parent reply other threads:[~2011-09-14 19:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-18 5:56 Slow/poor responsiveness in org files Tim Cross
2011-08-18 7:49 ` Bastien
2011-08-18 11:53 ` Antoine Levitt
2011-08-19 23:42 ` Tim Cross
2011-08-20 0:23 ` Bastien
2011-08-20 0:53 ` Tim Cross
2011-08-22 0:52 ` Tim Cross
2011-08-22 5:55 ` Eli Zaretskii
2011-08-22 6:42 ` Tim Cross
2011-08-22 7:03 ` Eli Zaretskii
2011-09-13 0:22 ` Mathieu Boespflug
2011-09-13 2:59 ` Eli Zaretskii
2011-09-13 4:36 ` Mathieu Boespflug
2011-09-13 5:51 ` Eli Zaretskii
2011-09-14 15:34 ` Paragraph direction in Org Mode (was: Slow/poor responsiveness in org files) Eli Zaretskii
2011-09-20 15:02 ` Eli Zaretskii
2011-09-13 16:55 ` Slow/poor responsiveness in org files Bruno Tavernier
2011-09-14 15:37 ` Eli Zaretskii
2011-09-14 18:00 ` Bruno Tavernier
2011-09-14 19:55 ` Eli Zaretskii [this message]
2011-09-13 20:42 ` Claus Klingberg
2011-09-14 3:01 ` Eli Zaretskii
2011-09-13 3:20 ` Torsten Wagner
2011-09-13 4:52 ` Tim Cross
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=83aaa6x5k8.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=tavernier.bruno@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).