Questions tagged [characters]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
52 views

extra e character is inserted before every character

I have a problem every so often where I accidentally hit a key combination (don't know what it is) and I get into a state where the letter e (sometimes it is another letter IIRC) is inserted before ...
2
votes
3answers
101 views

What does “^[” represent?

I wrote a terminal output to a plain text file and opened it in Emacs, and I see "^[" here and there. I'd like to change it to tabs in terminal before writing its output to the file, but I don't know ...
0
votes
1answer
131 views

shell-command and C-h

If I create a string from the output of a shell command, using shell-command-to-string, I sometimes see ^H characters in the string, when I guess those characters were supposed to result in ...
5
votes
2answers
1k views

Incrementing characters in Emacs, next to numbers?

You can place a pointer on a number, like 1, and increment it to 2. There are many alternatives on this. See also the Emacs Wiki: https://www.emacswiki.org/emacs/IncrementNumber 7 alternatives to ...
5
votes
1answer
687 views

Arabic in emacs shown as separate letters

I am trying to work with Arabic and English texts in the same buffer. They don't have to be in the same paragraphs. A text like والإكرام و نوافج is shown as separate letters. Contrary to English, ...
3
votes
2answers
1k views

How to change the background/foreground color of some characters/words?

I know by M-x set-background-color or M-x set-foreground-color one can change the background/foreground of the the entire buffer. Of course this color change only persists in the current session. In ...
4
votes
1answer
437 views

how can I fix incorrect character width?

Emacs is telling me that a certain character only takes up 1 column, even though it clearly takes up two? Is there a way I can fix this? The reason is that I'm doing some calculations in order to "...
2
votes
0answers
118 views

Composition of the Arabic letters Lam and Alef in Emacs

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 ...
9
votes
4answers
2k views

How to determine if the current character is a letter

How I can determine if the current character is a letter (an alphabetic character) (i.e., belongs to the syntax class [:alpha:] in regexp notions). I would like to write a simple function like below: ...
4
votes
2answers
409 views

How can I programmatically get the canonical unicode name of a character?

I'm attempting to get the name of the character (or multibyte character) at point, and just the name, programmatically. describe-char tells me what the character's name is, along with a bunch of ...

1
2