Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C-b, M-b don't work with arabic input method #8

Open
tareefdev opened this issue Apr 15, 2018 · 3 comments
Open

C-b, M-b don't work with arabic input method #8

tareefdev opened this issue Apr 15, 2018 · 3 comments

Comments

@tareefdev
Copy link

Hi @a13

I use 'arabic' for ''reverse-im-input-methods' in my '.emacs' file as following:

(require 'reverse-im)
(add-to-list 'reverse-im-input-methods "arabic")
(reverse-im-mode t)

Everything works fine except for C-b (backward-char) and M-b (backward-word) I got these messages:
C-لا is undefined
M-لا is undefined

'لا' in Arabic correspond to 'b' in English. I use GNU Emacs 25.3.1

@tareefdev tareefdev changed the title C-b, M-b don't work C-b, M-b don't work with arabic input method Apr 15, 2018
@a13
Copy link
Owner

a13 commented Nov 13, 2019

@tareefdev Hey! I've pushed a commit which allows you to show the translation for the selected input method, no you can check the remapping yourself.

And yes, there are no translation for "b" letter, it looks like this happens because in arabic.el.gz file the mapping for "b" is not a single char, but a vector of strings. I'm investigating if it's possible to fix that.

@a13
Copy link
Owner

a13 commented Nov 13, 2019

@tareefdev I've pushed a possible solution to "arabic" branch, could you please check if it works for you? If no - please post here the value of the reverse-im--keymaps-alist variable

@tareefdev
Copy link
Author

Hey Hey, I'm glad to see some progress here. I cloned the repo, switched to the arabic branch, restarted my Emacs, but unfortunately nothing changed.

Here is the value of that variable:

reverse-im--keymaps-alist is a variable defined in ‘reverse-im.el’.
Its value is shown below.

Documentation:
Alist of pairs input-method/translation keymap.

Value:
((arabic keymap
	 (67110448 .
	  [67108960])
	 (1584 .
	  [96])
	 (67110481 .
	  [67108990])
	 (1617 .
	  [126])
	 (67110478 .
	  [33554449])
	 (1614 .
	  [81])
	 (67110475 .
	  [33554455])
	 (1611 .
	  [87])
	 (67110479 .
	  [33554437])
	 (1615 .
	  [69])
	 (67110476 .
	  [33554450])
	 (1612 .
	  [82])
	 (67110437 .
	  [33554457])
	 (1573 .
	  [89])
	 (67109111 .
	  [33554441])
	 (247 .
	  [73])
	 (67109079 .
	  [33554447])
	 (215 .
	  [79])
	 (67110427 .
	  [33554448])
	 (1563 .
	  [80])
	 (67110480 .
	  [33554433])
	 (1616 .
	  [65])
	 (67110477 .
	  [33554451])
	 (1613 .
	  [83])
	 (67110435 .
	  [33554440])
	 (1571 .
	  [72])
	 (67110464 .
	  [33554442])
	 (1600 .
	  [74])
	 (67110412 .
	  [33554443])
	 (1548 .
	  [75])
	 (67110482 .
	  [33554456])
	 (1618 .
	  [88])
	 (67110434 .
	  [33554446])
	 (1570 .
	  [78])
	 (67110431 .
	  [67108927])
	 (1567 .
	  [63])
	 (67110454 .
	  [17])
	 (1590 .
	  [113])
	 (67110453 .
	  [23])
	 (1589 .
	  [119])
	 (67110443 .
	  [5])
	 (1579 .
	  [101])
	 (67110466 .
	  [18])
	 (1602 .
	  [114])
	 (67110465 .
	  [20])
	 (1601 .
	  [116])
	 (67110458 .
	  [25])
	 (1594 .
	  [121])
	 (67110457 .
	  [21])
	 (1593 .
	  [117])
	 (67110471 .
	  [9])
	 (1607 .
	  [105])
	 (67110446 .
	  [15])
	 (1582 .
	  [111])
	 (67110445 .
	  [16])
	 (1581 .
	  [112])
	 (67110444 .
	  [27])
	 (1580 .
	  [91])
	 (67110447 .
	  [29])
	 (1583 .
	  [93])
	 (67110452 .
	  [1])
	 (1588 .
	  [97])
	 (67110451 .
	  [19])
	 (1587 .
	  [115])
	 (67110474 .
	  [4])
	 (1610 .
	  [100])
	 (67110440 .
	  [6])
	 (1576 .
	  [102])
	 (67110468 .
	  [7])
	 (1604 .
	  [103])
	 (67110439 .
	  [8])
	 (1575 .
	  [104])
	 (67110442 .
	  [10])
	 (1578 .
	  [106])
	 (67110470 .
	  [11])
	 (1606 .
	  [107])
	 (67110469 .
	  [12])
	 (1605 .
	  [108])
	 (67110467 .
	  [67108923])
	 (1603 .
	  [59])
	 (67110455 .
	  [67108903])
	 (1591 .
	  [39])
	 (67110438 .
	  [26])
	 (1574 .
	  [122])
	 (67110433 .
	  [24])
	 (1569 .
	  [120])
	 (67110436 .
	  [3])
	 (1572 .
	  [99])
	 (67110449 .
	  [22])
	 (1585 .
	  [118])
	 (67110473 .
	  [14])
	 (1609 .
	  [110])
	 (67110441 .
	  [13])
	 (1577 .
	  [109])
	 (67110472 .
	  [67108908])
	 (1608 .
	  [44])
	 (67110450 .
	  [67108910])
	 (1586 .
	  [46])
	 (67110456 .
	  [67108911])
	 (27 keymap
	     (67110448 .
	      [201326688])
	     (1584 .
	      [134217824])
	     (67110481 .
	      [201326718])
	     (1617 .
	      [134217854])
	     (67110478 .
	      [167772177])
	     (1614 .
	      [134217809])
	     (67110475 .
	      [167772183])
	     (1611 .
	      [134217815])
	     (67110479 .
	      [167772165])
	     (1615 .
	      [134217797])
	     (67110476 .
	      [167772178])
	     (1612 .
	      [134217810])
	     (67110437 .
	      [167772185])
	     (1573 .
	      [134217817])
	     (67109111 .
	      [167772169])
	     (247 .
	      [134217801])
	     (67109079 .
	      [167772175])
	     (215 .
	      [134217807])
	     (67110427 .
	      [167772176])
	     (1563 .
	      [134217808])
	     (67110480 .
	      [167772161])
	     (1616 .
	      [134217793])
	     (67110477 .
	      [167772179])
	     (1613 .
	      [134217811])
	     (67110435 .
	      [167772168])
	     (1571 .
	      [134217800])
	     (67110464 .
	      [167772170])
	     (1600 .
	      [134217802])
	     (67110412 .
	      [167772171])
	     (1548 .
	      [134217803])
	     (67110482 .
	      [167772184])
	     (1618 .
	      [134217816])
	     (67110434 .
	      [167772174])
	     (1570 .
	      [134217806])
	     (67110431 .
	      [201326655])
	     (1567 .
	      [134217791])
	     (67110454 .
	      [134217745])
	     (1590 .
	      [134217841])
	     (67110453 .
	      [134217751])
	     (1589 .
	      [134217847])
	     (67110443 .
	      [134217733])
	     (1579 .
	      [134217829])
	     (67110466 .
	      [134217746])
	     (1602 .
	      [134217842])
	     (67110465 .
	      [134217748])
	     (1601 .
	      [134217844])
	     (67110458 .
	      [134217753])
	     (1594 .
	      [134217849])
	     (67110457 .
	      [134217749])
	     (1593 .
	      [134217845])
	     (67110471 .
	      [134217737])
	     (1607 .
	      [134217833])
	     (67110446 .
	      [134217743])
	     (1582 .
	      [134217839])
	     (67110445 .
	      [134217744])
	     (1581 .
	      [134217840])
	     (67110444 .
	      [134217755])
	     (1580 .
	      [134217819])
	     (67110447 .
	      [134217757])
	     (1583 .
	      [134217821])
	     (67110452 .
	      [134217729])
	     (1588 .
	      [134217825])
	     (67110451 .
	      [134217747])
	     (1587 .
	      [134217843])
	     (67110474 .
	      [134217732])
	     (1610 .
	      [134217828])
	     (67110440 .
	      [134217734])
	     (1576 .
	      [134217830])
	     (67110468 .
	      [134217735])
	     (1604 .
	      [134217831])
	     (67110439 .
	      [134217736])
	     (1575 .
	      [134217832])
	     (67110442 .
	      [134217738])
	     (1578 .
	      [134217834])
	     (67110470 .
	      [134217739])
	     (1606 .
	      [134217835])
	     (67110469 .
	      [134217740])
	     (1605 .
	      [134217836])
	     (67110467 .
	      [201326651])
	     (1603 .
	      [134217787])
	     (67110455 .
	      [201326631])
	     (1591 .
	      [134217767])
	     (67110438 .
	      [134217754])
	     (1574 .
	      [134217850])
	     (67110433 .
	      [134217752])
	     (1569 .
	      [134217848])
	     (67110436 .
	      [134217731])
	     (1572 .
	      [134217827])
	     (67110449 .
	      [134217750])
	     (1585 .
	      [134217846])
	     (67110473 .
	      [134217742])
	     (1609 .
	      [134217838])
	     (67110441 .
	      [134217741])
	     (1577 .
	      [134217837])
	     (67110472 .
	      [201326636])
	     (1608 .
	      [134217772])
	     (67110450 .
	      [201326638])
	     (1586 .
	      [134217774])
	     (67110456 .
	      [201326639])
	     (1592 .
	      [134217775]))
	 (1592 .
	  [47])))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants