emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: some progress


From: Eli Zaretskii
Subject: Re: some progress
Date: Fri, 21 Jun 2013 18:05:37 +0300

> From: Uwe Brauer <address@hidden>
> Cc: address@hidden
> Date: Fri, 21 Jun 2013 16:53:02 +0200
> 
>    > You need more/better fonts.
> 
> Any recommentations?

Not for Ubuntu.  I hope someone who uses that could tell you more.

>    >> That is why I use the input via KDE and that is why I need to turn on
>    >> R2L manually.
> 
>    > ??? I don't understand: as long as Emacs gets the correct characters,
>    > no matter how they were created, everything else, including paragraph
>    > direction, should "just work".
> 
> 
> Ok, the issue is with say C-c that will give C-hebrew-char with the KDE
> hebrew keyboard.

That's true, but unrelated to the directionality issue, see below.

> If I start to write hebrew the way you described it via the input
> method, then the cursor is at the left part of the buffer and does not
> move while the hebrew letters are written. 

I don't get the scenario, please describe what you do starting from
"emacs -Q".

> However when I use the functions I described earlier 
> (defun my-turn-bidi-on ()
>   "Just start with  to R2L."
>   (interactive)
>   (setq  bidi-paragraph-direction 'right-to-left)
>   (message "R2L on!"))
> 
> Then the cursor jumps to the right and behaves in a visual way as I
> expect it to behave.

In a buffer other than *scratch*, whenever the first character you
type is a Hebrew character, the cursor will automatically jump top the
right margin of the window.  (*scratch* and every other buffer
suitable for typing programs has its bidi-paragraph-direction set to
left-to-right by default.)

> As a matter of fact this is the way I would like to write hebrew and not
> via the input method.

Input method has nothing to do with paragraph direction, only with how
characters are inserted.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]