From: Eli Zaretskii <eliz@gnu.org>
To: bzg@gnu.org, emacs-devel@gnu.org
Subject: Re: Paragraph direction in Org Mode (was: Slow/poor responsiveness in org files)
Date: Tue, 20 Sep 2011 18:02:59 +0300 [thread overview]
Message-ID: <834o07tfx8.fsf@gnu.org> (raw)
In-Reply-To: <83k49bw32a.fsf@gnu.org>
Ping!
> Date: Wed, 14 Sep 2011 18:34:21 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
>
> > Date: Tue, 13 Sep 2011 01:51:41 -0400
> > From: Eli Zaretskii <eliz@gnu.org>
> > Cc: emacs-devel@gnu.org
> >
> > > Date: Tue, 13 Sep 2011 00:36:25 -0400
> > > From: Mathieu Boespflug <mboes@tweag.net>
> > > Cc: emacs-devel@gnu.org
> > >
> > > > I will propose to Org mode developers a change to set
> > > > bidi-paragraph-direction automatically on all Org buffers.
> > >
> > > Ok. Thank you for looking into this. However, does this mean it won't be
> > > possible to have R2L text in Org buffers?
> >
> > No, it doesn't mean that. It just means the display will start at the
> > left window boundary, even if the item includes R2L text. To
> > illustrate, you will see
> >
> > * foo
> > * bar
> > * OOF
> > * RAB
> >
> > (where "OOF" and "RAB" are R2L text typed as "FOO" and "BAR",
> > reordered into correct visual order), rather than
> >
> > * foo
> > * bar
> > OOF *
> > RAB *
> >
> > with the default (nil) setting of bidi-paragraph-direction. I think
> > the latter is ugly anyway.
>
> Bastien,
>
> As followup to this thread (and other similar discussions in the
> past), I propose the change below to org.el.
>
> Let me know if you want me to commit this to the Emacs trunk or wait
> for your next merge.
>
> Thanks.
>
>
> === modified file 'lisp/org/org.el'
> --- lisp/org/org.el 2011-09-02 16:38:40 +0000
> +++ lisp/org/org.el 2011-09-14 15:30:49 +0000
> @@ -4748,6 +4748,7 @@ The following commands are available:
> (org-set-local 'line-move-ignore-invisible t))
> (org-set-local 'outline-regexp org-outline-regexp)
> (org-set-local 'outline-level 'org-outline-level)
> + (setq bidi-paragraph-direction 'left-to-right)
> (when (and org-ellipsis
> (fboundp 'set-display-table-slot) (boundp 'buffer-display-table)
> (fboundp 'make-glyph-code))
>
>
>
next prev parent reply other threads:[~2011-09-20 15:02 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-18 5:56 Slow/poor responsiveness in org files Tim Cross
2011-08-18 7:49 ` Bastien
2011-08-18 11:53 ` Antoine Levitt
2011-08-19 23:42 ` Tim Cross
2011-08-20 0:23 ` Bastien
2011-08-20 0:53 ` Tim Cross
2011-08-22 0:52 ` Tim Cross
2011-08-22 5:55 ` Eli Zaretskii
2011-08-22 6:42 ` Tim Cross
2011-08-22 7:03 ` Eli Zaretskii
2011-09-13 0:22 ` Mathieu Boespflug
2011-09-13 2:59 ` Eli Zaretskii
2011-09-13 4:36 ` Mathieu Boespflug
2011-09-13 5:51 ` Eli Zaretskii
2011-09-14 15:34 ` Paragraph direction in Org Mode (was: Slow/poor responsiveness in org files) Eli Zaretskii
2011-09-20 15:02 ` Eli Zaretskii [this message]
2011-09-13 16:55 ` Slow/poor responsiveness in org files Bruno Tavernier
2011-09-14 15:37 ` Eli Zaretskii
2011-09-14 18:00 ` Bruno Tavernier
2011-09-14 19:55 ` Eli Zaretskii
2011-09-13 20:42 ` Claus Klingberg
2011-09-14 3:01 ` Eli Zaretskii
2011-09-13 3:20 ` Torsten Wagner
2011-09-13 4:52 ` Tim Cross
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=834o07tfx8.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=bzg@gnu.org \
--cc=emacs-devel@gnu.org \
/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).