unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-devel@gnu.org
Subject: Re: some progress (was: bidi support? (Hebrew))
Date: Fri, 21 Jun 2013 16:50:57 +0300	[thread overview]
Message-ID: <83sj0bmv26.fsf@gnu.org> (raw)
In-Reply-To: <87ip17h9uy.fsf@gilgamesch.quim.ucm.es>

> From: Uwe Brauer <oub@mat.ucm.es>
> Date: Fri, 21 Jun 2013 15:27:49 +0200
> 
> 
> Well the http://www.emacswiki.org/emacs/DisplayEngineForBiDi

It's awfully outdated.  Bidirectional editing in Emacs is no longer
"work in progress", since the release of Emacs 24.1.

> I am missing interactive function turning bidi on and off.

There isn't any.  Why would you need one?

> BTW where and how can I use bigger fonts for hebrew? (I am using  Laptop
> with a 12 inch screen and the one emacs uses per default are small)

Does it help to type "C-x C-+"?

> (setq-default bidi-display-reordering t)

That is already so by default.

> (defun my-turn-bidi-on ()
>   "Just start with  to R2L."
>   (interactive)
>   (setq  bidi-paragraph-direction 'right-to-left)
>   (message "R2L on!"))

No need, Emacs determines the correct base direction of each paragraph
automatically, using the method described in the UAX#9.

And paragraph direction has very little to do with display of
bidirectional text per se.  The latter works no matter what is the
paragraph's base direction.  If it didn't, you'd be unable to have R2L
text in a middle of an otherwise L2R paragraph.

> (defun my-turn-bidi-off ()
>   "Just start with  to L2R."
> (interactive)
>   (setq  bidi-paragraph-direction 'left-to-right)
>   (message "R2L off!"))

Likewise, not needed.



  reply	other threads:[~2013-06-21 13:50 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 [this message]
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
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=83sj0bmv26.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).