@♪ Octavia con Amore ♬ @Soft Dragon :verified_dragon:✨ the reason they're like this is because they stand for the functions forward-char, backward-char, next-line, and previous-line. Within text in an RTL script like Arabic, C-f moves visually left and C-b moves visually right.
It shouldn't be too hard to check the writing direction of the text underneath point and reverse the arrow key mapping accordingly, but I'm not sure how you'd handle the boundaries between different writing directions.
@keith Oh gods, that's a nightmare. I'm glad that, as much as Japanese is traditionally a right-to-left language, it's also common to have it left-to-right and well-adapted to being written that way digitally.
Pup Keith DX Director's Cut
in reply to teh dragon of online •like this
Luna :circleA:, ♪ Octavia con Amore ♬ and hinged death kinnie like this.
Julius :TheRustAgender: reshared this.
MOVED to @chjara@meow.tuxcrafting.online
in reply to Pup Keith DX Director's Cut • •like this
日本語版 🏴 and Pup Keith DX Director's Cut like this.
♪ Octavia con Amore ♬
in reply to Pup Keith DX Director's Cut • •Pup Keith DX Director's Cut likes this.
Pup Keith DX Director's Cut
in reply to ♪ Octavia con Amore ♬ •forward-char
,backward-char
,next-line
, andprevious-line
. Within text in an RTL script like Arabic, C-f moves visually left and C-b moves visually right.like this
♪ Octavia con Amore ♬ and Zack Wardi like this.
♪ Octavia con Amore ♬
in reply to Pup Keith DX Director's Cut • •Pup Keith DX Director's Cut likes this.
Pup Keith DX Director's Cut
in reply to ♪ Octavia con Amore ♬ •@♪ Octavia con Amore ♬ @Soft Dragon :verified_dragon:✨ Yeah, you can also just bind them to the arrow keys (which IIRC Emacs does by default, and is what I use), but it produces behaviour like this:
It shouldn't be too hard to check the writing direction of the text underneath point and reverse the arrow key mapping accordingly, but I'm not sure how you'd handle the boundaries between different writing directions.
♪ Octavia con Amore ♬ likes this.
♪ Octavia con Amore ♬
in reply to Pup Keith DX Director's Cut • •Pup Keith DX Director's Cut likes this.
Pup Keith DX Director's Cut
in reply to ♪ Octavia con Amore ♬ •♪ Octavia con Amore ♬ likes this.
♪ Octavia con Amore ♬
Unknown parent • •