From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 4B54A6DE26B2 for ; Mon, 19 Mar 2018 13:16:52 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.27 X-Spam-Level: X-Spam-Status: No, score=-0.27 tagged_above=-999 required=5 tests=[AWL=-0.271, UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Im5RxemdfYUA for ; Mon, 19 Mar 2018 13:16:50 -0700 (PDT) Received: from marcos.anarc.at (marcos.anarc.at [206.248.172.91]) by arlo.cworth.org (Postfix) with ESMTPS id A121C6DE26B0 for ; Mon, 19 Mar 2018 13:16:50 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: anarcat) with ESMTPSA id C5CCF10E04F From: =?utf-8?Q?Antoine_Beaupr=C3=A9?= To: Brian Sniffen Cc: notmuch@notmuchmail.org Subject: Re: tip: how to not forget attachments In-Reply-To: <64758D7F-2CB7-4D48-ABB9-143C75785CB0@evenmere.org> References: <87d10042pu.fsf@curie.anarc.at> <87woy8vx7i.fsf@tesseract.cs.unb.ca> <87a7v42bv9.fsf@curie.anarc.at> <874llc2bkp.fsf@curie.anarc.at> <87fu4v27hb.fsf@curie.anarc.at> <64758D7F-2CB7-4D48-ABB9-143C75785CB0@evenmere.org> Date: Mon, 19 Mar 2018 16:16:47 -0400 Message-ID: <87605r253k.fsf@curie.anarc.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 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: Mon, 19 Mar 2018 20:16:52 -0000 On 2018-03-19 15:57:05, Brian Sniffen wrote: > `error` doesn=E2=80=99t do any unwinding; it leaves the program state whe= rever it was for analysis. You probably want throw/catch, as described at = https://www.gnu.org/software/emacs/manual/html_node/elisp/Catch-and-Throw.h= tml#Catch-and-Throw Wait, but what tag would I throw? message-send doesn't do any catching around the hook calls... a. --=20 The United States is a nation of laws: badly written and randomly enforced. - Frank Zappa