From: Eli Zaretskii <eliz@gnu.org>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-devel@gnu.org
Subject: Re: some progress
Date: Fri, 21 Jun 2013 18:05:37 +0300 [thread overview]
Message-ID: <83mwqjmrlq.fsf@gnu.org> (raw)
In-Reply-To: <87txkrfrch.fsf@gilgamesch.quim.ucm.es>
> From: Uwe Brauer <oub@mat.ucm.es>
> Cc: emacs-devel@gnu.org
> 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.
next prev parent reply other threads:[~2013-06-21 15:05 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-21 11:16 bidi support? (Hebrew) Uwe Brauer
2013-06-21 13:27 ` some progress (was: bidi support? (Hebrew)) Uwe Brauer
2013-06-21 13:50 ` Eli Zaretskii
2013-06-21 14:03 ` some progress Uwe Brauer
2013-06-21 14:35 ` Eli Zaretskii
2013-06-21 14:53 ` Uwe Brauer
2013-06-21 15:05 ` Eli Zaretskii [this message]
2013-06-21 16:04 ` Uwe Brauer
2013-06-21 18:09 ` Eli Zaretskii
2013-06-21 17:45 ` Uwe Brauer
2013-06-21 18:12 ` Eli Zaretskii
2013-06-21 15:02 ` Uwe Brauer
2013-06-21 16:42 ` Uwe Brauer
2013-06-21 18:10 ` Eli Zaretskii
2013-06-21 19:46 ` Uwe Brauer
2013-06-22 9:53 ` Eli Zaretskii
2013-06-22 16:25 ` Uwe Brauer
2013-06-22 17:09 ` a strict visual cursor in r2l and l2r buffers (was: some progress) Uwe Brauer
2013-06-22 22:17 ` Eli Zaretskii
2013-06-23 16:22 ` a strict visual cursor in r2l and l2r buffers Uwe Brauer
2013-06-23 16:47 ` Eli Zaretskii
2013-06-23 19:43 ` Uwe Brauer
2013-06-24 16:21 ` Eli Zaretskii
2013-06-29 13:50 ` Eli Zaretskii
2013-06-29 15:17 ` Stefan Monnier
2013-06-29 15:26 ` Eli Zaretskii
2013-06-29 16:10 ` Uwe Brauer
2013-06-29 17:01 ` Eli Zaretskii
2013-06-29 17:04 ` Uwe Brauer
2013-06-29 18:09 ` Eli Zaretskii
2013-06-29 19:33 ` Uwe Brauer
2013-06-29 19:38 ` Eli Zaretskii
2013-06-21 13:39 ` bidi support? (Hebrew) Eli Zaretskii
2013-06-21 15:01 ` Stefan Monnier
2013-06-21 16:09 ` Glenn Morris
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83mwqjmrlq.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=oub@mat.ucm.es \
/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.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).