From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Salman Mohammadi Newsgroups: gmane.emacs.bugs Subject: bug#23652: 25.1.50; wrong alignment in complex text layout (CTL) in eshell Date: Mon, 30 May 2016 10:58:06 +0200 Message-ID: <574C009E.9010707@ubuntu.ir> References: <574B409E.2030205@ubuntu.ir> <83twhgwfxf.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1464598766 17923 80.91.229.3 (30 May 2016 08:59:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 May 2016 08:59:26 +0000 (UTC) Cc: 23652@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 30 10:59:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b7J2a-0007RG-0e for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 May 2016 10:59:16 +0200 Original-Received: from localhost ([::1]:58660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7J2Z-0004D0-Bu for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 May 2016 04:59:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7J2R-0004CS-Td for bug-gnu-emacs@gnu.org; Mon, 30 May 2016 04:59:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7J2M-0004qe-Lk for bug-gnu-emacs@gnu.org; Mon, 30 May 2016 04:59:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7J2M-0004q8-Hh for bug-gnu-emacs@gnu.org; Mon, 30 May 2016 04:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b7J2M-0005bc-6l for bug-gnu-emacs@gnu.org; Mon, 30 May 2016 04:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Salman Mohammadi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 May 2016 08:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23652-submit@debbugs.gnu.org id=B23652.146459869821493 (code B ref 23652); Mon, 30 May 2016 08:59:02 +0000 Original-Received: (at 23652) by debbugs.gnu.org; 30 May 2016 08:58:18 +0000 Original-Received: from localhost ([127.0.0.1]:46850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7J1e-0005aa-3H for submit@debbugs.gnu.org; Mon, 30 May 2016 04:58:18 -0400 Original-Received: from mail-wm0-f52.google.com ([74.125.82.52]:37966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7J1a-0005aM-El for 23652@debbugs.gnu.org; Mon, 30 May 2016 04:58:16 -0400 Original-Received: by mail-wm0-f52.google.com with SMTP id n129so62854165wmn.1 for <23652@debbugs.gnu.org>; Mon, 30 May 2016 01:58:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=6Gi0GN1GmlGKcO2gn2J+uSvTTo8DLK8MHnHlIujxv2I=; b=Rpu943PkhB11nnckWjSIgbWHZSBkz8sLwAQsXmAQ7PzyYQ/HGedFFKM5Xmkibj7fUR fMUQhTtM7uAYamySD+ssvi+lM14plbJxWOgBZTxkU/Z93FQho5vxPOzY9V5zU0rZ0rGN MofYQ7cJvw92tA49oGjzOqqRu15t29MnBrJxgGaytTwwfiubIImgyTq7QB6ItcQJMqS6 +lJozeQA2CR8Zx1O0FmBoD+raRtVl9QTrhuRgV+TBP2aIQ7qHrrKn5v5sCm6txa2moWD TSDCK7rMMDJ7Qsuqbg48u+wpBJYEYKHrQFg1K9qYzR89J7AWZQUcGCY3xREuiraod2em IKyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=6Gi0GN1GmlGKcO2gn2J+uSvTTo8DLK8MHnHlIujxv2I=; b=FSwZpArbpR/e1t7JL4FfSTogHbWy4v+kH8Ih9gxD+gfAUmzRGvM8BCsflvRKw9amgm pGHIuTVzcRLb8SgTdZLFZP4sQxdRRM6VI9YDBMj5ulUiZPHaC9icAHV9HgHS2KH1dIcq Kn0UIIg4C5IDqi2SvQheuwt7U9kImOhrx5tQPuF7yvC2OkyWcid1lloi9qlb9bZBP9s9 3+opHOH2E/bFkP6Qb4q16NLbjCeg4mI5hNWNrp6hCRQ0KHP1e++dMJDWRH7OGrJ3JV5K FIII389Tyzvu0XW75F5Lt2tI/qmOjWHGrQGfNHXeDnJz8+PiKaVrlUXXYJ1pWwn3kbzQ hhvw== X-Gm-Message-State: ALyK8tKNNjcwqkQ2oklxLCjSk8nxiEqIiu89G/I4r2ILP131ll4o7dKm2OC/gx24KnubTw== X-Received: by 10.28.54.20 with SMTP id d20mr10524752wma.12.1464598688572; Mon, 30 May 2016 01:58:08 -0700 (PDT) Original-Received: from ?IPv6:2a02:908:f838:6f80:6267:20ff:fe4f:eb8a? ([2a02:908:f838:6f80:6267:20ff:fe4f:eb8a]) by smtp.gmail.com with ESMTPSA id az2sm33334592wjc.6.2016.05.30.01.58.07 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 May 2016 01:58:07 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 In-Reply-To: <83twhgwfxf.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:118855 Archived-At: Yeah, it will work finely if we set that variable. https://i.imgur.com/LE0uzaZ.png On 05/30/2016 02:25 AM, Eli Zaretskii wrote: >> From: Salman Mohammadi >> Date: Sun, 29 May 2016 21:18:54 +0200 >> >> >> If the command at the first line in eshell starts with a Latin word the >> alignment of >> all following lines are LTR and it is OK. But if the first command is >> RTL (for instance Persian script) all the proceeding lines are RTL >> without considering where the following commands are RTL or LTR. >> >> Here are some screenshots: >> >> https://i.imgur.com/ravHXi3.png >> https://i.imgur.com/bsnpGVD.png > Does it help to set bidi-paragraph-direction to the value > 'left-to-right in the Eshell buffer? If this gives good results, we > can do that by default as part of Eshell initialization. > > Thanks.