emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samim Pezeshki <psamim@gmail.com>
To: Fr Ml <fr_ml@t-online.de>, emacs-orgmode@gnu.org
Subject: Re: New bidi problems with org-mode (Arabic, Hebrew,..)
Date: Sat, 7 Nov 2020 15:34:49 -0500	[thread overview]
Message-ID: <CAJAdVc2AKxOiupDx5xRWi9=6cqTwy0c-a6ogQNohRpcRkFSBjA@mail.gmail.com> (raw)
In-Reply-To: <00134ef6-a66a-ea1b-1531-f010c147cee9@t-online.de>

[-- Attachment #1: Type: text/plain, Size: 3351 bytes --]

The attached screenshot is how I see the file you sent on my screen
using emacs -q
I see no problem in it. Please correct me if I am wrong.

Emacs 27.1
Archlinux

Regards,
Samim

Excerpts from Fr Ml's message of November 7, 2020 10:03 pm:
> Hi Samim,
>
> thanks for your answer.
>
> I tested it again with the -q option: Still have the problem (of course if I
> have in the first line: -*- bidi-paragraph-direction: nil; truncate-lines: nil;
> -*-)
>
> - It happens only at line breaks. I think always if a word is divided. But also
> in some other cases (the new line doesn't start with space). I don't think it
> depends of the length: If I enlarge the text size it changes.
>
> - Yes, it happens on all levels. And it happens also bei the underscore '_'
> (part3).
>
> As I noticed in the additional edit: It happens also on windows.
>
> Regards,
> Frank
>
> P.S. I've attached the org file too with some pictures of it.
>
>
> On 11/6/20 6:22 PM, Samim Pezeshki wrote:
>
>     Hi,
>
>     I have no problem. I could not reproduce the issue. I tried Persian
>     language only.
>     Can the problem be of your theme? Have you tried other themes?
>     Please also try reproducing this with emacs -q (load Emacs with no
>     configuration).
>     Does this happen when the line exceeds a certain number of characters?
>     Does this happen on all org heading levels?
>
>     Regards,
>     Samim
>
>     Excerpts from Fr Ml's message of November 3, 2020 8:01 pm:
>
>         https://emacs.stackexchange.com/questions/61494/
>         new-bidi-problems-with-org-mode-arabic-hebrew
>
>         Hallo,
>
>         Some time ago (maybe 3 months) I've noticed some problems with the bidi support
>         (right-to-left languages) in org-mode.
>
>         One problem I can't reproduce: The characters have then a strange form but If I
>         change the text scale (larger or smaller) it becomes normal.
>
>         The second problem I can reproduce, you can see it in the two images:
>
>         In this image: I have the option `bidi-paragraph-direction: nil`, to get the
>         right direction for  Hebrew and Arabic. As you see the headline color isn't
>         consistently brown. The English text don't have this problem.
>
>         [![The color of the headline changes, gets black. The direction is right to
>         left][1]][1]
>
>         In this image without the option: Everything is ok:
>         [![Here it's ok, the direction is left to right][2]][2]
>
>         In both examples my init file is empty. And I've tried many fonts. My org
>         version is 9.3 and emacs version is 27.1.
>
>         Actually, the first problem is bigger for me but I can't reproduce it; I think
>         that both problems appeared a the same time. So maybe solving the second will
>         solve the first one too(?)
>
>         EDIT: I can reproduce the problem with the colors also on a Windows machine
>         with latest version: emacs 27.1 and the included org 9.3. With the older
>         version: emacs 26.3 and the included org-version 9.1.7 I don't have the problem
>         - at least I didn't see it.
>
>           [1]: https://i.stack.imgur.com/NVUMY.png
>           [2]: https://i.stack.imgur.com/emHDx.png
>
>
>
>
>
>
>

[-- Attachment #2: bla.org --]
[-- Type: text/plain, Size: 1542 bytes --]

-*- bidi-paragraph-direction: nil; truncate-lines: nil; -*-

* سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام 
** שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום 
*** سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام 
**** שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום 
***** سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام 
****** שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום 


_سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام_
_שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום שלום_ 


[-- Attachment #3: blah.png --]
[-- Type: image/png, Size: 42919 bytes --]

[-- Attachment #4: Type: application/pgp-signature, Size: 488 bytes --]

      parent reply	other threads:[~2020-11-07 20:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-03 16:31 New bidi problems with org-mode (Arabic, Hebrew,..) Fr Ml
2020-11-06 17:22 ` Samim Pezeshki
     [not found]   ` <00134ef6-a66a-ea1b-1531-f010c147cee9@t-online.de>
2020-11-07 20:34     ` Samim Pezeshki [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJAdVc2AKxOiupDx5xRWi9=6cqTwy0c-a6ogQNohRpcRkFSBjA@mail.gmail.com' \
    --to=psamim@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fr_ml@t-online.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).