Skip to main content
Share Your Experience: Take the 2024 Developer Survey
4 votes
Accepted

Recomposing a decomposed character

I don't think Emacs has a mapping from the decomposed form back to the original character. You can look it up using ucs-names though: (defun lookup-composed (decomp) (let (composed) (maphash (...
rpluim's user avatar
  • 5,315
4 votes
Accepted

Compose characters

I think you want to M-x ucs-normalize-NFC-region RET
Stefan's user avatar
  • 26.5k
3 votes

Change prefix key for compose-character (C-x 8)

Personally I use the Multi_key (sometimes called the "compose" key) under X11, which I have mapped to the right Alt key. That works everywhere rather than only in Emacs.
Stefan's user avatar
  • 26.5k
2 votes
Accepted

prettify text, escape characters

You've used a list for your CHARACTER argument, regarding which compose-region tells you: If it is a vector or list, it is a sequence of alternate characters and composition rules, where (2N)th ...
phils's user avatar
  • 51.5k
2 votes
Accepted

How to display a character reversed?

I'm not sure about the feasibility of this. First, I believe this requires a backwards font on the system. I'm no expert on how text is actually rendered but, speaking generally, text is rendered ...
Lorem Ipsum's user avatar
  • 4,517
2 votes
Accepted

Change prefix key for compose-character (C-x 8)

I'm no expert on this, and this might not be the right way to do it, but I think this will do it for you: (define-key global-map (kbd "M-'") iso-transl-ctl-x-8-map))) iso-transl-ctl-x-8-map is a ...
Drew's user avatar
  • 77.9k
1 vote
Accepted

Display devanagari characters

Most likely the font you are using probably does not display those characters well. (Does it work well when you use it outside Emacs?) Try using a different font.
Drew's user avatar
  • 77.9k

Only top scored, non community-wiki answers of a minimum length are eligible