From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uO8DDu+Hp2IaTQEAbAwnHQ (envelope-from ) for ; Mon, 13 Jun 2022 20:54:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cPbvDe+Hp2JNCgAAauVa8A (envelope-from ) for ; Mon, 13 Jun 2022 20:54:39 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EC5F199A5 for ; Mon, 13 Jun 2022 20:54:38 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 404055F6E8; Mon, 13 Jun 2022 18:54:36 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 7C9535F6B8 for ; Mon, 13 Jun 2022 18:54:33 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 940E65FBD7; Mon, 13 Jun 2022 14:54:32 -0400 (EDT) Received: (nullmailer pid 48513 invoked by uid 1000); Mon, 13 Jun 2022 18:54:31 -0000 From: David Bremner To: Leo Okawa Ericson , notmuch@notmuchmail.org Subject: Re: [PATCH v4] emacs: Make notmuch-show-next-thread return nil on failure In-Reply-To: <874k0ozui0.fsf@tethera.net> References: <20220609151822.31271-1-git@relevant-information.com> <874k0ozui0.fsf@tethera.net> Date: Mon, 13 Jun 2022 15:54:31 -0300 Message-ID: <87zgigxul4.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: SUE2YFFEKBDJAT42X42Q6JZ6TTTSJWXF X-Message-ID-Hash: SUE2YFFEKBDJAT42X42Q6JZ6TTTSJWXF X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Leo Okawa Ericson X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655146479; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=rhPVtX6GixvHfQ1nHpPEae52n/556MufJlnls4VABx4=; b=sge8EKMPOemIiwhO8CKfGFLAV8r5rocTp9b8U9+krZJT4/JbqN4VQVM9PISYe+HZRjgnG2 sK5j+lo9clEZuq4i8iadv5PhOLmPbgsG/NKq4U5Nr+OHIP9ST01GEf9Ts58cA3OJwu/j2B JPnPyU69tB/6BSrwwqazVYzB6cVYHvnsa5nnCSMuwcqzSoA/Qtop0azdiLgWhMSneN4TMc VWhX0GLmxPOsgiDkjDb+sTWOstuTpMyD9xi1wJ72GYalLNFpJ+6fLEN8aOmZnd3xBU68j2 VFnl5Czq4rnDt8I7I4/MjMy/xkB38UEF5LuP93rpvdhVYwAtSA+xYPKeyT9jTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655146479; a=rsa-sha256; cv=none; b=fGErVfU1cejLgMI5ilPbThVJ/IfSxZ4iexqrx+iTDobRPamT6mw6Q66ptNKQLgQ1qECeqc tHxt0TG1OiAtLpMdooai7L8+0sV3VwpT4+PW1RJcnHNe7h0lZW+rpE5USYSB7H2oJWXrBj Mvr6qHJ9Gw6N9VXSsNOXtON0vlnIVWBKyZ0im32Cl5jkQFcavQcr12brpSrf+j2E++SmaZ ZHkvHuxPxVJEjvGQKuKegcROJ4NJpySA+3fd7blJ5DfmlJRcvuQ083B8Mf8qXeF31jN6Kg MEVk5TG3mGcpgXfGLZFVeASe4nfdcnNHe8M7MmaeVh9pu7cJvk1XpkOb62CeKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.61 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: EC5F199A5 X-Spam-Score: -2.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: CLWqKYt7q8WF David Bremner writes: > Leo Okawa Ericson writes: > >> Having notmuch-show-next-thread return non-nil on success and nil on >> failure makes it easier for users to interact with notmuch via elisp. >> >> This commit changes notmuch-search-show-thread too since the return >> value of notmuch-show-next-thread depends on notmuch-search-show-thread. >> --- >> >> Whitespace issues should have been fixed. > > All but one! I fixed the one in T450-emacs-show.sh; it's a bit tricky > there because emacs doesn't know what it is editing, but whitespace-mode > can help. > > d Oh, and for the record the patch is applied to master. d