From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UGahB38CWGRs6AAASxT56A (envelope-from ) for ; Sun, 07 May 2023 21:56:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kHSPB38CWGQPUwEA9RJhRA (envelope-from ) for ; Sun, 07 May 2023 21:56:47 +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 65E947EF8 for ; Sun, 7 May 2023 21:56:46 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id D45115E016; Sun, 7 May 2023 19:56:43 +0000 (UTC) Received: from phubs.tethera.net (phubs.tethera.net [192.99.9.157]) by mail.notmuchmail.org (Postfix) with ESMTPS id 8CEFE5DD5A for ; Sun, 7 May 2023 19:56:41 +0000 (UTC) Received: from tethera.net (unknown [75.104.166.118]) by phubs.tethera.net (Postfix) with ESMTPS id 051BE18005B; Sun, 7 May 2023 16:56:34 -0300 (ADT) Received: (nullmailer pid 237367 invoked by uid 1000); Sun, 07 May 2023 13:39:04 -0000 From: David Bremner To: mohkale@kisara.moe, notmuch@notmuchmail.org Subject: Re: [PATCH v2 2/3] emacs: Allow notmuch-saved-searches to hide excluded messages In-Reply-To: <20230416131811.658253-3-mohkale@kisara.moe> References: <87v8re66mg.fsf@tethera.net> <20230416131811.658253-1-mohkale@kisara.moe> <20230416131811.658253-3-mohkale@kisara.moe> Date: Sun, 07 May 2023 07:39:04 -0600 Message-ID: <87mt2gp8g7.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: PDRXKGLJSBBAEMVB4P7CQBT24P3EWJ7G X-Message-ID-Hash: PDRXKGLJSBBAEMVB4P7CQBT24P3EWJ7G 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: Mohsin Kaleem 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-Country: DE X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683489406; a=rsa-sha256; cv=none; b=W+xrDr5RwMcJmoER5IDarVSzx7YkezPNWVXNllvCXMEgHAeJZzMofEtKbqfFI+ZPg+QMTK PKaOoJRQZ4B5i/1PkIMRbfiMLed6bddLfHKHOJ+xM3rZr7Zt7ZpWkiHtEHazcRkE2zBs9I OJTODZK3ia5XUQ2GfKX3OB34N/iIu46XaUCtFTdlCyScKqAYptOdOBuOLoMSPCqlkUJFxX 5fO3aUzpUQYorKcsTO+1bIONraF1rvGkdVm3LP2JFpNQeesj9SlnrsmF/SGri0fpJ06Lt0 OadDe2lNnxgd2bNdWnoH6IBZOif+crEp3G+GzTwYnxtJsqzrjDamB5Vv1xyw8w== 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683489406; 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=rwaXnWVSjhdwx6z/OdFKvPveNOpabHnSgXa0DoLkRjw=; b=K/67VNJSrcrp8Pvf5j8jVnM0ShL379hlQ55P+Ns680LSTYN/H73tVlT6M8GjcAxP9+0g/6 vQUfRr0fCNgCAj0nW+rqseEIyzJA5IJWGzijKDo1u3XugKC1wCsV8cEPBQY61YD4kWNLgT SVEzKJFcoQJO3OOERaNlz6mo2Y+w4w2ApAspyJW3ees297Dtn3XQXsHi25/yRr6mV0fWDi rkQZTZxvsQDqrLMn61AX+wekrP/xU8eri8TXikirnFITqV7dceqwKP3KYWXym7AmSR/E7g z97RLvn+uyMzMh/gof8dNPhXh0cRuxUCgJsA7Q+WVVjwcPc/H1FnpxGccH/4jw== X-Migadu-Spam-Score: -1.71 X-Spam-Score: -1.71 X-Migadu-Queue-Id: 65E947EF8 X-Migadu-Scanner: scn0.migadu.com 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-TUID: HlW0vuFrRJW6 mohkale@kisara.moe writes: > + :excluded Whether to show mail with excluded tags in the > + search. Possible values are `hide', `show', > + or nil. Nil means use the default value of > + `notmuch-search-hide-excluded'. So if I understand correctly, toggling excludes will not affect saved searches with a :excluded key. Is this what we want? I guess the alternative is to AND notmuch-search-hide-excluded with the value derived from the saved-search?