From: Uwe Brauer <oub@mat.ucm.es>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Uwe Brauer <oub@mat.ucm.es>, emacs-devel@gnu.org
Subject: Re: BIDI, LaTeX (auctex) and the «evil» backslash
Date: Sat, 21 May 2016 20:20:27 +0000 [thread overview]
Message-ID: <87twhr2mes.fsf@mat.ucm.es> (raw)
In-Reply-To: 83futb6z0m.fsf@gnu.org
> No, the tables are global (they are quite large).
> You want put-char-code-property, I think. (Never tried this myself.)
I played a bit around with that
(put-char-code-property ?\\ 'bidi-class 'L)
(I am not sure whether to use L or LRO.)
That works as expected, that is in latex buffer the backslash behaves
now as I expect him to behave.
Hm I could write a small hack to change back and forward between 'L and
'ON...
> Did you try setting visual-order-cursor-movement non-nil? Maybe
> that's all you need to solve your problems?
I have set this always to t[1]. But my problem with writing Hebrew when
bidi-paragraph-direction is set to left, is:
- first the cursor sits fixed and spits the hebrew chars, which I
find counter intuitive
- worse: beginning-of-line and end-of-line are confusing in this
setting
Anyhow thanks for the hint
with (put-char-code-property ?\\ 'bidi-class 'L)
Footnotes:
[1] in fact, if memory serves me well it was me who nagged so much that
you finally implemented visual-order-cursor-movement :-D
prev parent reply other threads:[~2016-05-21 20:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-21 13:55 BIDI, LaTeX (auctex) and the «evil» backslash Uwe Brauer
2016-05-21 17:34 ` Eli Zaretskii
2016-05-21 17:37 ` Eli Zaretskii
2016-05-21 17:44 ` Uwe Brauer
2016-05-21 18:34 ` Eli Zaretskii
2016-05-21 20:20 ` Uwe Brauer [this message]
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=87twhr2mes.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=eliz@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).