Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 0E26C431FAF for ; Sun, 21 Oct 2012 00:04:10 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QTJRqAvGecYo for ; Sun, 21 Oct 2012 00:04:06 -0700 (PDT) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 3FD55431FAE for ; Sun, 21 Oct 2012 00:04:06 -0700 (PDT) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TPpZw-0003Qv-K5 for notmuch@notmuchmail.org; Sun, 21 Oct 2012 09:04:08 +0200 Received: from mag77-1-82-238-14-130.fbx.proxad.net ([82.238.14.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Oct 2012 09:04:08 +0200 Received: from olivier.berger by mag77-1-82-238-14-130.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Oct 2012 09:04:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: notmuch@notmuchmail.org From: Olivier Berger Subject: Re: bug related to ical Date: Sun, 21 Oct 2012 09:03:50 +0200 Lines: 42 Message-ID: <87mwzgxq5l.fsf@inf-8657.int-evry.fr> References: <87d319b899.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mag77-1-82-238-14-130.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:J60aBpNnRGAI88CgDdulAxbytAU= X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 07:04:10 -0000 Hi. Just in case, Tomi proposed an updated version in Message-ID: <1349333712-18347-1-git-send-email-tomi.ollila@iki.fi> ... but it doesn't seem to fix the issue for me :-/ Hope this helps. Best regards, Tomi Ollila writes: > On Wed, Oct 03 2012, Tomi Ollila wrote: > >> I've got the example in question to "work" with the following patch_ >> >> --8<----8<----8<-- cut here --8<----8<----8<-- >> >> diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el >> index 86130ce..f7c08ee 100644 >> --- a/emacs/notmuch-show.el >> +++ b/emacs/notmuch-show.el >> @@ -747,17 +747,21 @@ message at DEPTH in the current thread." >> (notmuch-show-insert-part-header nth declared-type content-type (plist-get part :filename)) >> (insert (with-temp-buffer >> (insert (notmuch-get-bodypart-content msg part nth notmuch-show-process-crypto)) >> - (goto-char (point-min)) >> (let ((file (make-temp-file "notmuch-ical")) >> result) >> + (set-buffer (icalendar--get-unfolded-buffer (current-buffer))) >> + (beginning-of-buffer) >> + (replace-string "" "") > > OK, something mangled my email, there used to be ^M above (as one char, CR > .. maybe "\r" would have worked ?) > -- Olivier BERGER http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)