* bug#15541: 24.3; RTL in visual-line-mode
@ 2013-10-06 20:16 Boruch Baum
2013-10-07 2:49 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Boruch Baum @ 2013-10-06 20:16 UTC (permalink / raw)
To: 15541
[-- Attachment #1: Type: text/plain, Size: 2025 bytes --]
When using an RTL language in visual-line-mode + org-mode, a sec
ond dispalyed-line of typing for a paragraph appears ABOVE the prior
dispalyed-line. In other words, the rendering for paragraphs is in
reverse-line order. This does not affect paragraph sequence within a
document, only dispalyed-line sequence within a single paragraph.
------------------------------------------------------------
In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.4)
of 2013-09-26 on trouble, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11204000
System Description: Debian 7.0 GNU/Linux wheezy/testing
Configured using:
`configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu'
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var/lib' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp'
'--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes'
'--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars'
'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall'
'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2''
Important settings:
value of $LANG: en_US.utf8
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Org
Minor modes in effect:
savehist-mode: t
shell-dirtrack-mode: t
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
visual-line-mode: t
transient-mark-mode: t
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#15541: 24.3; RTL in visual-line-mode
2013-10-06 20:16 bug#15541: 24.3; RTL in visual-line-mode Boruch Baum
@ 2013-10-07 2:49 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2013-10-07 2:49 UTC (permalink / raw)
To: Boruch Baum; +Cc: control, 15541
tags 15541 wontfix
thanks
> Date: Sun, 06 Oct 2013 16:16:45 -0400
> From: Boruch Baum <boruch_baum@gmx.com>
>
> When using an RTL language in visual-line-mode + org-mode, a sec
> ond dispalyed-line of typing for a paragraph appears ABOVE the prior
> dispalyed-line. In other words, the rendering for paragraphs is in
> reverse-line order. This does not affect paragraph sequence within a
> document, only dispalyed-line sequence within a single paragraph.
This is by design, and can only be fixed by a radical change in the
Emacs display engine and how the bidirectional text is rendered by it
(the reordering needs to be done _after_ a line of text is rendered
for display).
As a workaround, either use hard newlines, to make your lines shorter
than the window width, or set bidi-paragraph-direction in that buffer
to right-to-left (or nil, if some of the paragraphs in that Org buffer
use a predominantly LTR script).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-07 2:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-06 20:16 bug#15541: 24.3; RTL in visual-line-mode Boruch Baum
2013-10-07 2:49 ` Eli Zaretskii
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).