4
votes
1answer
2k views

In Emacs, how to reformat an edited paragraph so the line breaks are properly reinserted?

In Emacs, I have a paragraph of text, which is already properly wrapped at, say 79th column on each row, then you edit it, adding some text on some of the rows, how to reformat the edited paragraph so ...
2
votes
1answer
705 views

How to type a Unicode character by its number in Emacs?

How to type a Unicode character by its number, e.g. 0x2E3B for Unicode character U+2E3B (THREE-EM DASH) in Emacs?
1
vote
1answer
347 views

How to efficiently type in a pair of XML tags in Emacs?

How to efficiently type in a pair of XML tags such as <tag></tag> in Emacs? I am hoping some sort of auto-complete behavior.
5
votes
2answers
4k views

How to comment a block of code in Emacs?

In Emacs, how to comment a block of text, i.e. how to indent a block of text rightward by n whitespace characters and put a chosen character sequence, say ##, at the beginning of each line? Original ...