title: Emacs: delete whitespaces or a word
body: <p>How can I configure emacs to work in the same way as other modern editors where pressing <kbd>Alt</kbd>+<kbd>D</kbd> or <kbd>Alt</kbd>+<kbd>Backspace</kbd> deletes either adjacent whitespaces or a single word? By default, emacs always deletes a word.</p>