Eli Zaretskii writes: >> From: Nicolas Petton >> Date: Thu, 18 Jun 2015 10:31:20 +0200 >> Cc: emacs-devel >> >> This is a bit off-topic, but I'm wondering how people work with emails >> in Emacs containing patches in the body of the email. > > With "M-|", of course. > >> With patches sent as attachments it's straightforward, but for example >> here for this patch I had to yank the content in a new buffer, trim the >> spaces at the beginning of each line, etc. which is clearly not >> efficient (I use notmuch). > > I don't understand why you needed to trim some spaces, I don't see any > extra spaces in the mail Stefan sent. Maybe your MUA needs to be > upgraded or changed? I couldn't just pipe it to patch as there were some spaces at the beginning of each line, but that was indeed specific to notmuch indenting messages in threads (and it's customizable, so I just disabled it). Sorry for the noise. Nico -- Nicolas Petton http://nicolas-petton.fr