From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9571: 24.0.50; user option to turn off bidi, please Date: Sat, 24 Sep 2011 22:15:47 +0300 Message-ID: <83pqipoios.fsf@gnu.org> References: <8362kjsjsk.fsf@gnu.org> <83ty83qq3e.fsf@gnu.org> <83ehz7qbts.fsf@gnu.org> <834o02t4tg.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1316891801 16744 80.91.229.12 (24 Sep 2011 19:16:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Sep 2011 19:16:41 +0000 (UTC) Cc: 9571@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 24 21:16:37 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R7XiE-0002cZ-MS for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Sep 2011 21:16:34 +0200 Original-Received: from localhost ([::1]:52755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7XiE-0004Ns-4k for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Sep 2011 15:16:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7XiA-0004NR-JU for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 15:16:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7Xi9-0003RF-CU for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 15:16:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7Xi9-0003RB-AU for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 15:16:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R7Xig-0000jG-5t for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 15:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Sep 2011 19:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9571 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 9571-submit@debbugs.gnu.org id=B9571.13168918002770 (code B ref 9571); Sat, 24 Sep 2011 19:17:02 +0000 Original-Received: (at 9571) by debbugs.gnu.org; 24 Sep 2011 19:16:40 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7XiK-0000ic-7n for submit@debbugs.gnu.org; Sat, 24 Sep 2011 15:16:40 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7XiG-0000iQ-Vw for 9571@debbugs.gnu.org; Sat, 24 Sep 2011 15:16:38 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LS100900K50XK00@a-mtaout20.012.net.il> for 9571@debbugs.gnu.org; Sat, 24 Sep 2011 22:15:49 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.8.215]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LS1009O0K6BT330@a-mtaout20.012.net.il>; Sat, 24 Sep 2011 22:15:48 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 24 Sep 2011 15:17:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51796 Archived-At: > Date: Sat, 24 Sep 2011 13:30:41 -0400 > From: Richard Stallman > CC: drew.adams@oracle.com, 9571@debbugs.gnu.org > > > Ok, my proposed patch won't do the job. But wouldn't a slightly more > complicated patch in the same place do the job? It could be done, but why hard-code in C what can be done in Lisp? The advantage would be that more people will understand the code and changing it does not require rebuilding Emacs. > The method of replacing the unicode property table seems to have > several drawbacks: > > 1. Creating the modified table is more work. I don't understand why: we have map-char-table to do that easily and elegantly. > 2. It is a big data structure, so having another one would be a waste. I don't think modifying entries in a char-table creates a new one. It just modifies entries in the existing one. Perhaps Handa-san could comment on that. > 3. It feels wrong to alter the information describing the characters. > This is a matter of choosing a different way to display some characters, > not a matter of redefining what they mean. The information I propose to change is used only for reordering characters into visual order. I'm talking about the Bidi_class attribute of the characters. No other attribute needs to be changed. And the change will be temporary; toggling the feature off will restore the original types.