[Top][All Lists]

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

Re: Trojan Source detection/highlight in Emacs?

From: Anders Munch
Subject: Re: Trojan Source detection/highlight in Emacs?
Date: Wed, 3 Nov 2021 15:17:32 +0000

Eli Zaretskii wrote:
> Anders Munch <> wrote:
>> Can we get a recipe, please?
> Customize the variable glyphless-char-display-control.

Thanks for the pointer, that would be the 'format-control' group?

I see it set to "Display as thin space".
But that's only half the story. The other half of how bidi control characters 
display is the effect that they have on surrounding text. 
glyphless-char-display-control does not affect that.

>  The doc string says it [bidi-paragraph-direction] forces the directionality 
> of the paragraph.  If you don't already know what that means, I suggest to 
> read the "Bidirectional Editing" node in the Emacs manual, it should explain 
> that.

I went looking for a bidi off switch precisely because I'm aware that the 
Unicode bidi rules are complicated, or at least confusing when put into 
practice, and for those of us that don't read RTL languages, it might be better 
to switch it off completely than to try to understand it.

bidi-paragraph-direction was the only candidate to a bidi off switch that I 
could find.
If that's not what it is, then where is the master switch to turn bidi 
processing off?

regards, Anders

reply via email to

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