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

Highlight prettified code

C-h v prettify-symbols-alist says that each element of the alist should be (SYMBOL . CHARACTER). Actually, it seems that what it means by SYMBOL here is not a Lisp symbol but a string that names the ...
Drew's user avatar
  • 77.9k
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 get the character representation of an integer?

Found it! The answer is simply prin1-char. Here is the help text description of it: prin1-char is a compiled Lisp function in ‘elisp-mode.el’. (prin1-char CHAR) Return a string representing CHAR as a ...
Ruy's user avatar
  • 839
2 votes

Unicode input from keyboard (QMK) to Emacs

Here is an alternative solution that doesn't need special workarounds. This provides a function to trick emacs so that it accepts the unicode sequence: ;; enable standard linux unicode input (define-...
tristanC's user avatar

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