From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.devel Subject: Re: [OT] Working with patches inlined in emails (was: Using gv in map and seq?) Date: Thu, 18 Jun 2015 11:38:34 +0200 Message-ID: <87oakd5pb9.fsf@petton.fr> References: <87egldxn7p.fsf@petton.fr> <878ublkrqe.fsf@petton.fr> <87zj3x5sfb.fsf@petton.fr> <83lhfhl7pw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1434620352 24069 80.91.229.3 (18 Jun 2015 09:39:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jun 2015 09:39:12 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 18 11:39:02 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z5WHl-0008UC-Oe for ged-emacs-devel@m.gmane.org; Thu, 18 Jun 2015 11:39:01 +0200 Original-Received: from localhost ([::1]:51414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5WHl-0001xd-73 for ged-emacs-devel@m.gmane.org; Thu, 18 Jun 2015 05:39:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5WHW-0001uM-5x for emacs-devel@gnu.org; Thu, 18 Jun 2015 05:38:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5WHN-0007WP-Hi for emacs-devel@gnu.org; Thu, 18 Jun 2015 05:38:46 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:47954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5WHN-0007W0-Ee for emacs-devel@gnu.org; Thu, 18 Jun 2015 05:38:37 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id B72C12043E for ; Thu, 18 Jun 2015 05:38:36 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 18 Jun 2015 05:38:36 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=IB+eeUSNpg0vI7sbpCloZLQYoSI=; b=Fwk6u ENDjgj5OSt7FGz0NLq6I9FyxetNwFeeferhYLqkHs1BDhakk6luVzBNJ0Usu97/c n+O/x8bYVmbXUCJ2WIaUEGDXj9jfhaxxPouq8e6e0NoPkBLdbhELHUTqiNqkDbBH pRV3PoqYW7xe3miCNeAsR8WET0IpKlNLNzmkCM= X-Sasl-enc: mnjc+S/ctvN8LyGjUTjXq3Qk9X92oJ9kFIeLA82U8NXZ 1434620316 Original-Received: from blueberry (unknown [31.211.216.84]) by mail.messagingengine.com (Postfix) with ESMTPA id EF5CA6800F2; Thu, 18 Jun 2015 05:38:35 -0400 (EDT) In-Reply-To: <83lhfhl7pw.fsf@gnu.org> User-Agent: Notmuch/0.19 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-redhat-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.29 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187279 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Nicolas Petton >> Date: Thu, 18 Jun 2015 10:31:20 +0200 >> Cc: emacs-devel >>=20 >> 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 =2D-=20 Nicolas Petton http://nicolas-petton.fr --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJVgpGaAAoJECM1h6R8IHkQX6cH/05O49XyZ8YBHh8SemSozlvc jp3GTV+PUHN9zBJtrYmcz/zzfNE2h9Ic2ONKNSCxbAX4MIi9VAxn9nhVeDalwZ1R MwLA3vzQPG4L9736ZgBXS4tsRvrN/TQozO+RtroteScegyHtvx9yDCcUF4f6df+B zqt+O6Pqo75wnQzwQ9286z43IUx5bAZIgkmp0XVMYfgiK+39dBFDc+f6yL0bsdJu eCj73QD3LKtppJDlD8YLUN0U/ipvUyarfYaLGTtMGSMLvcjr3bUTMXKi/8IKwVxZ JTTprZvjK53sgpy3TlJoXmPQYi/Ki61OVYKDVsGP5foJvjdR0PYeV6w8/YesfOI= =Bw9u -----END PGP SIGNATURE----- --=-=-=--