Re: [PATCH] emacs: use 'gnus-decoded in notmuch-mm-display-part-inline ()
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 23 May 2012 10:20:21 +0000 (12:20 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:47:16 +0000 (09:47 -0800)
94/40ec3e9df739582a12ad449ffabe71801c2bff [new file with mode: 0644]

diff --git a/94/40ec3e9df739582a12ad449ffabe71801c2bff b/94/40ec3e9df739582a12ad449ffabe71801c2bff
new file mode 100644 (file)
index 0000000..d633036
--- /dev/null
@@ -0,0 +1,100 @@
+Return-Path: <sojkam1@fel.cvut.cz>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id B9B74431FBD\r
+       for <notmuch@notmuchmail.org>; Wed, 23 May 2012 03:20:28 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.656\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.656 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, URIBL_SBL=0.644] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 5EbXbjB9NJ7V for <notmuch@notmuchmail.org>;\r
+       Wed, 23 May 2012 03:20:28 -0700 (PDT)\r
+Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
+       by olra.theworths.org (Postfix) with ESMTP id E7B3C431FAF\r
+       for <notmuch@notmuchmail.org>; Wed, 23 May 2012 03:20:27 -0700 (PDT)\r
+Received: from localhost (unknown [192.168.200.4])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id 5060719F3353;\r
+       Wed, 23 May 2012 12:20:26 +0200 (CEST)\r
+X-Virus-Scanned: IMAP AMAVIS\r
+Received: from max.feld.cvut.cz ([192.168.200.1])\r
+       by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
+       port 10044)\r
+       with ESMTP id lAzNF8Xelbgq; Wed, 23 May 2012 12:20:21 +0200 (CEST)\r
+Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id 916FF3CFE74;\r
+       Wed, 23 May 2012 12:20:21 +0200 (CEST)\r
+Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])\r
+       (Authenticated sender: sojkam1)\r
+       by imap.feld.cvut.cz (Postfix) with ESMTPSA id 871E6660968;\r
+       Wed, 23 May 2012 12:20:21 +0200 (CEST)\r
+Received: from wsh by steelpick.2x.cz with local (Exim 4.77)\r
+       (envelope-from <sojkam1@fel.cvut.cz>)\r
+       id 1SX8g1-0004yN-Ft; Wed, 23 May 2012 12:20:21 +0200\r
+From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: use 'gnus-decoded in\r
+       notmuch-mm-display-part-inline ()\r
+In-Reply-To: <1337533094-5467-1-git-send-email-tomi.ollila@iki.fi>\r
+References: <1337533094-5467-1-git-send-email-tomi.ollila@iki.fi>\r
+User-Agent: Notmuch/0.13+14~g2d2a5a4 (http://notmuchmail.org) Emacs/23.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 23 May 2012 12:20:21 +0200\r
+Message-ID: <87obpfurkq.fsf@steelpick.2x.cz>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Cc: Tomi Ollila <tomi.ollila@iki.fi>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 23 May 2012 10:20:28 -0000\r
+\r
+Tomi Ollila <tomi.ollila@iki.fi> writes:\r
+> When mail message is read from emacs, the message structure\r
+> obtained may contain parts which have content included\r
+> (`text/plain` for example) and other parts where content is not\r
+> included (`text/html` for example).\r
+>\r
+> In case content is included, the string is already available in\r
+> emacs' internal format and therefore mm-... functions should not\r
+> attempt to do further decoding for the data in temp buffer\r
+> provided for it.\r
+>\r
+> Currently when reply buffer is created,\r
+> notmuch-mm-display-part-inline () is used to provided quoted reply\r
+> content. This change makes the mm-... functions called by it use\r
+> 'gnus-decoded as charset whenever the content is already available.\r
+>\r
+> File .../emacs-23.3/lisp/gnus/mm-uu.el mentions:\r
+> "`gnus-decoded' is a fake charset, which means no further decoding."\r
+> ---\r
+>\r
+> I propose this patch is taken into 0.13.1.\r
+\r
+LGTM. I use it in my private branch. The bug fixed by this patch is\r
+really annoying.\r
+\r
+>\r
+> Please note that I'm not entirely sure my description above\r
+> is right. So those who knows more of these issues please check\r
+> my "facts".\r
+\r
+Your description matches with what I found in\r
+id:"871umc1int.fsf@steelpick.2x.cz".\r
+\r
+\r
+Thanks,\r
+-Michal\r