unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: 10835@debbugs.gnu.org
Subject: bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode
Date: Fri, 17 Feb 2012 13:41:37 +0800	[thread overview]
Message-ID: <87mx8idnji.fsf@gnu.org> (raw)

See thread discussion here:

http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00517.html

To recap:

1. emacs -Q
2. M-x shell RET
3. ls /usr/share/doc    (Prints about 2000 lines on my computer)
4. Repeat step 6-7 times (e.g. M-p RET)

The insertion of the shell output is significantly slower than in Emacs
23.  If you set `bidi-paragraph-direction' to `left-to-right', the
slowdown mostly disappears.

If you scroll the shell buffer, it is also more sluggish when
`bidi-paragraph-direction' is nil.

Another observation: if you save the *shell* buffer to a file and visit
the file in another Emacs instance, there is no sluggishness if the file
is opened in (say) text mode.  Maybe something in Shell mode is
interacting badly with the bidi code, but I don't know what.



In GNU Emacs 24.0.93.7 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.0)
 of 2012-02-15 on furball
Windowing system distributor `The X.Org Foundation', version 11.0.11004000
Configured using:
 `configure '--with-x-toolkit=gtk3' 'CFLAGS=-g''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: en_US.UTF-8
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Emacs-Lisp





             reply	other threads:[~2012-02-17  5:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-17  5:41 Chong Yidong [this message]
2012-02-17  5:48 ` bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode Chong Yidong
2012-02-17  8:21   ` Andreas Schwab
2012-02-17 13:42     ` Chong Yidong
2012-02-17 16:08   ` Eli Zaretskii
2012-02-17 17:39     ` Chong Yidong
2012-02-17 18:27       ` Eli Zaretskii
2012-02-18  2:28         ` Chong Yidong
2012-02-18  3:37           ` Chong Yidong
2012-02-18  8:49             ` Eli Zaretskii
2012-02-18 14:14               ` Eli Zaretskii
2012-02-19 14:07               ` Chong Yidong
2012-02-18  8:27           ` 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=87mx8idnji.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=10835@debbugs.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 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).