From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 GCJpJd8bp2ItVgAAbAwnHQ (envelope-from ) for ; Mon, 13 Jun 2022 13:13:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +whTJN8bp2J2FwAAG6o9tA (envelope-from ) for ; Mon, 13 Jun 2022 13:13:35 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (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 65AAB3AB51 for ; Mon, 13 Jun 2022 13:13:35 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id F1AF45F6E8; Mon, 13 Jun 2022 11:13:32 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id B802B5F6B8 for ; Mon, 13 Jun 2022 11:13:29 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id CDDB25FBD7; Mon, 13 Jun 2022 07:13:28 -0400 (EDT) Received: (nullmailer pid 61949 invoked by uid 1000); Mon, 13 Jun 2022 11:13:27 -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: <20220609151822.31271-1-git@relevant-information.com> References: <20220609151822.31271-1-git@relevant-information.com> Date: Mon, 13 Jun 2022 08:13:27 -0300 Message-ID: <874k0ozui0.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: OTM66VNDLSBT22MBAINWB7U7MR6OVUFP X-Message-ID-Hash: OTM66VNDLSBT22MBAINWB7U7MR6OVUFP 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=1655118815; 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=yMvr9G9t+ZFBEwM8MDc6H3eTA5Xu1fq+MnOMV7iZhto=; b=Jl20foUbhCX/BWH3txUTcC1n9Wtxj0xzUgzOHCHhERnsvC8EsgKdo0TH1lPJjM+3O9u+PL WTmDLSlSWxtaGZ2Wytf1qiS0wvZlQtJTfFMmbUR2pcmaS9oZZBC5DwfiTFFttBDC/Q9nZ4 57jw0ZfF1zo5zgCRufi/D4rIId56w9VoPJtbz2OtGWZhiA3aFnHzQIKijHjCKql3loe5hh ABkoX+6mseyZY1g/kX9UQ6ds+KcF9ZLQJKQmcPMy7hTBIPByQTpgF0DWdlvOZnTuceyFZ7 D4u2mZ2l+3Hws/iGWT4yFHez52zat6QHaaDfE/5/473l07sBvyhfIoHlvPUEXA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655118815; a=rsa-sha256; cv=none; b=HGRTJAgPzw41XwiKXdbNZCY8Ln3SukfHwyWbc7z423K8tmsXQNbQ2gQbreNlcbqWB8NhCa BctC7gN78Odke76DW8sdq5IcC7uei3PEPoUIAQA4VD60FfzxfGDHWAulk9Bdv7J5IAdQw+ zbatEUoNbj+RVEGBnBTrvXnlGW4Al9u6ncfo8GQfjkepsj4qaBgWhWqyOhnGf3GJzigBd6 QMQjrXeiVVCro9VV6l1LOrzJu2zigbuLNxy5gpQsGSp9mkvq6OVltP8PjOnBmmozerorf+ KmHiHKW8tTtHFtoUnPDSlXW4h/+MHNQWeBjbMGfckAY/5iQci4xIIMQgI0z/HA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.56 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 65AAB3AB51 X-Spam-Score: -2.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: s56HOH0OeL/v 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