From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [PATCH] Fixes org-rmail-store-link Date: Mon, 06 Aug 2012 23:19:21 -0400 Message-ID: <4219.1344309561@alphaville> References: <87txwgsga2.fsf@lapcat.tftorrey.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyaKL-0008NT-Mj for emacs-orgmode@gnu.org; Mon, 06 Aug 2012 23:19:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SyaKK-00006w-DK for emacs-orgmode@gnu.org; Mon, 06 Aug 2012 23:19:25 -0400 Received: from g6t0185.atlanta.hp.com ([15.193.32.62]:34369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyaKK-00006q-9B for emacs-orgmode@gnu.org; Mon, 06 Aug 2012 23:19:24 -0400 In-Reply-To: Message from tftorrey@tftorrey.com (T.F. Torrey) of "Mon, 06 Aug 2012 00:09:25 MDT." <87txwgsga2.fsf@lapcat.tftorrey.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "T.F. Torrey" Cc: emacs-orgmode@gnu.org T.F. Torrey wrote: > ,.. > > The error occurs because org-rmail-store-link attempts to get the > Message-ID header with mail-fetch-field, then remove the angle > brackets with org-remove-angle-brackets. However, without showing full > headers, Message-ID is hidden, and (mail-fetch-field "message-id) > returns nil. When this is passed to org-remove-angle-brackets, the > error is thrown. > > The attached patch remedies this by toggling on the full header display > before getting the Message-ID. > Shouldn't it be toggled off afterwards? Nick