From: Chong Yidong <cyd@gnu.org>
To: emacs-devel@gnu.org
Subject: Setting bidi-paragraph-direction in comint modes
Date: Tue, 14 Feb 2012 14:35:52 +0800 [thread overview]
Message-ID: <87vcn9zzuf.fsf@gnu.org> (raw)
Any objections to setting bidi-paragraph-direction to `left-to-right' in
Comint and derived modes? The bidi code appears to lead to a
performance regression. You can observe this with
1. emacs -Q
2. M-x shell RET
3. ls /usr/share/doc (Prints about 2000 lines on my computer)
4. Repeat step 3 many times.
As the buffer gets to about 8000 lines, redisplay slows to a crawl.
Setting bidi-paragraph-direction to `left-to-right' fixes this (mostly;
it's still a touch slower than in Emacs 23). AFAICT, bidi paragraphs
don't make sense in Comint-like modes anyway.
next reply other threads:[~2012-02-14 6:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-14 6:35 Chong Yidong [this message]
2012-02-14 17:52 ` Setting bidi-paragraph-direction in comint modes Stefan Monnier
2012-02-14 17:55 ` Eli Zaretskii
2012-02-15 0:49 ` Chong Yidong
2012-02-15 4:01 ` Eli Zaretskii
2012-02-15 6:24 ` Chong Yidong
2012-02-15 17:01 ` Eli Zaretskii
2012-02-17 5:44 ` Chong Yidong
2012-02-15 17:46 ` Johan Bockgård
2012-02-15 18:33 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vcn9zzuf.fsf@gnu.org \
--to=cyd@gnu.org \
--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.