You can enable support for many of these characters by changing your input method in Emacs. However, that’s outside the scope of what we’re doing here.
In this example, we want to keep English as our input method but simply insert tildes and other accent marks over characters in our documents.
This would be of use to anyone who uses Emacs to compose documents, particularly those who might need support for accented characters in writing Latinate, Greek, or other languages.
Even when writing in English, you may need to use these characters to write words that require certain accented characters. For example, if you need to write piña colada, simply writing pina with no tilde over the “n” will not suffice. In Emacs, we like to do things once and do them write.
https://chrismaiorana.com/writing-acc...