GNU bug report logs - #10835
24.0.93; bidi-paragraph-direction slows down Shell mode

Previous Next

Package: emacs;

Reported by: Chong Yidong <cyd <at> gnu.org>

Date: Fri, 17 Feb 2012 05:44:02 UTC

Severity: normal

Found in version 24.0.93

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 10835 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: cyd <at> gnu.org
Cc: 10835 <at> debbugs.gnu.org
Subject: Re: bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode
Date: Sat, 18 Feb 2012 16:14:21 +0200
> Date: Sat, 18 Feb 2012 10:49:19 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 10835 <at> debbugs.gnu.org
> 
> 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?

Actually, it's probably better to go directly from the locale, since
locale-language-names doesn't really give the names of languages, it
gives the names of language environments, which can be totally
different.

I see only several locales that will need to dynamically determine
paragraph direction in comint buffers.  Those are locales matching the
following regular expressions:

  \`ar_.*
  \`fa_.*
  \`he_.*
  \`iw_.*
  \`ur_.*






This bug report was last modified 13 years and 152 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.