From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Re: Problem when org-capturing text from French email Date: Sat, 17 Jul 2010 08:40:05 +0200 Message-ID: <87vd8ebohm.wl%dmaus@ictsoc.de> References: <87fwzjld0f.fsf@mundaneum.com> <87lj9bmk4x.wl%dmaus@ictsoc.de> <87bpa7i3sj.fsf@mundaneum.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1146193468==" Return-path: Received: from [140.186.70.92] (port=43796 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oa14n-0006sP-Ri for emacs-orgmode@gnu.org; Sat, 17 Jul 2010 02:40:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oa14m-0006TV-By for emacs-orgmode@gnu.org; Sat, 17 Jul 2010 02:40:45 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:40806) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oa14m-0006TR-0u for emacs-orgmode@gnu.org; Sat, 17 Jul 2010 02:40:44 -0400 In-Reply-To: <87bpa7i3sj.fsf@mundaneum.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?UTF-8?B?U8OpYmFzdGllbg==?= Vauban Cc: emacs-orgmode@gnu.org --===============1146193468== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sat_Jul_17_08:40:04_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Sat_Jul_17_08:40:04_2010-1 Content-Type: multipart/mixed; boundary="Multipart_Sat_Jul_17_08:40:04_2010-1" --Multipart_Sat_Jul_17_08:40:04_2010-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable S=C3=A9bastien Vauban wrote: >> The Attached patch avoids this bug by removing all text properties from = the >> subject (the same is done in org-wl.el). >I've applied your patch. That hinders, indeed, the bug to occur. So, it >perfectly shows you're right about the cause. >Though, the patch you gave me causes me troubles in my Gnus buffers: the >*Group* and *Summary* buffers are now black and white only. All my colors >disappeared... This is indeed the patch's fault. Something I don't completely understand yet, is when and why this kind of side effect occurs. Anyway, attached patch supersedes the last one and should work. It creates and uses a copy of the subject string. HTH -- David --=20 OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --Multipart_Sat_Jul_17_08:40:04_2010-1 Content-Type: text/plain; type=patch; charset=US-ASCII Content-Disposition: attachment; filename="0001-Remove-text-properties-of-subject-to-avoid-Emacs-bug.patch" Content-Transfer-Encoding: base64 RnJvbSA0M2RiMTM2NTA0MDUyOGUzMjQ1YjY4ZTQyMmY2ODdiZDQ2MjhlNWRmIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEYXZpZCBNYXVzIDxkbWF1c0BpY3Rzb2MuZGU+CkRhdGU6IFNh dCwgMTcgSnVsIDIwMTAgMDg6Mzc6NDAgKzAyMDAKU3ViamVjdDogW1BBVENIXSBSZW1vdmUgdGV4 dCBwcm9wZXJ0aWVzIG9mIHN1YmplY3QgdG8gYXZvaWQgRW1hY3MgYnVnICMzNTA2CgoqIG9yZy1n bnVzLmVsIChvcmctZ251cy1zdG9yZS1saW5rKTogUmVtb3ZlIHRleHQgcHJvcGVydGllcyBvZgpz dWJqZWN0IHRvIGF2b2lkIEVtYWNzIGJ1ZyAjMzUwNi4KLS0tCiBsaXNwL29yZy1nbnVzLmVsIHwg ICAyMiArKysrKysrKysrKysrLS0tLS0tLS0tCiAxIGZpbGVzIGNoYW5nZWQsIDEzIGluc2VydGlv bnMoKyksIDkgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9vcmctZ251cy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ctZXhjdXJzaW9uIChnbnVzLXN1bW1hcnktc2VsZWN0 LWFydGljbGUpKQorCShzZXRxIHRvIChvciB0byAoZ251cy1mZXRjaC1vcmlnaW5hbC1maWVsZCAi VG8iKSkKKwkgICAgICBuZXdzZ3JvdXBzIChnbnVzLWZldGNoLW9yaWdpbmFsLWZpZWxkICJOZXdz Z3JvdXBzIikKKwkgICAgICB4LW5vLWFyY2hpdmUgKGdudXMtZmV0Y2gtb3JpZ2luYWwtZmllbGQg Ingtbm8tYXJjaGl2ZSIpKSkKICAgICAgIChvcmctc3RvcmUtbGluay1wcm9wcyA6dHlwZSAiZ251 cyIgOmZyb20gZnJvbSA6c3ViamVjdCBzdWJqZWN0CiAJCQkgICAgOm1lc3NhZ2UtaWQgbWVzc2Fn ZS1pZCA6Z3JvdXAgZ3JvdXAgOnRvIHRvKQogICAgICAgKHNldHEgZGVzYyAob3JnLWVtYWlsLWxp bmstZGVzY3JpcHRpb24pCi0tIAoxLjcuMQoK --Multipart_Sat_Jul_17_08:40:04_2010-1-- --pgp-sign-Multipart_Sat_Jul_17_08:40:04_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkxBUEQACgkQma24O1pEeOZvzAEAyzwou0b8JqlyOAjIZAQzJqpq tlkBiVBDqpxah5YjljoA/0wn2X9zgxxTH6hU2DpENKODjIwiCzRqwZo/54/PWO1T =Z4hJ -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sat_Jul_17_08:40:04_2010-1-- --===============1146193468== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1146193468==--