unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Setting bidi-paragraph-direction in comint modes
@ 2012-02-14  6:35 Chong Yidong
  2012-02-14 17:52 ` Stefan Monnier
  2012-02-14 17:55 ` Eli Zaretskii
  0 siblings, 2 replies; 10+ messages in thread
From: Chong Yidong @ 2012-02-14  6:35 UTC (permalink / raw)
  To: emacs-devel

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.



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

end of thread, other threads:[~2012-02-17  5:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-14  6:35 Setting bidi-paragraph-direction in comint modes Chong Yidong
2012-02-14 17:52 ` 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

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).