When copying code from the web (usually using Chrome in Ubuntu) I am frustrated by the fact that Emacs inserts blank spaces of Char: (160, #o240, #xa0) wherever there should be a space character, Char: SPC (32, #o40, #x20). This appears fine in the editor but as soon as I try to execute the code I get errors. How can I make Emacs convert entities into normal space characters?
When copying code from the web (usually using Chrome in Ubuntu) I am frustrated
Share
You can use
query-replace(M-%) to convert the characters. Copy-paste can help you enter the non-breaking space.