From unknown Mon Jun 23 13:11:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23652: 25.1.50; wrong alignment in complex text layout (CTL) in eshell Resent-From: Salman Mohammadi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 May 2016 23:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23652@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.146456275225925 (code B ref -1); Sun, 29 May 2016 23:00:03 +0000 Received: (at submit) by debbugs.gnu.org; 29 May 2016 22:59:12 +0000 Received: from localhost ([127.0.0.1]:46703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b79fr-0006k0-R3 for submit@debbugs.gnu.org; Sun, 29 May 2016 18:59:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b76Ev-0001Xw-Bx for submit@debbugs.gnu.org; Sun, 29 May 2016 15:19:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b76Eo-0004Ad-O8 for submit@debbugs.gnu.org; Sun, 29 May 2016 15:19:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b76Eo-0004AY-Kd for submit@debbugs.gnu.org; Sun, 29 May 2016 15:19:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b76El-0006Vj-MA for bug-gnu-emacs@gnu.org; Sun, 29 May 2016 15:19:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b76Ek-0004AI-61 for bug-gnu-emacs@gnu.org; Sun, 29 May 2016 15:18:59 -0400 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:35830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b76Ej-0004A8-Rf for bug-gnu-emacs@gnu.org; Sun, 29 May 2016 15:18:58 -0400 Received: by mail-wm0-x22c.google.com with SMTP id a136so58536836wme.0 for ; Sun, 29 May 2016 12:18:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:to:subject:from:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=A51CXQ6AmdmrhXf5b/uUs0iJ63Dt9pPcHgD1h29pE1A=; b=fW9O8fi3vSqZunho9kb1KqfF5b+MtWQ86T/DTahWQaDDtjjnccrD3+HAmDM8T+Rzdr /BEKehUxYUbA3X+HgbZ+bFFR18LJnOKofGjNVzlPDhiOqpbcz/oqbd3bPnV9oCmeVwYO hCjLZg+E47fLuUWYQHR+VzVXXf65m74Oq+HJNv8EytVMNMmlF79qgYRcXMZFx268FB9F ZwWGmQVHmHuG6yKW5NflMWBeM2bYl9F2jZw5JQLeTgx5Ve+mQ4alNJWoU2uZ2Y8Au1eG LsuhXzgihO9qXRW8ahFwce+dencBuNYMqSamQIX97qkXn2BUD8kJDDRdaeMn5agdA8af Wq4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:to:subject:from:message-id:date :user-agent:mime-version:content-transfer-encoding; bh=A51CXQ6AmdmrhXf5b/uUs0iJ63Dt9pPcHgD1h29pE1A=; b=cEZrHCq2psIGdrWFaI1YAy7twac7/D10E8Ptm9PM729vKRTbEPRq/j8s5F7POfsXph msTKazIstSEnPeQ+kP5RUG8QWeHXgApnr6u5oF8BxofC4DKxvaP6dHgfJHANeOTyOgpf nzUvTAF4gummk0sm/1gQMA9HyFS/JHre35/WC+4AJSm5lcpzgUOAGtGLhnAXkZrd2i/g dRKxyfrpZRQYO8TywSkqLczpqf361rOrxJFl9RuZHwhFUL+vWinlJCqJIZv2nMmaGLW6 vj5CyaNa7HoUvnX6U1/xdesz17zUPxaMFIwLisXlGfpXmepAb4hVgOHr7uSFhjOGCXhK c/RA== X-Gm-Message-State: ALyK8tKeu8/qJ3sQL7WPQyJfujfmDjTae8uj+LsoGbmILTmMFihAdH8XUcvyRPgcwnP81w== X-Received: by 10.28.111.215 with SMTP id c84mr7769625wmi.95.1464549536656; Sun, 29 May 2016 12:18:56 -0700 (PDT) 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 xz3sm14839999wjb.35.2016.05.29.12.18.55 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 May 2016 12:18:55 -0700 (PDT) From: Salman Mohammadi Message-ID: <574B409E.2030205@ubuntu.ir> Date: Sun, 29 May 2016 21:18:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Mailman-Approved-At: Sun, 29 May 2016 18:59:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) 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 In GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5) of 2016-05-29 built on debian Repository revision: b90e8904092eb7aa5b4cb3ede822d10422b70976 Windowing system distributor 'The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.4 (jessie) Recent messages: Loading cua-base...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... funcall-interactively: End of buffer [2 times] Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: erc-services-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t delete-selection-mode: t cua-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message puny seq dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils wilson-theme server erc-services erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete comint ansi-color ring erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat format-spec auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra help-mode easymenu cconv eieio-core cl-macs gv eieio-loaddefs password-cache thingatpt pp edmacro kmacro cl-loaddefs pcase cl-lib delsel cua-base cus-start cus-load time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 133581 12522) (symbols 48 25362 0) (miscs 40 47 123) (strings 32 29442 4255) (string-bytes 1 886594) (vectors 16 17873) (vector-slots 8 501955 2437) (floats 8 236 183) (intervals 56 242 0) (buffers 976 12) (heap 1024 44982 1659)) From unknown Mon Jun 23 13:11:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23652: 25.1.50; wrong alignment in complex text layout (CTL) in eshell Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 May 2016 00:25:01 +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: To: Salman Mohammadi Cc: 23652@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 23652-submit@debbugs.gnu.org id=B23652.14645678951614 (code B ref 23652); Mon, 30 May 2016 00:25:01 +0000 Received: (at 23652) by debbugs.gnu.org; 30 May 2016 00:24:55 +0000 Received: from localhost ([127.0.0.1]:46724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7B0p-0000Px-Ad for submit@debbugs.gnu.org; Sun, 29 May 2016 20:24:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7B0n-0000Pl-M0 for 23652@debbugs.gnu.org; Sun, 29 May 2016 20:24:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7B0f-0007EA-H3 for 23652@debbugs.gnu.org; Sun, 29 May 2016 20:24:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7B0f-0007E6-Dn; Sun, 29 May 2016 20:24:45 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3674 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b7B0e-0006sK-KU; Sun, 29 May 2016 20:24:45 -0400 Date: Mon, 30 May 2016 03:25:00 +0300 Message-Id: <83twhgwfxf.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <574B409E.2030205@ubuntu.ir> (message from Salman Mohammadi on Sun, 29 May 2016 21:18:54 +0200) References: <574B409E.2030205@ubuntu.ir> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > 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. From unknown Mon Jun 23 13:11:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23652: 25.1.50; wrong alignment in complex text layout (CTL) in eshell 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: To: Eli Zaretskii Cc: 23652@debbugs.gnu.org Received: via spool by 23652-submit@debbugs.gnu.org id=B23652.146459869821493 (code B ref 23652); Mon, 30 May 2016 08:59:02 +0000 Received: (at 23652) by debbugs.gnu.org; 30 May 2016 08:58:18 +0000 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 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 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) 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) References: <574B409E.2030205@ubuntu.ir> <83twhgwfxf.fsf@gnu.org> From: Salman Mohammadi Message-ID: <574C009E.9010707@ubuntu.ir> Date: Mon, 30 May 2016 10:58:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 MIME-Version: 1.0 In-Reply-To: <83twhgwfxf.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) 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. From unknown Mon Jun 23 13:11:11 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Salman Mohammadi Subject: bug#23652: closed (Re: bug#23652: 25.1.50; wrong alignment in complex text layout (CTL) in eshell) Message-ID: References: <83mvn1ug5c.fsf@gnu.org> <574B409E.2030205@ubuntu.ir> X-Gnu-PR-Message: they-closed 23652 X-Gnu-PR-Package: emacs Reply-To: 23652@debbugs.gnu.org Date: Sat, 04 Jun 2016 15:29:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1465054142-22434-1" This is a multi-part message in MIME format... ------------=_1465054142-22434-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23652: 25.1.50; wrong alignment in complex text layout (CTL) in eshell which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23652@debbugs.gnu.org. --=20 23652: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23652 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1465054142-22434-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 23652-done) by debbugs.gnu.org; 4 Jun 2016 15:28:47 +0000 Received: from localhost ([127.0.0.1]:54502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9DVG-0005pQ-Ow for submit@debbugs.gnu.org; Sat, 04 Jun 2016 11:28:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9DVE-0005pD-DR for 23652-done@debbugs.gnu.org; Sat, 04 Jun 2016 11:28:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9DV5-0003tx-U9 for 23652-done@debbugs.gnu.org; Sat, 04 Jun 2016 11:28:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9DV5-0003tt-Qm; Sat, 04 Jun 2016 11:28:35 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2755 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b9DV4-0005Cx-0W; Sat, 04 Jun 2016 11:28:34 -0400 Date: Sat, 04 Jun 2016 18:29:03 +0300 Message-Id: <83mvn1ug5c.fsf@gnu.org> From: Eli Zaretskii To: Salman Mohammadi In-reply-to: <574C009E.9010707@ubuntu.ir> (message from Salman Mohammadi on Mon, 30 May 2016 10:58:06 +0200) Subject: Re: bug#23652: 25.1.50; wrong alignment in complex text layout (CTL) in eshell References: <574B409E.2030205@ubuntu.ir> <83twhgwfxf.fsf@gnu.org> <574C009E.9010707@ubuntu.ir> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 23652-done Cc: 23652-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > Cc: 23652@debbugs.gnu.org > From: Salman Mohammadi > Date: Mon, 30 May 2016 10:58:06 +0200 > > Yeah, it will work finely if we set that variable. > > https://i.imgur.com/LE0uzaZ.png Thanks, installed on the master branch. ------------=_1465054142-22434-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 May 2016 22:59:12 +0000 Received: from localhost ([127.0.0.1]:46703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b79fr-0006k0-R3 for submit@debbugs.gnu.org; Sun, 29 May 2016 18:59:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b76Ev-0001Xw-Bx for submit@debbugs.gnu.org; Sun, 29 May 2016 15:19:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b76Eo-0004Ad-O8 for submit@debbugs.gnu.org; Sun, 29 May 2016 15:19:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b76Eo-0004AY-Kd for submit@debbugs.gnu.org; Sun, 29 May 2016 15:19:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b76El-0006Vj-MA for bug-gnu-emacs@gnu.org; Sun, 29 May 2016 15:19:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b76Ek-0004AI-61 for bug-gnu-emacs@gnu.org; Sun, 29 May 2016 15:18:59 -0400 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:35830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b76Ej-0004A8-Rf for bug-gnu-emacs@gnu.org; Sun, 29 May 2016 15:18:58 -0400 Received: by mail-wm0-x22c.google.com with SMTP id a136so58536836wme.0 for ; Sun, 29 May 2016 12:18:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:to:subject:from:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=A51CXQ6AmdmrhXf5b/uUs0iJ63Dt9pPcHgD1h29pE1A=; b=fW9O8fi3vSqZunho9kb1KqfF5b+MtWQ86T/DTahWQaDDtjjnccrD3+HAmDM8T+Rzdr /BEKehUxYUbA3X+HgbZ+bFFR18LJnOKofGjNVzlPDhiOqpbcz/oqbd3bPnV9oCmeVwYO hCjLZg+E47fLuUWYQHR+VzVXXf65m74Oq+HJNv8EytVMNMmlF79qgYRcXMZFx268FB9F ZwWGmQVHmHuG6yKW5NflMWBeM2bYl9F2jZw5JQLeTgx5Ve+mQ4alNJWoU2uZ2Y8Au1eG LsuhXzgihO9qXRW8ahFwce+dencBuNYMqSamQIX97qkXn2BUD8kJDDRdaeMn5agdA8af Wq4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:to:subject:from:message-id:date :user-agent:mime-version:content-transfer-encoding; bh=A51CXQ6AmdmrhXf5b/uUs0iJ63Dt9pPcHgD1h29pE1A=; b=cEZrHCq2psIGdrWFaI1YAy7twac7/D10E8Ptm9PM729vKRTbEPRq/j8s5F7POfsXph msTKazIstSEnPeQ+kP5RUG8QWeHXgApnr6u5oF8BxofC4DKxvaP6dHgfJHANeOTyOgpf nzUvTAF4gummk0sm/1gQMA9HyFS/JHre35/WC+4AJSm5lcpzgUOAGtGLhnAXkZrd2i/g dRKxyfrpZRQYO8TywSkqLczpqf361rOrxJFl9RuZHwhFUL+vWinlJCqJIZv2nMmaGLW6 vj5CyaNa7HoUvnX6U1/xdesz17zUPxaMFIwLisXlGfpXmepAb4hVgOHr7uSFhjOGCXhK c/RA== X-Gm-Message-State: ALyK8tKeu8/qJ3sQL7WPQyJfujfmDjTae8uj+LsoGbmILTmMFihAdH8XUcvyRPgcwnP81w== X-Received: by 10.28.111.215 with SMTP id c84mr7769625wmi.95.1464549536656; Sun, 29 May 2016 12:18:56 -0700 (PDT) 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 xz3sm14839999wjb.35.2016.05.29.12.18.55 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 May 2016 12:18:55 -0700 (PDT) To: bug-gnu-emacs@gnu.org Subject: 25.1.50; wrong alignment in complex text layout (CTL) in eshell From: Salman Mohammadi Message-ID: <574B409E.2030205@ubuntu.ir> Date: Sun, 29 May 2016 21:18:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 29 May 2016 18:59:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) 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 In GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5) of 2016-05-29 built on debian Repository revision: b90e8904092eb7aa5b4cb3ede822d10422b70976 Windowing system distributor 'The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.4 (jessie) Recent messages: Loading cua-base...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... funcall-interactively: End of buffer [2 times] Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: erc-services-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t delete-selection-mode: t cua-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message puny seq dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils wilson-theme server erc-services erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete comint ansi-color ring erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat format-spec auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra help-mode easymenu cconv eieio-core cl-macs gv eieio-loaddefs password-cache thingatpt pp edmacro kmacro cl-loaddefs pcase cl-lib delsel cua-base cus-start cus-load time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 133581 12522) (symbols 48 25362 0) (miscs 40 47 123) (strings 32 29442 4255) (string-bytes 1 886594) (vectors 16 17873) (vector-slots 8 501955 2437) (floats 8 236 183) (intervals 56 242 0) (buffers 976 12) (heap 1024 44982 1659)) ------------=_1465054142-22434-1--