From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: org auto table formatting is confused by bidi text [8.2.3c (8.2.3c-elpa @ /home/crculver/.emacs.d/elpa/org-20131115/)] Date: Tue, 26 Nov 2013 06:17:00 +0100 Message-ID: <9EF45227-B9C2-4572-916C-FFF14656A032@gmail.com> References: <87y54mev3v.fsf@aura.christopherculver.com> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlB16-0003AP-GC for emacs-orgmode@gnu.org; Tue, 26 Nov 2013 00:17:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlB11-0002fp-9R for emacs-orgmode@gnu.org; Tue, 26 Nov 2013 00:16:56 -0500 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:52256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlB11-0002fg-2A for emacs-orgmode@gnu.org; Tue, 26 Nov 2013 00:16:51 -0500 Received: by mail-wi0-f171.google.com with SMTP id ca18so4637764wib.10 for ; Mon, 25 Nov 2013 21:16:49 -0800 (PST) In-Reply-To: <87y54mev3v.fsf@aura.christopherculver.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christopher Culver Cc: emacs-orgmode@gnu.org Hi Christopher, Org can handle variable width of characters in tables only if the width = is an integer multiple of ascii characters. I do not know if fonts = exist that behave like this in your case. However, for a plain text, = there is no other way to fix this. - Carsten On 17.11.2013, at 19:33, Christopher Culver = wrote: > I started creating the little table below (comparing a few words > across Central Asian languages): >=20 > | Tatar | Farsi | Arabic | Comment | | > |---------------------+--------+--------+---------+---| > | igtibar =E2=80=98attention=E2=80=99 | =D8=A7=D8=B9=D8=AA=D8=A8=D8=A7=D8= =B1 | | | | > | xormat =E2=80=98respect=E2=80=99 | =D8=AD=D8=B1=D9=85=D8=A9 | = =D8=AD=D8=B1=D9=85=D8=A9 | | | > | | | | | | >=20 > When I press "Tab" within the second row of the table body (the one > beginning with "xormat"), the table is not automatically aligned as it > should be: note that the | divider in that row refuses to move to the > right so that it is below the | divider of the first row. It appears > that the Arabic text confuses org-mode or whatever Emacs function it > relies on here. >=20 > Emacs : GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.4) > of 2013-09-27 on trouble, modified by Debian > Package: Org-mode version 8.2.3c (8.2.3c-elpa @ = /home/crculver/.emacs.d/elpa/org-20131115/) >=20 > current state: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > (setq > org-tab-first-hook '(org-hide-block-toggle-maybe = org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe > org-babel-header-arg-expand) > org-speed-command-hook '(org-speed-command-default-hook = org-babel-speed-command-hook) > org-occur-hook '(org-first-headline-recenter) > org-metaup-hook '(org-babel-load-in-session-maybe) > org-log-done t > org-confirm-shell-link-function 'yes-or-no-p > org-agenda-include-diary t > org-after-todo-state-change-hook '(org-clock-out-if-current) > org-src-mode-hook '(org-src-babel-configure-edit-buffer = org-src-mode-configure-edit-buffer) > org-agenda-before-write-hook '(org-agenda-add-entry-text) > org-babel-pre-tangle-hook '(save-buffer) > org-mode-hook '(#[nil "\300\301\302\303\304$\207" > [org-add-hook change-major-mode-hook = org-show-block-all append local] 5] > #[nil "\300\301\302\303\304$\207" > [org-add-hook change-major-mode-hook = org-babel-show-result-all append local] 5] > org-babel-result-hide-spec org-babel-hide-all-hashes) > org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point = org-babel-execute-safely-maybe) > org-cycle-hook '(org-cycle-hide-archived-subtrees = org-cycle-hide-drawers org-cycle-hide-inline-tasks > org-cycle-show-empty-lines = org-optimize-window-after-visibility-change) > org-modules '(org-bbdb org-bibtex org-crypt) > org-confirm-elisp-link-function 'yes-or-no-p > org-metadown-hook '(org-babel-pop-to-session-maybe) > org-completion-use-ido t > org-reveal-start-hook '(org-decrypt-entry) > org-clock-out-hook '(org-clock-remove-empty-clock-drawer) > ) >=20 >=20