bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode


From: Chong Yidong
Subject: bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode
Date: Sun, 19 Feb 2012 22:07:24 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> Yes, the overlays together with the long search for paragraph
> beginning probably push the user experience from slightly below the
> annoyance threshold to just above it.
> ...
> How about setting bidi-paragraph-direction in comint buffers to
> left-to-right when the locale indicates that use of bidirectional
> scripts is unlikely?  We could use locale-language-names and an
> additional small database of languages that need bidi, to make that
> decision.  WDYT?

I'm not keen on bolting on this additional complexity.

I don't see any better way out, so we might as well take the risk and
switch to using text properties for color escape highlighting.  I just
committed a patch to do that, limiting the change to Shell mode and
leaving the other users of ansi-color.el unaffected (and still using
overlays).

Thanks for helping with this bug.  Hopefully the fix won't turn up any
problems...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]