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 qB7vHAGj52I5fAEAbAwnHQ (envelope-from ) for ; Mon, 01 Aug 2022 11:55:13 +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 kuDoGwGj52LHjQAAG6o9tA (envelope-from ) for ; Mon, 01 Aug 2022 11:55:13 +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 1BABE657B for ; Mon, 1 Aug 2022 11:55:13 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id C809F5F379; Mon, 1 Aug 2022 09:55:10 +0000 (UTC) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by mail.notmuchmail.org (Postfix) with ESMTPS id 7976B5E54B for ; Mon, 1 Aug 2022 09:55:08 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id b6so5499491wmq.5 for ; Mon, 01 Aug 2022 02:55:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=qkv65tvHVPbeuYEkdeAdhe1sJy66/lE9tp3xne4qSHM=; b=egkhE9EpU+l4U17Ig+BNX0tXQooJeviWjxzTojwFsSPydKjx+IUpsDLDxx+5Y6prtT OWP7oAM+/EAB5A5cCEfTO0lCP4KOztquMaVGJTHuCCth46NPfJ2A4UHkPqC/Mg6D+/Am lsrzlKzsdZc+v/ssXP/zPaczgmKHCyPTV2hrlwcspzIG2Pz3ALfJQ1np3LjFJheOWOba J8rFVgJlCUTKcnrJgeh+ZrMz8svelm6RYHBDf+Dt2h4AybzliBEdxIi/t50tAIA6Qa8E ZAjv6NzfskJjprNlr4YGhBkQi2p5di0vo8gK8jSLT6pF/AYhjNnSt1mtod0p/SQPVntU JrUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=qkv65tvHVPbeuYEkdeAdhe1sJy66/lE9tp3xne4qSHM=; b=ZGmITdAXpQlLf1wmZxgiRgsNVh6z7RlCCVFu4pWIZzVBaMoEAz4RmOD5NO9tOKrFzK jqHEDYZDSvFEJKAPC3CXprS6GPIYXMID6tORrrYd8s7xcXcL9UHyambyFKppaTYBUU/x uatCoPe6u0N8Z9/DbJuFl8fr2mILi5QeN3H2LtaKbKAgB7aUF816RWDz8hy5AKR0I4ST 3/2B0ANXPVUswWx0wpEKFaMMLvae2sfDNIcpacsmgmvhJWrkdMMN9E2JmzfJcF142N/L Bkh3APx3WyWjOjQp/xxGqhGL/Np8DNQsxggJYF51hTaet/Xp+l6zES+Vq1+ecomIPZ+f XSEw== X-Gm-Message-State: AJIora8sBnqku8HWoelflNxA0QPMs0LrZRj7iiv6bRIMRZY4Ca4HgWCq g+u6iEPs8rsaRXScSpLk2e3WrpFNkG0= X-Google-Smtp-Source: AGRyM1u6sLjxmPF2ms4bvBo7YHgwFXVWvL7Dmxlb+pQAckpKBTd1wOzlLgZtatqXwAcc+FruAtf3hQ== X-Received: by 2002:a7b:c456:0:b0:3a3:20b8:1a2c with SMTP id l22-20020a7bc456000000b003a320b81a2cmr10314087wmi.100.1659347707432; Mon, 01 Aug 2022 02:55:07 -0700 (PDT) Received: from localhost ([137.195.26.27]) by smtp.gmail.com with ESMTPSA id n40-20020a05600c3ba800b003a2ed2a40e4sm19686537wms.17.2022.08.01.02.55.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Aug 2022 02:55:06 -0700 (PDT) From: Al Haji-Ali To: notmuch@notmuchmail.org Subject: lastmod based on date/time Date: Mon, 01 Aug 2022 10:52:57 +0100 Message-ID: MIME-Version: 1.0 Message-ID-Hash: HUIOB2EVMSC6LWBLTEZHC3O6UCLUJXSI X-Message-ID-Hash: HUIOB2EVMSC6LWBLTEZHC3O6UCLUJXSI X-MailFrom: abdo.haji.ali@gmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 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=1659347713; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=uupQyVNCBJO0fKNzlHZOxcRgsk4Mzt8eGOWPIuG4KNQ=; b=h2uUSRs0S3nOdgkm06rKIYrceF/YVy5jwsWXMcLDSC+4GCWdEXln57PksF90r7WUwEmadY 3kZvV+fgGEJD+N/LlEpTAFESxDGWaBU8BpUc/48hiDRhgwQn7MTBBgHsaJ/QpONf6tvVUf 8BqVafZ5cI0SbO1HLCH/UBIWt4eODDq2zd/P02VRiidpiZKPJkYrr4ffDNjk3Of6N7QcF4 vcrYeL7mVNWk0I25nEeRP0hZ2DdGS2/VoAr5O9e9Zt2HqNnepG6MAnX1uSCJPLRXBBE8kv ov/Q++Z3IAQbD0EpaBDSMs5y4oiChXyjofsvelRXqsr5ICM2Kde++OmqUBqQpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659347713; a=rsa-sha256; cv=none; b=rEkwZl2XxbsXmFcal/WKbuL7V9CU2IjRVDIXFChKKDbsBARmRyhAweEbE9sUzcpGTY6Y9q V2Mm1z597U7AwAwUnyFHneHRX/u1CfTu7T6W/1+OdDp8N0dTknOo+RMsNRG/cYmrl2Qw5/ UfZJaTG9BT8PNE70kdoDiasMnlA0X4GcuojltFweGOuI0OloWWfqJeBPo+T6tg4i57sF3e yPlnxfM1UL/u71sHMZyDiWzj262ukvnnL0rzaUXUGo391wOslZebBErZCII7DH6h7DQiu5 dQKt435xgAeHNrc85zFP4OV/HnikgajakCDvopyvC2OyDNtqk2RWiL66+22i6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=egkhE9Ep; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 6.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=egkhE9Ep; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 1BABE657B X-Spam-Score: 6.81 X-Migadu-Scanner: scn1.migadu.com X-TUID: Cq2R0RZVtMUv Would it be possible to search for lastmod messages based on time rather than revision ID? Using revision ID is convenient for tools/scripts, but not for actual everyday use. I sometimes find myself needing to find a message that I accidentally archived/moved and it would be convenient if I can list all the messages that I modified (tag or otherwise) in the past day for example. I currently use the current value of revision ID minus a few hundreds as a proxy for time. If there's no way of doing this currently, is the time of modification saved in the database but is inaccessible through the current interface? Best regards, -- Al