emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BIDI, LaTeX (auctex) and the «evil» backslash


From: Uwe Brauer
Subject: Re: BIDI, LaTeX (auctex) and the «evil» backslash
Date: Sat, 21 May 2016 20:20:27 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)


   > 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]