1

When I insert the character ل (the Arabic letter Lam) followed by ا (the Arabic letter Alef) the result would be لا.

In other text editors when I have the word لا I can mark (select) each of its characters, for example in the current box that I write this message (in Mozilla Firefox) I can mark (select) ل in the word لا as shown in the following image

enter image description here

I can also mark (select ) ا in the word لا as shown in the below image

enter image description here

But in Emacs I am not able to mark (select) the letters ل and ا in the word لا individually. In fact for a reason that I do not understand the word لا is considered as an entire block (like a character but not exactly) and either both letters are selected or no letter is selected.

I am wondering if this is a bug or an intentional behavior and if there is way which allows to select these letters individually like in many other editors.

  • 1
    I cannot tell the difference. Firefox, Chrome, and IE on Windows 8 render the two identically. – PythonNut Jul 31 '15 at 23:02
  • It does recognize that there are two characters there -- in the word لان, put the cursor on the لا and run M-: (current-column), and then put it on the ن and run M-: (current-column) again -- they'll be two columns apart rather than 1. – Dan Aug 1 '15 at 0:17
  • @PythonNut I apologize if I didn't correctly asked my question. I have revised the question. – Name Aug 1 '15 at 14:21
  • @Dan I have revised the question. I apologize if I didn't correctly stated the problem. – Name Aug 1 '15 at 14:23
  • A composed character in Emacs is just that -- a character -- i.e., the two become one. A composed character is not rendered as two separate characters close to one another. Here is an example: (defun test-fn () (interactive) (message (compose-string-internal "A|" 0 (length "A|")))) – lawlist Aug 1 '15 at 16:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.